containerit
containerit copied to clipboard
Package an R workspace and all dependencies as a Docker container
## Prerequisites - [x] `stevedore` is on CRAN - ~~[ ] `sysreqs` is on CRAN~~ ISSUE: https://github.com/r-hub/sysreqs/issues/5 - [ ] update implementation so that it conditionally relies sysreqs ## Steps...
It seems as though you're using `sysreqs` to get the system requirements for a container and it seems you always get the list of packages, either from the session info,...
Simply added example and copy export, to fix #171
The user should be able to select which methods are applied to find the dependencies which are put in the Dockerfile. These might be combined or follow each other, and...
Added a Fix #191 so that it defaults to a `sessionInfo()` for R version when running if no `Depends`.
Related to #114. If you don't have `Depends`, then `dockerfile` breaks: ``` r library(desc) library(containerit) desc = description$new("!new") desc$set("Package", "foobar") desc$set(Title = "Example Package for 'description'") desc$set(Description = "Example Package...
See https://www.robertmylesmcdonnell.com/content/posts/docker/ for a complete example and potentially good approach to enable a locked environment in a container with `renv`. Also: https://rstudio.github.io/renv/articles/docker.html
Generate **singularity definition file** for versions > 3.x, see https://www.sylabs.io/guides/3.0/user-guide/quick_start.html#singularity-definition-files and https://www.sylabs.io/guides/3.0/user-guide/definition_files.html See also https://github.com/nuest/singularity-rstats (which could be based on `containerit`...) Paper: http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0177459 - [ ] start with a function...
We need to move away from Travis CI, so we can also introduce an abstraction layer with `r-ci`. https://github.com/eddelbuettel/r-ci Let's see how this plays along with the system dependencies -...
See https://github.com/cole-brokamp/dep/issues/1#issuecomment-748104251