Package: hotpatchR Type: Package Title: Runtime Namespace Patching Utilities for R Packages Version: 0.1.0 Authors@R: person("David", "Munoz Tord", email = "david.munoztord@mailbox.org", role = c("aut", "cre")) Author: David Munoz Tord [aut, cre] Maintainer: David Munoz Tord Description: 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. License: MIT + file LICENSE Encoding: UTF-8 Imports: testthat (>= 3.0.0) Suggests: knitr, rmarkdown, pkgdown VignetteBuilder: knitr RoxygenNote: 7.3.2 Config/pak/sysreqs: cmake make libuv1-dev Repository: https://munoztd0.r-universe.dev Date/Publication: 2026-06-09 15:23:37 UTC RemoteUrl: https://github.com/munoztd0/hotpatchr RemoteRef: HEAD RemoteSha: 2148ee0170039e862d04bb5cde28143a0575986b NeedsCompilation: no Packaged: 2026-10-07 11:26:25 UTC; root