Then v2v::deploy_portfolio(project) runs the checks and publishes the site: Steps 12 and 13 of the Chapter 14 starter file
project is your White Paper folder’s name, set in Step 2 of that file
When it finishes, your paper is live at your repository’s GitHub Pages address
The Pre-Flight Checks
v2v::deploy_portfolio(project)
── Pre-flight checks ──
ℹ No renv.lock found - skipping renv check
✔ no uncommitted changes
✔ _quarto.yml valid
──────────────────────
✔ Rendering 9 pages
Publish to GitHub Pages? [y/N] y
✔ Publishing to GitHub Pages
ℹ Published to https://your-username.github.io/your-repository/
✔ Portfolio live on GitHub Pages.
Three checks run first. Only if none fails does the book render
It publishes only after you click in the R terminal, type y, and press Enter
The renv check is skipped here because the course scaffold has no renv.lock
What renv Is
renv: an R package that records the exact version of every package your project uses in a file called renv.lock, so those same versions can be installed again later. Example: the first pre-flight check compares your installed packages against renv.lock.
Why the Checks Exist
renv in sync: the site is built with the package versions your source declares, checked only when the project has a renv.lock
No uncommitted changes: every saved change is also committed (a snapshot Git records and sends to GitHub), so the live site matches your files
_quarto.yml found: R is pointed at your White Paper folder, not the workspace around it
Each check heads off one specific, demoralizing failure
The last step of a long study should be the calm one.
Before Next Time
Thursday is a studio: peer review, and the reflection
Bring a rendered draft, not notes toward one
It does not have to be finished. It has to render
Bring your public URL, or the error message that is stopping you