The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
containr helps researchers containerize their R
projects. Its core function, generate_dockerfile(),
analyzes a project’s environment and dependencies via
renv.lock and generates a ready-to-use
Dockerfile — so analyses can be reliably shared, archived,
and rerun across systems.
You can install containr from CRAN:
install.packages("containr")Or install the development version from GitHub:
# install.packages("pak")
pak::pak("erwinlares/containr")Below are common ways to use generate_dockerfile():
library(containr)
# Generate a Dockerfile with the latest R version and renv.lock dependencies
generate_dockerfile()
# Specify a particular R version
generate_dockerfile(r_version = "4.3.0")
# Use an RStudio Server image
generate_dockerfile(r_mode = "rstudio")
# Print progress messages during generation
generate_dockerfile(verbose = TRUE)
# Add explanatory comments to the generated Dockerfile
generate_dockerfile(comments = TRUE)To cite containr in publications:
citation("containr")Apache License (>= 2) © Erwin Lares
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.