Skip to content

Commit

Permalink
Need Depends for bit64 (for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico committed Oct 21, 2024
1 parent dd41920 commit 730329a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .devcontainer/r-330/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ RUN apt-get -qq update && \

COPY DESCRIPTION .

RUN Rscript -e ' \
options(repos = "https://cloud.r-project.org"); \
dcf = read.dcf("DESCRIPTION", c("Imports", "Suggests")); \
deps = names(tools:::.split_dependencies(dcf)); \
standard_pkgs = tools:::.get_standard_package_names(); \
deps = intersect(deps, rownames(available.packages())); \
install.packages(setdiff(deps, standard_pkgs$base)); \
RUN Rscript -e ' \
options(repos = "https://cloud.r-project.org"); \
dcf = read.dcf("DESCRIPTION", c("Depends", "Imports", "Suggests")); \
deps = names(tools:::.split_dependencies(dcf)); \
standard_pkgs = tools:::.get_standard_package_names(); \
deps = intersect(deps, rownames(available.packages())); \
install.packages(setdiff(deps, standard_pkgs$base)); \
'

0 comments on commit 730329a

Please sign in to comment.