Skip to content

cpp11

0.5.5Package record

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

115packages dependsuggested by 10
19.4Mdownloads / year
83.9%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.5.5
  • Fixed an issue where cpp11::stop() and cpp11::warning() calls with the same template instantiation could cause a crash on some systems (#491, #295).
  • cpp_source() now works with multiple files (#492).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.6 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK13 OK2026-05-07
Show 3 earlier changesHide 3 earlier changes
  • NOTE12 OK, 1 NOTE2026-05-02
  • ERROR11 OK, 1 ERROR2026-04-25
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.5.5
READMEYes · 478 wordsVignettesYes · 5 · evaluation depends on the environmentNEWSYes · 100% structured · mentions 0.5.5Citation fileNoWebsiteYes · pkgdown
Help pages
4 (1 internal)includes a package overview page
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

19.4M
CRAN downloads in the past year
Rank #13 · ~53.2K/day · ~1.6M/mo
Daily download trend is not available in this view yet.
1.7M30 days
5.1M90 days
19.4M1 year
Compare downloads with other packages →
Also on393K r2u219 autocran1.8M conda_forge24.9K c2d4u

Repository

r-lib/cpp11 ↗Organization: r-lib
225Stars
52Forks
51Open issues
8Open PRs
25Releases
673Commits
36Commit identities
rcpp11cpp
673 commits · Last activity 2026-05-07 · +0.4% stars, 30d · Default branch at 0.5.5.9000, ahead of CRAN 0.5.5 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
73%
Median days to close, 50 most recently updated closed issues
25
Median days to close, 50 most recently updated closed PRs
206

Stars over time

2025-10-06 · 2172026-09-24 · 225
PracticesBeta

17 development-tooling and community-health practices detected across 8 families in the upstream repository

Checks run against github.com/r-lib/cpp11 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

Governance and community (4)
Code of conductContributing guideIssue templatesSupport guide
Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-05-07 · The repository has a site deploy workflow

pkgdown site last built 2026-05-06

Coverage (2)
Coverage reporting (Codecov).covrignore
Show all practicesHide 4 practices
Reproducibility and dev environment (1)
Makefile
CRAN release process (2)
cran-comments.mdrevdep/
Lint, format, editor (2)
AirRStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-01-21
    Seen in the repository: .claude, .claude/skills
    Named in .Rbuildignore: .claude
  • GitHub Copilotfirst seen 2026-01-22
    Pull request: opened by its own account
How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)

Installing cpp11 adds no packages beyond those that come with R.

Depends (1)
R >= 4.0.0
Imports (0)
none
LinkingTo (0)
none
Enhances (0)
none

People & History

People (5)
Author, Maintainer since 0.4.4 (2023) · added in 0.4.4
Author · added in 0.2.0
Author
Contributor · added in 0.2.0
Copyright holder, Funder · added in 0.4.4

Previously maintained by Romain François (0.4.2 to 0.4.3) and Jim Hester (0.1.0 to 0.4.1).

Listed in earlier versions (1)
RStudio
no longer listed · 0.1.0 to 0.4.3
Releases (25)

Pick two releases to compare their code metrics.

Show 16 earlier eventsHide 16 earlier events

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

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

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.

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