DS4PS / cpp-528-spr-2021

https://ds4ps.org/cpp-528-spr-2021/
0 stars 0 forks source link

cpp-528-spr-2021

How to update course website

Welcome to CPP 528! To update the course website to reflect the current semester, please update two files:

How to obtain necessary R packages

Thanks 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.