Skip to content

Commit 695a2d1

Browse files
committed
require R 4.5.0 (closes #1341)
1 parent 1761e1d commit 695a2d1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

ChangeLog

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2024-10-31 Kevin Ushey <kevinushey@gmail.com>
2+
3+
* inst/include/Rcpp/r/compat.h: Require R (>= 4.5.0) for new APIs
4+
15
2024-10-26 Dirk Eddelbuettel <edd@debian.org>
26

37
* DESCRIPTION (Version, Date): Roll micro version to 1.0.13.4

inst/include/Rcpp/r/compat.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424

2525
#include <Rversion.h>
2626

27-
#if R_VERSION >= R_Version(4, 4, 2)
27+
#if R_VERSION >= R_Version(4, 5, 0)
2828
# define RCPP_STRING_PTR STRING_PTR_RO
2929
#else
3030
# define RCPP_STRING_PTR STRING_PTR
3131
#endif
3232

33-
#if R_VERSION >= R_Version(4, 4, 2)
33+
#if R_VERSION >= R_Version(4, 5, 0)
3434
# define RCPP_VECTOR_PTR VECTOR_PTR_RO
3535
#else
3636
# define RCPP_VECTOR_PTR VECTOR_PTR

0 commit comments

Comments
 (0)