cpp4r 0.6.0
CRAN release: 2026-05-17
-
register()now captures the C++ namespace of decorated functions and emits fully-qualified declarations and calls, so functions defined inside anamespace { ... }block (or written asns::fun) can be registered without further setup. - Removed the run-time dependency on the
decor,tibble, andvctrspackages; the small subset of helpers thatregister()relies on is now bundled internally and uses basedata.frame. - Adds fast paths that provide slight speed improvements (e.g., avoiding branching)
- Follows, to the best possible extent, the R’s C API description from https://github.com/hadley/r-internals.
- Slightly expanded
cpp4r::function. - Fixed two empty tests.
cpp4r 0.5.1
CRAN release: 2026-04-15
- Luke Tierney pointed out a similar change as in v0.5.0 to add to function.hpp.
cpp4r 0.5.0
CRAN release: 2026-04-13
- Avoids non-API methods when handling data frames (thanks to Luke Tierney for reporting this)
cpp4r 0.4.0
CRAN release: 2025-12-04
- Clearer documentation about the C++ workflow (i.e., how to use anticonf to specify a C++ standard)
- Allows for default values like
my_fun(int x = 100)to callmy_fun()with the same result asmy_fun(100L)from R
cpp4r 0.3.0
CRAN release: 2025-10-16
- This is the first release on CRAN
- Added
as_logicals()andas_strings()in the same style ofas_doubles()andas_integers() - Improved memory management for
r_vectoriterators - Slightly faster than
cpp11 -
vendor()andunvendor()usepath = NULLas default to adhere to CRAN policies.