Provides utilities for runtime hotpatching of locked R package namespaces. The package enables dynamic injection of function patches into sealed package environments without rebuilding or redeploying the package. This is particularly useful for legacy containerized workflows where package versions are frozen in place. The core functionality includes inject_patch() to inject patches into package namespaces, undo_patch() to restore original functions, apply_hotfix_file() to apply patches from external R scripts, and test_patched_dir() to run test suites against patched packages. The package implements namespace surgery techniques that allow internal callers to automatically see patched functions.
| Version: | 0.1.0 |
| Imports: | testthat (≥ 3.0.0) |
| Suggests: | knitr, rmarkdown, pkgdown |
| Published: | 2026-04-24 |
| DOI: | 10.32614/CRAN.package.hotpatchR |
| Author: | David Munoz Tord [aut, cre] |
| Maintainer: | David Munoz Tord <david.munoztord at mailbox.org> |
| License: | MIT + file LICENSE |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| CRAN checks: | hotpatchR results |
| Reference manual: | hotpatchR.html , hotpatchR.pdf |
| Vignettes: |
hotpatchR Overview (source, R code) |
| Package source: | hotpatchR_0.1.0.tar.gz |
| Windows binaries: | r-devel: hotpatchR_0.1.0.zip, r-release: hotpatchR_0.1.0.zip, r-oldrel: hotpatchR_0.1.0.zip |
| macOS binaries: | r-release (arm64): hotpatchR_0.1.0.tgz, r-oldrel (arm64): hotpatchR_0.1.0.tgz, r-release (x86_64): hotpatchR_0.1.0.tgz, r-oldrel (x86_64): hotpatchR_0.1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=hotpatchR to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.