-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into by-rev-key
- Loading branch information
Showing
22 changed files
with
614 additions
and
332 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM docker.io/rhub/r-minimal:devel | ||
|
||
RUN apk update \ | ||
&& apk add --no-cache \ | ||
gcc git musl-dev openmp pkgconf tzdata zlib-dev \ | ||
&& echo 'options("repos"="https://cloud.r-project.org")' >> /usr/local/lib/R/etc/Rprofile.site | ||
|
||
ENV TZDIR=/usr/share/zoneinfo | ||
|
||
COPY DESCRIPTION . | ||
|
||
RUN Rscript -e ' \ | ||
read.dcf("DESCRIPTION", c("Imports", "Suggests")) |> \ | ||
tools:::.split_dependencies() |> \ | ||
names() |> \ | ||
setdiff(tools:::.get_standard_package_names()$base) |> \ | ||
install.packages(repos="https://cloud.r-project.org") \ | ||
' | ||
|
||
# setup cc() | ||
WORKDIR /root | ||
COPY .devcontainer/.Rprofile . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"build": { "dockerfile": "Dockerfile", "context": "../.." }, | ||
"customizations": { "vscode": { | ||
"extensions": [ | ||
"REditorSupport.r", | ||
"ms-vscode.cpptools-extension-pack" | ||
] | ||
}} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.