containr
The goal of containr is to help automate the process of containerizing R projects. Its core function, generate_dockerfile(), analyzes an R project’s environment and dependencies—via renv::renv.lock—and generates a ready-to-use Dockerfile that encapsulates the computational setup. The package is designed to assist researchers in building portable and consistent workflows, ensuring that analyses can be reliably shared, archived, and rerun across systems.
Installation
You can install the development version of ‘containr’ from ‘GitHub’ with:
# install.packages("pak")
pak::pak("erwinlares/containr")
#> ✔ Updated metadata database: 7.57 MB in 9 files.
#> ℹ Updating metadata database✔ Updating metadata database ... done
#>
#> → Will update 1 package.
#> → Will download 1 package with unknown size.
#> + containr 0.0.0.9000 → 0.1.0