cpp11 0.5.1
-
cpp11 now requires R >=4.0.0, in line with the
tidyverse version policy (#411). -
Because cpp11 now requires R >=4.0.0, a number of previously optional tools
are now always available, allowing us to remove some dead code. In
particular:-
R_UnwindProtect()is always available, so the definesHAS_UNWIND_PROTECT
andCPP11_UNWINDare no longer useful. -
ALTREP is always available, so the file
cpp11/altrep.hppand the define
HAS_ALTREPare no longer useful.
We would like to remove the dead code regarding these tools in the future, so
we ask that you please remove usage of them from your own packages (#411). -
-
R_NO_REMAPandSTRICT_R_HEADERSare now conditionally defined only if they
have not already been defined elsewhere. This is motivated by the fact that
R_NO_REMAPis becoming the default for C++ code in R 4.5.0 (#410). -
Fixed a small protection issue flagged by rchk (#408).