cpp11
A C++11 Interface for R's C Interface
v0.5.5
·
May 6, 2026
·
MIT + file LICENSE
Description
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.
Downloads
1.6M
Last 30 days
12th
4.7M
Last 90 days
15.8M
Last year
Trend: +3.9% (30d vs prior 30d)
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 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 7, 2026
NOTE 12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 2, 2026
NOTE
r-release-macos-x86_64
package vignettes
Package has ‘vignettes’ subdirectory but apparently no vignettes. Perhaps the ‘VignetteBuilder’ information is missing from the DESCRIPTION file?
ERROR 11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 25, 2026
ERROR
r-release-macos-x86_64
examples
Running examples in ‘cpp11-Ex.R’ failed
The error most likely occurred in:
> ### Name: cpp_source
> ### Title: Compile C++ code
> ### Aliases: cpp_source cpp_function cpp_eval
>
> ### ** Examples
>
>
> cpp_source(
+ code = '#include "cpp11/inte
...[truncated]...
[/Volumes/Temp/tmp/RtmpFf4VnE/file1d8b47240347/src/cpp11.o] Error 1
Warning message:
In system2("xcrun", "--show-sdk-version", TRUE, TRUE) :
running command ''xcrun' --show-sdk-version 2>&1' had status 1
Error: Compilation failed.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Reverse Dependencies (107)
imports
linking_to
CMF
EGM
ProTrackR2
RMariaDB
RPostgres
RSQLite
RcppAlgos
RcppBigIntAlgos
SpatialKDE
adfExplorer
ambient
area
arrow
astronomyengine
bases
bignum
bigrquery
binpackr
blosc
boostmath
capybara
carbondate
censo2022arg
cheapr
clock
cpp11bigwig
cpp11qpdf
cppdoubles
densityClust
epiworldR
fastMatMR
fastplyr
fiber
frontmatter
geographiclib
ggforce
ggraph
gtfstools
haven
heumilkr
httpgd
igraph
incubate
interprocess
isoband
jinjar
literanger
lobstr
lzstring
marquee
measles
mfrmr
mice
minired
minty
mixtime
opensimplex2
particles
phutil
pkgstats
poputils
rar
readNSx
readODS
readr
readtextgrid
readxl
redatamx
rjsoncons
roxygen2
shide
shinytest2
spatialsample
stochtree
supercells
svglite
systemfonts
tardis
textshaping
tidyfast
tidygraph
tidyr
timechange
timeplyr
tipitaka
transformr
triptych
tweenr
twosamples
tzdb
unigd
valr
vapour
vdiffr
vroom
websocket
wstats
Dependency Network
Version History
new
0.5.3
Mar 10, 2026