Open JosiahParry opened 1 year ago
Note that it is now referred to as Posit Public Package Manager (P3M) and is available at https://p3m.dev/client/#/repos/cran/setup?distribution=ubuntu-22.04. Using CRAN source packages results in exceptionally long build times. Providing a users with an efficient default would be a QOL improvement.
dock_from_renv() writes a Dockerfile with cran.rstudio.com as the CRAN repository which does not serve linux binaries. For a better experience, RStudio Package Manager should be added as the default package repo to avoid building packages from source.
https://github.com/ThinkR-open/dockerfiler/blob/e40f804e9728afb9bb5a8c52d965c9ac4a8fd58a/R/dock_from_renv.R#L53