ThinkR-open / dockerfiler

Easy Dockerfile Creation from R
https://thinkr-open.github.io/dockerfiler/
Other
176 stars 26 forks source link

Dockerize: version 'NA' is invalid for package #19

Closed ColinFay closed 10 months ago

ColinFay commented 2 years ago

Upon using golem::add_dockerfile() and running a docker build, I came up with RUN Rscript -e 'remotes::install_version("sf",upgrade="never", version = "NA")' in the dockerfile. However, by having a look at the remotes::install_version doc, it seems "NA" is not a valid option for the "version" argument (either a version string, or NULL), and this is not specific to {sf} package.

For now, I simply removed the version and will fix it by hand later (not an emergency).

Migrated from https://github.com/ThinkR-open/golem/issues/616

ColinFay commented 2 years ago

Original issue from @earnaud