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

package install in Dockerfile fails because it cannot find package "R" #96

Closed
cjyetman opened this issue Feb 9, 2024 · 1 comment · Fixed by #97
Closed

package install in Dockerfile fails because it cannot find package "R" #96

cjyetman opened this issue Feb 9, 2024 · 1 comment · Fixed by #97
Labels

Comments

@cjyetman
Copy link
Member

cjyetman commented Feb 9, 2024

cran_pkg_deps <- setdiff(renv::dependencies()$Package, basename(non_cran_pkg_deps)); \

This seems to be the same problem discovered here and elsewhere. {renv} current dev version has been fixed to not include "R" as a R package dependency, but I suspect a better solution would be to follow the same solution as in RMI-PACTA/workflow.transition.monitor#231, which was to drop using {renv} at all and instead use pak::local_deps() or pak::local_install_deps().

@jdhoffa
Copy link
Member

jdhoffa commented Feb 9, 2024

Agree that having a DESCRIPTION file is a more elegant solution.

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

Successfully merging a pull request may close this issue.

2 participants