Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utilize RStudio Package Manager for Docker Images #57

Open
JosiahParry opened this issue Jul 9, 2023 · 1 comment
Open

Utilize RStudio Package Manager for Docker Images #57

JosiahParry opened this issue Jul 9, 2023 · 1 comment

Comments

@JosiahParry
Copy link
Contributor

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.

repos = c(CRAN = "https://cran.rstudio.com/"),

@JosiahParry
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant