Skip to content

Commit

Permalink
require R 4.5.0 (closes #1341) (#1342)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinushey authored Oct 31, 2024
1 parent 1761e1d commit 3ae789b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2024-10-31 Kevin Ushey <kevinushey@gmail.com>

* inst/include/Rcpp/r/compat.h: Require R (>= 4.5.0) for new APIs

2024-10-26 Dirk Eddelbuettel <edd@debian.org>

* DESCRIPTION (Version, Date): Roll micro version to 1.0.13.4
Expand Down
4 changes: 2 additions & 2 deletions inst/include/Rcpp/r/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@

#include <Rversion.h>

#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
Expand Down

0 comments on commit 3ae789b

Please sign in to comment.