Practical 'R' Packaging in 'Docker'
Overview
Streamline the creation of 'Docker' images with 'R' packages and dependencies embedded. The 'pracpac' package provides a 'usethis'-like interface to creating Dockerfiles with dependencies managed by 'renv'. The 'pracpac' functionality is described in Nagraj and Turner (2023) doi:10.48550/arXiv.2303.07876.
New Features
Shiny use case documentation
As of this release, pracpac now includes documentation for the "shiny" use case. The package now features a vignette dedicated to the templating a Docker image to host a Shiny web app. To motivate the example usage, there is now also another example package in the pracpac source at inst/ocf.
Bug Fixes
renv_deps() and strictly versioned package depedencies
Previously the renv_deps() function was not able to parse dependencies in the DESCRIPTION file that stated strict versions of packages. The function can now handle this case, such that all dependencies in DESCRIPTION (whether they include a strict version number or not) will be passed into the renv snapshot procedure.
From NEWS.md in the release
Install
Health
- OK13 OK2026-10-17
- NOTE12 OK, 1 NOTE2026-10-01
- OK13 OK2026-08-21
- NOTE12 OK, 1 NOTE2026-08-17
- OK13 OK2026-08-05
Show 2 earlier changesHide 2 earlier changes
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 12 (2 internal)includes a package overview page
- Examples that run
- 0%8 never run
- Exported functions with examples
- 89%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
- basic-usage HTML
- use-cases HTML
Downloads
Repository
- PRs merged (all time)
- 92%
- Median days to close, 50 most recently updated closed issues
- 1
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
10 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/signaturescience/pracpac on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2023-06-29 · The repository has a site deploy workflow
pkgdown site last built 2023-06-29
Show all practicesHide 2 practices
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- unarchivedReturned to CRAN2023-06-19
- 0.2.0Latest
- archivedRemoved from CRAN2023-06-16issues were not corrected in time
- RR 4.3.0 released · 2023-04-21
- 0.1.02023-03-21
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2023-03-21
- Total releases
- 2 / 3 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 2.10
- Download size
- 303 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("pracpac")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
The repository also keeps a CITATION.cff.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.