Skip to content

Commit

Permalink
Can't use |>
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored Aug 19, 2024
1 parent 5fbdb04 commit 076a5e3
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .devcontainer/r-ancient-gcc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ RUN apt-get -qq update \

COPY DESCRIPTION .

RUN Rscript -e ' \
read.dcf("DESCRIPTION", c("Imports", "Suggests")) |> \
tools:::.split_dependencies() |> \
names() |> \
setdiff(tools:::.get_standard_package_names()$base) |> \
install.packages() \
RUN Rscript -e ' \
dcf = read.dcf("DESCRIPTION", c("Imports", "Suggests")) \
deps = names(tools:::.split_dependencies(dcf)) \
standard_pkgs = tools:::.get_standard_package_names() \
install.packages(setdiff(deps, standard_pkgs$base)) \
'

# setup cc()
Expand Down

0 comments on commit 076a5e3

Please sign in to comment.