Debug R Packages
Overview
Specify debug messages as special string constants, and control debugging of packages via environment variables.
- debugme now does not instrumented code multiple times, this could happen if environments were referenced from multiple places (#15).
- debugme now correctly instruments functions with attributes, the attributes are kept now. Some packages, e.g.
assertthatcreate such functions. - debugme now supports debug levels. Relatedly,
debugme()has alevelargument now (#49, @krlmlr). - debugme now correctly instruments functions with
NULLbody and functions with no arguments. - Nested calls are printed better now, with indentation (#44, @krlmlr).
debugme()now re-reads theDEBUGMEenvironment variable (#45, @krlmlr).
Show all changes in 1.2.0Hide the rest of the changes in 1.2.0
- New
DEBUGME_SHOW_TIMESTAMPenvironment variable to hide timestamp output for reproducibility (#49, @krlmlr). - debugme now does not change the random seed (#50).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 4 (2 internal)includes a package overview page
- Examples that run
- no examples
- Exported functions with examples
- 0%
- Documented parameters
- 63%
- Return-value docs
- 50%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 92%
- Median days to close, 50 most recently updated closed issues
- 28
- 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/r-lib/debugme on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-10-21 · The repository has a site deploy workflow
pkgdown site last built 2024-04-27
Show all practicesHide 2 practices
Dependencies
Installing debugme adds 1 package (0 with compiled code, 39 KB of source tarballs). Heaviest: crayon 39 KB.
Show all 14 packagesHide all 14 packages
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
- 1.2.0Latest
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 1.1.02017-10-22 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 1.0.22017-03-01 · diff ↗
- 1.0.12016-11-01
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2016-11-01
- Total releases
- 4 / 10 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.6
- Download size
- 14 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("debugme")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.