You should use renv.
workshop
why
how
you should use renv.
projects should be reproducible.
renv: custom R package repositories
> options("repos") $repos CRAN "https://packagemanager.posit.co/cran/latest"
posit public package manager (p3m)
options(repos = c(CRAN = "https://p3m.dev/cran/latest")) options("repos")
options(repos = c(ppm = "https://packagemanager.example.com/cran/__linux__/jammy/latest"))
usethis::use_zip("edavidaja/renv-workshop")
or
git clone https://gitlab.com/edavidaja/renv-workshop
an old shiny app
rig