Skip to content

hotpatchR

0.1.0

Runtime Namespace Patching Utilities for R Packages

0packages depend
1.2Kdownloads / year
67.0%test coverage
13/13checks pass

Overview

About
Maintained by David Munoz TordFirst published 2026-04-251 releasesCRAN page ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 1.0 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.16
67.0%
Coverage · measured lines
100%
Documentation · exports
1
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    5 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 436 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
83%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

1.2K
CRAN downloads in the past year
Rank #10,440 · ~3/day · ~98/mo
Daily download trend is not available in this view yet.
11930 days
95690 days
1.2K1 year
Compare downloads with other packages →
Also on25 r2u

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (1)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

1 release. R releases are shown for context.

  • 0.1.0Latest
    2026-04-25 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-04-25
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Start here. This is the citation for the package itself.

citation("hotpatchR")

CRAN DOI

https://doi.org/10.32614/CRAN.package.hotpatchR

BibTeX, derived from DESCRIPTION

@Manual{hotpatchR,
  title  = {hotpatchR: Runtime Namespace Patching Utilities for R Packages},
  author = {Munoz Tord, David},
  year   = {2026},
  note   = {R package version 0.1.0},
  doi    = {10.32614/CRAN.package.hotpatchR},
  url    = {https://CRAN.R-project.org/package=hotpatchR}
}

Derived from the package DESCRIPTION, not from a citation file the authors wrote. If they publish one later, prefer it.

This is the citation for the package. It is not a citation for the R Observatory.

Cite this page

Use this when the claim is about a measurement on this page.

BibTeX

@misc{robservatoryhotpatchR,
  author    = {Balamuta, James Joseph},
  title     = {{R} {Observatory}: Metrics for {hotpatchR} version 0.1.0},
  year      = {2026},
  publisher = {HJJB, LLC},
  url       = {https://r-observatory.thecoatlessprofessor.com/packages/hotpatchR},
  note      = {Data set. Data release v2026-08-05}
}

APA

Balamuta, J. J. (2026). R Observatory: Metrics for hotpatchR version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-08-05. https://r-observatory.thecoatlessprofessor.com/packages/hotpatchR

RIS

TY  - DATA
AU  - Balamuta, James Joseph
TI  - R Observatory: Metrics for hotpatchR version 0.1.0
PY  - 2026
PB  - HJJB, LLC
N1  - Data release v2026-08-05
UR  - https://r-observatory.thecoatlessprofessor.com/packages/hotpatchR
ER  - 

In prose

These package metrics were obtained from the R Observatory (Balamuta, 2026), data release v2026-08-05, https://r-observatory.thecoatlessprofessor.com/packages/hotpatchR.

Bound to data release v2026-08-05, which is what makes the numbers on this page reproducible. See how to cite.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy