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

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.

Version: 0.5.0
Depends: R (≥ 3.6.0)
Suggests: bench, brio, callr, cli, covr, decor, desc, ggplot2, glue, knitr, lobstr, mockery, progress, rmarkdown, scales, Rcpp, testthat (≥ 3.2.0), tibble, utils, vctrs, withr
Published: 2024-08-27
DOI: 10.32614/CRAN.package.cpp11
Author: Davis Vaughan ORCID iD [aut, cre], Jim Hester ORCID iD [aut], Romain François ORCID iD [aut], Benjamin Kietzman [ctb], Posit Software, PBC [cph, fnd]
Maintainer: Davis Vaughan <davis at posit.co>
BugReports: https://github.com/r-lib/cpp11/issues
License: MIT + file LICENSE
URL: https://cpp11.r-lib.org, https://github.com/r-lib/cpp11
NeedsCompilation: no
Materials: README NEWS
CRAN checks: cpp11 results

Documentation:

Reference manual: cpp11.pdf
Vignettes: FAQ (source, R code)
Converting from Rcpp (source, R code)
Get started with cpp11 (source, R code)
cpp11 internals (source, R code)
Motivations for cpp11 (source, R code)

Downloads:

Package source: cpp11_0.5.0.tar.gz
Windows binaries: r-devel: cpp11_0.5.0.zip, r-release: cpp11_0.5.0.zip, r-oldrel: cpp11_0.5.0.zip
macOS binaries: r-release (arm64): cpp11_0.5.0.tgz, r-oldrel (arm64): cpp11_0.5.0.tgz, r-release (x86_64): cpp11_0.5.0.tgz, r-oldrel (x86_64): cpp11_0.5.0.tgz
Old sources: cpp11 archive

Reverse dependencies:

Reverse imports: NanoMethViz, tidyfast, tipitaka
Reverse linking to: ambient, area, arrow, bignum, bigrquery, binpackr, BiocParallel, carbondate, cheapr, clock, CMF, cppdoubles, CytoML, deformula, densityClust, epiworldR, fastplyr, flowCore, flowWorkspace, ggraph, haven, heumilkr, hilbert, httpgd, igraph, jinjar, literanger, lobstr, lotri, lzstring, marquee, meltr, mice, minired, minty, MOSim, ncdfFlow, openCyto, particles, poputils, ProTrackR2, rar, RcppAlgos, RcppBigIntAlgos, readNSx, readODS, readr, readxl, redatamx, rjsoncons, RMariaDB, roxygen2, RPostgres, RSQLite, shide, shinytest2, sift, SpatialKDE, spatialsample, supercells, svglite, systemfonts, tardis, textrecipes, textshaping, tidyfast, tidygraph, tidyr, timechange, timeplyr, tipitaka, transformr, triangulr, triptych, tweenr, twosamples, tzdb, unigd, vdiffr, vroom, websocket
Reverse suggests: asciicast, cpp11armadillo, cpp11eigen, pkgbuild, Rcereal, renv

Linking:

Please use the canonical form https://CRAN.R-project.org/package=cpp11 to link to this page.