Package: containr 0.1.3.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.1.3.9000.tar.gz
containr_0.1.3.9000.zip(r-4.7)containr_0.1.3.9000.zip(r-4.6)containr_0.1.3.9000.zip(r-4.5)
containr_0.1.3.9000.tgz(r-4.6-any)containr_0.1.3.9000.tgz(r-4.5-any)
containr_0.1.3.9000.tar.gz(r-4.7-any)containr_0.1.3.9000.tar.gz(r-4.6-any)
containr_0.1.3.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.78 score 4 stars 9 scripts 440 downloads 4 exports 35 dependencies

Last updated from:bbc36e80d1. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK151
source / vignettesOK159
linux-release-x86_64OK122
macos-release-arm64OK102
macos-oldrel-arm64OK95
windows-develOK108
windows-releaseOK95
windows-oldrelOK82
wasm-releaseOK118

Exports:build_imagegenerate_dockerfilelist_imagespush_image

Dependencies:askpassbitbit64clicliprcpp11crayoncurlfsgluehmshttr2jsonlitelifecyclemagrittropensslpillarpkgconfigprettyunitsprogresspurrrR6rappdirsreadrremotesrenvrlangsystibbletidyselecttzdbutf8vctrsvroomwithr

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-05-15
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-05-12
Started: 2026-05-12