diff --git a/ChangeLog b/ChangeLog index d488ae46c..f0da236d0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2024-10-31 Kevin Ushey + + * inst/include/Rcpp/r/compat.h: Require R (>= 4.5.0) for new APIs + 2024-10-26 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll micro version to 1.0.13.4 diff --git a/inst/include/Rcpp/r/compat.h b/inst/include/Rcpp/r/compat.h index 218f3d7bc..720471b89 100644 --- a/inst/include/Rcpp/r/compat.h +++ b/inst/include/Rcpp/r/compat.h @@ -24,13 +24,13 @@ #include -#if R_VERSION >= R_Version(4, 4, 2) +#if R_VERSION >= R_Version(4, 5, 0) # define RCPP_STRING_PTR STRING_PTR_RO #else # define RCPP_STRING_PTR STRING_PTR #endif -#if R_VERSION >= R_Version(4, 4, 2) +#if R_VERSION >= R_Version(4, 5, 0) # define RCPP_VECTOR_PTR VECTOR_PTR_RO #else # define RCPP_VECTOR_PTR VECTOR_PTR