Skip to content

decor

1.0.2Package record

Retrieve Code Decorations

0packages dependsuggested by 10
240.5Kdownloads / year
100.0%test coverage
13/13flavors OK

Overview

About

Retrieves code comment decorations for C++ languages of the form '\\ [[xyz]]', which are used for automated wrapping of C++ functions.

Changes in 1.0.2
  • 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 as cpp11::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

CRAN checks
13OK
Slowest check: 2.5 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.2
READMEYes · 45 wordsVignettesNoNEWSYes · 100% structured · mentions 1.0.2Citation fileNo
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

240.5K
CRAN downloads in the past year
Rank #982 · ~659/day · ~20K/mo
Daily download trend is not available in this view yet.
11.2K30 days
41.2K90 days
240.5K1 year
Compare downloads with other packages →
Also on2K r2u5 autocran

Repository

r-lib/decor ↗Organization: r-lib
3Stars
8Forks
1Open issues
0Open PRs
3Releases
86Commits
7Commit identities
86 commits · Last activity 2023-07-05 · 0% stars, 30d · Default branch at 1.0.2.9000, ahead of CRAN 1.0.2 (checked 2026-10-11)
Responsiveness
How these are sampled
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

2023-05-10 · 32026-07-07 · 3
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
pkgdown

GitHub Pages site last deployed 2021-01-07 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing decor adds 10 packages (7 with compiled code, 4.0 MB of source tarballs). Heaviest: vctrs 1.0 MB, rlang 766 KB, cli 629 KB.

Depends (1)
R >= 3.3.0
Imports (3)
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 10
Suggests, most downloaded first

People & History

People (4)
Author, Maintainer since 1.0.2 (2023) · added in 1.0.2
Author
Copyright holder, Funder · added in 1.0.2

Previously maintained by Romain François (1.0.1) and Jim Hester (1.0.0).

Listed in earlier versions (1)
RStudio
no longer listed · 1.0.0 to 1.0.1
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.2Latest
    record
    2023-07-01 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.1
    record
    2021-11-30 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.0.0
    record
    2020-06-30
  • R
    R 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")
Vaughan, D., Posit Software, PBC, François, R., & Hester, J. (2023). decor: Retrieve Code Decorations (Version 1.0.2) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for decor version 1.0.2 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

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.

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