Retrieve Code Decorations
Overview
Retrieves code comment decorations for C++ languages of the form '\\ [[xyz]]', which are used for automated wrapping of C++ functions.
- Davis Vaughan is now the maintainer.
cpp_files()now always returns file paths sorted according to the C locale. This prevents nuisance changes in files automatically generated by downstream tools, such ascpp11::cpp_register(), due to differences in the ambient locale (#13, @jennybc).parse_cpp_function()strips//comments (#8), supports spaces before the argument list (#4) and handles ref/deref (#6, @nbenn).
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
- 3
- Examples that run
- 100%3 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 314
- Median days to close, 50 most recently updated closed PRs
- 7
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
8 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/r-lib/decor on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2021-01-07 · The repository has a site deploy workflow
Show all practicesHide 1 practice
Dependencies
Code & Tests
People & History
Previously maintained by Romain François (1.0.1) and Jim Hester (1.0.0).
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
- 1.0.2Latest
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 1.0.12021-11-30 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.0.02020-06-30
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2020-06-30
- Total releases
- 3 / 6 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.3.0
- Download size
- 9.7 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("decor")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-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.