From cde8d02ff45726ff7293f4fabf0fbf84210dc5bd Mon Sep 17 00:00:00 2001 From: Dirk Eddelbuettel Date: Wed, 10 Dec 2025 14:59:31 -0600 Subject: [PATCH 1/4] Do not access Rf_rnbeta --- ChangeLog | 3 +++ inst/include/Rcpp/Rmath.h | 7 +++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0eec376bf..221cb8a60 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,9 @@ * inst/tinytest/test_system.R: Wrap suppressMessages() around three tests for long-obsolete linker and compiler flags +2025-12-10 Dirk Eddelbuettel + + * inst/include/Rcpp/Rmath.h: Do not access Rf_rnbeta 2025-12-06 Dirk Eddelbuettel diff --git a/inst/include/Rcpp/Rmath.h b/inst/include/Rcpp/Rmath.h index 757b88582..ba011e020 100644 --- a/inst/include/Rcpp/Rmath.h +++ b/inst/include/Rcpp/Rmath.h @@ -1,8 +1,7 @@ -// -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; indent-tabs-mode: nil; -*- -// + // Rmath.h: Rcpp R/C++ interface class library -- Wrappers for R's Rmath API // -// Copyright (C) 2012 Dirk Eddelbuettel and Romain Francois +// Copyright (C) 2012-2025 Dirk Eddelbuettel and Romain Francois // // This file is part of Rcpp. // @@ -160,7 +159,7 @@ namespace R { inline double dnbeta(double x, double a, double b, double ncp, int lg) { return ::Rf_dnbeta(x, a, b, ncp, lg); } inline double pnbeta(double x, double a, double b, double ncp, int lt, int lg) { return ::Rf_pnbeta(x, a, b, ncp, lt, lg); } inline double qnbeta(double p, double a, double b, double ncp, int lt, int lg) { return ::Rf_qnbeta(p, a, b, ncp, lt, lg); } - inline double rnbeta(double a, double b, double np) { return ::Rf_rnbeta(a, b, np); } + //inline double rnbeta(double a, double b, double np) { return ::Rf_rnbeta(a, b, np); } /* Non-central F Distribution */ inline double dnf(double x, double df1, double df2, double ncp, int lg) { return ::Rf_dnf(x, df1, df2, ncp, lg); } From 468e2dd715790135c85448654a63ab95e1af312f Mon Sep 17 00:00:00 2001 From: Dirk Eddelbuettel Date: Wed, 10 Dec 2025 15:16:13 -0600 Subject: [PATCH 2/4] Roll micro version and date --- ChangeLog | 3 +++ DESCRIPTION | 4 ++-- inst/include/Rcpp/config.h | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 221cb8a60..60060b751 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,9 @@ tests for long-obsolete linker and compiler flags 2025-12-10 Dirk Eddelbuettel + * DESCRIPTION (Version, Date): Roll micro version and date + * inst/include/Rcpp/config.h: Idem + * inst/include/Rcpp/Rmath.h: Do not access Rf_rnbeta 2025-12-06 Dirk Eddelbuettel diff --git a/DESCRIPTION b/DESCRIPTION index 75e6914e3..ad2585f2d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: Rcpp Title: Seamless R and C++ Integration -Version: 1.1.0.8 -Date: 2025-12-06 +Version: 1.1.0.9 +Date: 2025-12-10 Authors@R: c(person("Dirk", "Eddelbuettel", role = c("aut", "cre"), email = "edd@debian.org", comment = c(ORCID = "0000-0001-6419-907X")), person("Romain", "Francois", role = "aut", diff --git a/inst/include/Rcpp/config.h b/inst/include/Rcpp/config.h index 029bb8c62..0c540d460 100644 --- a/inst/include/Rcpp/config.h +++ b/inst/include/Rcpp/config.h @@ -31,7 +31,7 @@ #define RCPP_VERSION_STRING "1.1.0" // the current source snapshot (using four components, if a fifth is used in DESCRIPTION we ignore it) -#define RCPP_DEV_VERSION RcppDevVersion(1,1,0,8) -#define RCPP_DEV_VERSION_STRING "1.1.0.8" +#define RCPP_DEV_VERSION RcppDevVersion(1,1,0,9) +#define RCPP_DEV_VERSION_STRING "1.1.0.9" #endif From 281ef6aec45171e34e84c5215816f92666ac6912 Mon Sep 17 00:00:00 2001 From: Dirk Eddelbuettel Date: Wed, 10 Dec 2025 15:39:09 -0600 Subject: [PATCH 3/4] Comment-out an #undef --- ChangeLog | 1 + inst/include/Rcpp/sugar/undoRmath.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 60060b751..14ad03043 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,7 @@ * inst/include/Rcpp/config.h: Idem * inst/include/Rcpp/Rmath.h: Do not access Rf_rnbeta + * inst/include/Rcpp/sugar/undoRmath.h: Remove #undef 2025-12-06 Dirk Eddelbuettel diff --git a/inst/include/Rcpp/sugar/undoRmath.h b/inst/include/Rcpp/sugar/undoRmath.h index c718b724a..60d5e866b 100644 --- a/inst/include/Rcpp/sugar/undoRmath.h +++ b/inst/include/Rcpp/sugar/undoRmath.h @@ -146,7 +146,7 @@ #undef rhyper #undef rlnorm #undef rlogis -#undef rnbeta +//#undef rnbeta #undef rnbinom #undef rnchisq #undef rnf From 5d462dbcc0ef6d9ec61d8090156955f935912b00 Mon Sep 17 00:00:00 2001 From: Dirk Eddelbuettel Date: Fri, 12 Dec 2025 16:53:01 -0600 Subject: [PATCH 4/4] Micro whitespace edit following rebase --- ChangeLog | 1 + 1 file changed, 1 insertion(+) diff --git a/ChangeLog b/ChangeLog index 14ad03043..97f52ffaf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ * inst/tinytest/test_system.R: Wrap suppressMessages() around three tests for long-obsolete linker and compiler flags + 2025-12-10 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll micro version and date