Welcome to CPP 528! To update the course website to reflect the current semester, please update two files:
index.md
: to reflect who is teaching CPP 528 and other essential logistics
info
sectioninstructor
section_config.yml
: to ensure the course website points to the correct GitHub repo
author
sectionGitHub Configuration
section
baseurl
and course_url
...-fall-2020
to ...-spr-2021
github_info
section:
website-repo
and course-repo
...-fall-2020
to ...-spr-2021
R
packagesThanks to the renv
package, you can install the necessary R
packages by running this line of code:
# restore a project's dependencies from the renv.lock file (located in the root directory)
renv::restore(here::here())
For more context, here's what happens under the hood when renv::restore()
is called:
When
renv::restore()
is called, packages from the lockfile are compared against packages currently installed in the library paths specified by library. Any packages which have changed will then be installed into the default library. If clean = TRUE, then packages that exist within the default library, but aren't recorded in the lockfile, will be removed as well.