Open gothub opened 6 years ago
@gothub fwiw, they aren't minimal images for sure, but the existing rocker/verse
images should be sufficient to pass CRAN checks, e.g. running from the R package dir in this repo (R/redland
)
on devel
:
docker run --rm -ti -v $(pwd):/data -w /data rocker/verse:devel R -e "devtools::check()"
on latest
:
docker run --rm -ti -v $(pwd):/data -w /data rocker/verse:latest R -e "devtools::check()"
@cboettig thx, that looks great.
oh, fwiw, there's also ropensci/rdflib
, https://hub.docker.com/r/ropensci/rdflib/~/dockerfile/ , which builds the redland C library from source instead of pulling in librdf0-dev
. This allows it to pick up the support for some of the backends that need to be linked at compile-time I think (postgres, virtuoso, etc).
I use this image to check those backends are working in rdflib by running on circle-ci: see https://github.com/ropensci/rdflib/blob/master/.circleci/config.yml
Update R/Dockerfile to build and verify the package. Add other scripts and Dockerfiles to build and test R and R-devel against CRAN checks.