Closed Pablo-source closed 2 months ago
library(renv)
renv::init()
Then {renv} writes a lock file, this includes all packages required for this specific project. It has created three files:
Inside the /renv folder, there is a script called “activate.R”. This script ensures you have loaded the right packages and the right versions.
The {renv} package creates a library directory, and with it comes an extra git ignore file to ensure I don’t commit all these packages to git and GitHub
I have also included working on this issue a bit of re-redesign in the existing Shiny Dashboard KPIs. Doing a pull request to include these changes on top of the {renv} creation:
This will ensure we load the right packages and the right version all the time whilst working on this project. Isolating the packages version for this project.