-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Peter Solymos <psolymos@gmail.com>
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ | |
^RELEASE\.R$ | ||
^\.gitpod\.yml$ | ||
^\.gitpod\.Dockerfile$ | ||
^\.testing\.Dockerfile$ |
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,12 @@ | ||
# | ||
ARG R_VER=${R_VER:-rocker/r-base} | ||
FROM ${R_VER} | ||
RUN apt update -y && apt upgrade -y && apt install -y pandoc | ||
RUN install.r yaml jsonlite | ||
COPY . ./rconfig | ||
RUN R CMD build rconfig | ||
# RUN R CMD check --as-cran rconfig_*.tar.gz | ||
|
||
# docker build --build-arg R_VER=rocker/r-base -t crancheck -f .testing.Dockerfile --progress=plain . | ||
# docker run -it --rm crancheck bash | ||
# R CMD check --as-cran --no-manual rconfig_*.tar.gz |