We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcee169 commit 1c76a81Copy full SHA for 1c76a81
.Rbuildignore
@@ -15,3 +15,4 @@
15
^RELEASE\.R$
16
^\.gitpod\.yml$
17
^\.gitpod\.Dockerfile$
18
+^\.testing\.Dockerfile$
.testing.Dockerfile
@@ -0,0 +1,12 @@
1
+#
2
+ARG R_VER=${R_VER:-rocker/r-base}
3
+FROM ${R_VER}
4
+RUN apt update -y && apt upgrade -y && apt install -y pandoc
5
+RUN install.r yaml jsonlite
6
+COPY . ./rconfig
7
+RUN R CMD build rconfig
8
+# RUN R CMD check --as-cran rconfig_*.tar.gz
9
+
10
+# docker build --build-arg R_VER=rocker/r-base -t crancheck -f .testing.Dockerfile --progress=plain .
11
+# docker run -it --rm crancheck bash
12
+# R CMD check --as-cran --no-manual rconfig_*.tar.gz
0 commit comments