-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
23 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 |
---|---|---|
|
@@ -14,3 +14,4 @@ man-roxygen | |
cran-comments.md | ||
^src/jq/.*\.o$ | ||
^src/libjq.a$ | ||
^docker$ |
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 rocker/r-devel-san | ||
|
||
ENV UBSAN_OPTIONS print_stacktrace=1 | ||
ENV ASAN_OPTIONS malloc_context_size=10:fast_unwind_on_malloc=false | ||
|
||
RUN apt-get -qq update \ | ||
&& apt-get -qq dist-upgrade -y \ | ||
&& apt-get -qq install git pandoc pandoc-citeproc libssl-dev libcurl4-openssl-dev -y \ | ||
&& RDscript -e 'install.packages("jqr", dependencies = TRUE, quiet = TRUE)' | ||
|
||
|
||
RUN git clone https://github.com/ropensci/jqr \ | ||
&& RD CMD build jqr --no-build-vignettes \ | ||
&& RD CMD INSTALL jqr_*.tar.gz --install-tests | ||
|
||
RUN RDscript -e 'sessionInfo()' | ||
|
||
RUN RDscript -e 'library(jqr); testthat::test_dir("jqr/tests/testthat")' || true | ||
|
||
RUN RDscript -e 'library(jqr); testthat::test_examples("jqr/man")'|| true | ||
|
||
RUN RD CMD check jqr*.tar.gz |