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 and eddelbuettel committed Nov 1, 2024
1 parent 7eba3ca commit f558d92
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 2 deletions.
58 changes: 58 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,61 @@
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
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem

* .github/workflows/ci.yaml (jobs): Roll checkout action to v4

2024-10-26 Gábor Csárdi <csardi.gabor@gmail.com>

* inst/include/Rcpp/exceptions_impl.h: check for DragonFlyBSD to fix
compilation

2024-10-07 Iñaki Ucar <iucar@fedoraproject.org>

* inst/include/Rcpp/platform/compiler.h: Uncomment
HAS_VARIADIC_TEMPLATES macro definition
* src/api.cpp: Simplify checks for variadic templates
* inst/include/Rcpp/DataFrame.h: Idem
* inst/include/Rcpp/DottedPair.h: Idem
* inst/include/Rcpp/Function.h: Idem
* inst/include/Rcpp/InternalFunctionWithStdFunction.h: Idem
* inst/include/Rcpp/Language.h: Idem
* inst/include/Rcpp/Pairlist.h: Idem
* inst/include/Rcpp/grow.h: Idem
* inst/include/Rcpp/internal/call.h: Idem
* inst/include/Rcpp/module/class.h: Idem
* inst/include/Rcpp/traits/index_sequence.h: Idem
* inst/include/Rcpp/traits/named_object.h: Idem
* inst/include/Rcpp/vector/Vector.h: Idem
* inst/include/Rcpp/Module.h: Idem + add missing is_void method
* inst/tinytest/test_module.R: Add test for void functions and
methods

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

* DESCRIPTION (Version, Date): Roll micro version to 1.0.13.3
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem

2024-09-29 Dirk Eddelbuettel <edd@debian.org>

* inst/include/Rcpp/vector/Vector.h: Remove a cast as R_xlen_t
is returned now

2024-09-17 Dirk Eddelbuettel <edd@debian.org>

* DESCRIPTION (Version, Date): Roll micro version
* inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem

2024-09-12 Iñaki Ucar <iucar@fedoraproject.org>

* vignettes/.gitignore: Refinement to ignore more files under rmd/
* vignettes/pdf/*: Rebuilt with Ghostscript 10.03.1
* vignettes/*.pdf: Idem

2024-08-31 Dirk Eddelbuettel <edd@debian.org>

* DESCRIPTION (Authors@R): Added
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 f558d92

Please sign in to comment.