Skip to content

cpp11

0.5.5

A C++11 Interface for R's C Interface

120packages depend
18.2Mdownloads / year
83.9%test coverage
13/13checks pass

Overview

About
Maintained by Davis VaughanFirst published 2020-07-1025 releasesCRAN page ↗GitHub ↗

Provides a header only, C++11 interface to R's C interface. Compared to other approaches 'cpp11' strives to be safe against long jumps from the C API as well as C++ exceptions, conform to normal R function semantics and supports interaction with 'ALTREP' vectors.

Install

Health

CRAN checks
13OK
Slowest check: 4.6 min · r-release-macos-x86_64
Code health
Yes
Tests · ratio 1.72
83.9%
Coverage · measured lines
100%
Documentation · exports
0
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-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-07
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 3 earlier snapshots
  • NOTE2026-05-02
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-25
    11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

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

Downloads

18.2M
CRAN downloads in the past year
Rank #15 · ~49.9K/day · ~1.5M/mo
Daily download trend is not available in this view yet.
1.7M30 days
5.2M90 days
18.2M1 year
Compare downloads with other packages →
Also on325.9K r2u183 autocran1.4M conda_forge3.1K c2d4u

Repository

Repository
224Stars
52Forks
51Open issues
8Open PRs
25Releases
673Commits
36Contributors
rcpp11cpp
673 commits · Last activity 2026-05-07 · 0% stars, 30d

Stars over time

2025-05-06 · 2152026-07-07 · 224

Repository practices

Upstream repositoryBeta

11 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/r-lib/cpp11 on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
Makefile
CRAN release process (2)
cran-comments.mdrevdep/
Lint, format, editor (2)
AirRStudio project
Show all practices
Coverage (2)
Codecov.covrignore
Governance and community (2)
Issue templatesSupport guide
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0.0
Imports (0)
none
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

People & History

People (5)
Maintainer (1)
Author, Maintainer · added in 0.4.4
Authors (3)
Author, Maintainer · added in 0.4.4
Author · added in 0.2.0
Author
Contributors (1)
Contributor · added in 0.2.0
Copyright holders (1)
Copyright holder, Funder · added in 0.4.4
Funders (1)
Copyright holder, Funder · added in 0.4.4
Listed in earlier versions (1)
no longer listed · 0.1.0 to 0.4.3
Package Timeline

25 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.5.5Latest
    2026-05-06 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.5.4
    2026-04-04 · diff ↗
  • 0.5.3
    2026-01-20 · diff ↗
  • 0.5.2-2
    2026-01-06 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.5.2
    2025-03-04 · diff ↗
  • 0.5.1
    2024-12-04 · diff ↗
  • 0.5.0
    2024-08-27 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.4.7
    2023-12-02 · diff ↗
  • 0.4.6
    2023-08-10 · diff ↗
  • 0.4.5
    2023-07-20 · diff ↗
  • 0.4.4
    2023-06-30 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.4.3
    2022-10-12 · diff ↗
Show 16 earlier events
  • R
    R 4.2.0 released · 2022-04-22
  • 0.4.2
    2021-11-30 · diff ↗
  • 0.4.1
    2021-11-03 · diff ↗
  • 0.4.0
    2021-09-22 · diff ↗
  • 0.3.1
    2021-06-25 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2.7
    2021-03-29 · diff ↗
  • 0.2.6
    2021-01-29 · diff ↗
  • 0.2.5
    2021-01-12 · diff ↗
  • 0.2.4
    2020-11-05 · diff ↗
  • 0.2.3
    2020-10-14 · diff ↗
  • 0.2.2
    2020-10-01 · diff ↗
  • 0.2.1
    2020-08-11 · diff ↗
  • 0.2.0
    2020-08-10 · diff ↗
  • 0.1.0
    2020-07-10
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-07-10
Total releases
25 / 6 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.0.0
Download size
298 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("cpp11")
Vaughan, D., Posit Software, PBC, François, R., Hester, J., & Kietzman, B. (2026). cpp11: A C++11 Interface for R's C Interface (Version 0.5.5) [Computer software]. https://doi.org/10.32614/CRAN.package.cpp11

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 cpp11 version 0.5.5 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-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