I have a project that uses renv inside GitHub Actions as described here. For the bookdown Actions example, which uses renv, I see:
You will need to run renv::snapshot() locally and commit the renv.lock file before using this workflow...
Why is renv.lock sufficient? Why am I allowed to omit .Rprofile and renv/activate.R? As expected, when I delete .Rprofile locally, the renv library does not load. So then why do GitHub Actions workflows like this one complete without error?