Skip to content

decor

Retrieve Code Decorations

v1.0.2 · Jul 1, 2023 · MIT + file LICENSE

Description

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

Downloads

CRAN

24.6K

Last 30 days

728th

70.2K

Last 90 days

259.7K

Last year

Trend: +0.5% (30d vs prior 30d)

r2u CRAN

131

Last 30 days

579

Last 90 days

1.9K

Last year

Trend: -42.3% (30d vs prior 30d)

autoCRAN

0

Last 7 days

5

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

1,287

Files

18

Compiled share

25.1%

Has compiled src

Yes

Language breakdown

R 204 (15.9%)C/C++/src 323 (25.1%)Tests 658 (51.1%)Docs 102 (7.9%)

API

Exported functions

3

Internal functions

5

Recent export changes

v1.0.0+3 cpp_decorations, cpp_files, parse_cpp_function

Testing & CI

Has tests

Yes

Test-to-code ratio

3.23

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

33.3%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.3.0

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

3

First release

2020-06-30

Latest release

2023-07-01

Avg cadence

548 days

Cold removal rate

Dep drift

0

LOC over versions

v1.0.0: 976 LOCv1.0.1: 1,105 LOCv1.0.2: 1,287 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (10)

Dependency Network

Dependencies Reverse dependencies tibble vctrs RMariaDB RSQLite Rcereal arrow asciicast cpp11 cppally igraph myTAI vdiffr decor

Version History

4 tracked
new 1.0.2 Mar 10, 2026
updated 1.0.2 ← 1.0.1 diff Jun 30, 2023
updated 1.0.1 ← 1.0.0 diff Nov 29, 2021
new 1.0.0 Jun 29, 2020