Package: containr 0.2.0.9000

Erwin Lares

containr: Containerize Your 'R' Project

Provides tools for containerizing 'R' projects. Reads an 'renv' lock file, generates a ready-to-use 'Dockerfile', builds the container image, and pushes it to a registry. Generated 'COPY' instructions preserve the local directory structure inside the container. Cross-platform builds are supported via 'Docker' buildx for targeting 'linux/amd64' from ARM hosts. Designed to help researchers build portable, reproducible workflows that can be reliably shared, archived, and rerun across systems. See R Core Team (2025) <https://www.R-project.org/>, Ushey et al. (2025) <https://CRAN.R-project.org/package=renv>, and Docker Inc. (2025) <https://www.docker.com/>.

Authors:Erwin Lares [aut, cre]

containr_0.2.0.9000.tar.gz
containr_0.2.0.9000.zip(r-4.7-any)containr_0.2.0.9000.zip(r-4.6-any)containr_0.2.0.9000.zip(r-4.5-any)
containr_0.2.0.9000.tgz(r-4.6-any)containr_0.2.0.9000.tgz(r-4.5-any)
containr_0.2.0.9000.tar.gz(r-4.7-any)containr_0.2.0.9000.tar.gz(r-4.6-any)
containr_0.2.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
containr/json (API)

# Install 'containr' in R:
install.packages('containr', repos = c('https://erwinlares.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/erwinlares/containr/issues

Pkgdown/docs site:https://erwinlares.github.io

On CRAN:

Conda:

5.68 score 4 stars 10 scripts 410 downloads 4 exports 35 dependencies

Last updated from:63a2b06295. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK159
source / vignettesOK178
linux-releaseOK166
macos-releaseOK123
macos-oldrelOK104
windows-develOK111
windows-releaseOK131
windows-oldrelOK79
wasm-releaseOK92

Exports:build_imagegenerate_dockerfilelist_imagespush_image

Dependencies:askpassbitbit64clicliprcpp11crayoncurlfsgluehmshttr2jsonlitelifecyclemagrittropensslpillarpkgconfigprettyunitsprogresspurrrR6readrremotesrenvrlangsystibbletidyselecttzdbutf8vctrsvroomwithryaml

A first containerization workflow with containr
Before you start | Step 1: Generate a Dockerfile | Step 2: Build the image | Step 3: Inspect local images | Step 4: Push the image to the registry | Putting it together | Troubleshooting

Last update: 2026-09-30
Started: 2026-05-12

From renv to containers: why recording your R packages may not be enough
You already care about reproducibility | What renv does -- and does not do | What a container adds | The Dockerfile as a reproducibility artifact | Where containr fits | What comes next

Last update: 2026-09-30
Started: 2026-05-12