[Rcpp-devel] Rf_rnbeta vs Rf_rbeta
On 11 December 2025 at 17:12, Serguei Sokol wrote:
| Hi,
|
| Submitting my package rmumps to win-builder/R-devel , I've got a strange
| error:
|
| D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Rmath.h: In function 'double R::rnbeta(double, double, double)':
| D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Rmath.h:163:100: error: '::Rf_rnbeta' has not been declared; did you mean 'Rf_rbeta'?
| 163 | inline double rnbeta(double a, double b, double np) { return ::Rf_rnbeta(a, b, np); }
| | ^~~~~~~~~
| | Rf_rbeta
|
|
|
| visible here: https://win-builder.r-project.org/bvYsfwHAIznB/00install.out
| Is it R-devel or Rcpp issue?
So sorry, completely missed this in December. It was an old and dormant bug
in Rcpp (since fixed in the 1.1.1 release) that was actually triggered by
changes in R-devel at the time.
Dirk
dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org