[Rcpp-devel] Rf_rnbeta vs Rf_rbeta
Serguei Sokol
serguei.sokol at gmail.com
Tue Jan 27 14:33:36 CET 2026
Le 27/01/2026 à 14:08, Dirk Eddelbuettel a écrit :
>
> 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.
No harm here. The error has gone almost immediately so everything went
well in the best of the worlds ;)
More information about the Rcpp-devel
mailing list