cpp11
Header-only C++11 interface to R for safe and fast native extensions
cpp11 has spent two years rebuilding itself on R's supported API surface
◆Recent moves
- 3mo ago
cpp_source() accepts multiple files; template crash fixed
A rare feature entry in a maintenance-dominated stretch — multi-file cpp_source() plus a fix for crashes when stop() and warning() shared a template instantiation.
View source ↗ - 4mo ago
R_NamespaceRegistry usage removed
Another increment of the non-API cleanup plus an fmt wrapping fix. Invisible to package authors using cpp11 normally.
View source ↗ - 6mo ago
ATTRIB() removed; C++ compatibility headers tidied
Continues clearing non-API calls and switches to C++-native compatibility headers. Compliance work with no behavioral change.
View source ↗ - 1y ago
- 1y ago
R 4.0 required; unwind-protect and ALTREP defines retired
Raising the floor to R 4.0 lets whole compatibility branches be deleted, and package authors are explicitly asked to stop using the retired defines. Sets up the dead-code removal signposted for later releases.
View source ↗ - 1y ago
Growable-vector internals dropped for R's supported API
⚡ SPARKThe architectural pivot the rest of this window follows from: cpp11 abandons the non-API functions behind its efficient growable vectors and the stricter variable lookup that replaces Rf_findVarInFrame3, accepting a documented extra allocation on conversion back to SEXP.
View source ↗