[Rcpp-devel] Rf_rnbeta vs Rf_rbeta

Serguei Sokol serguei.sokol at gmail.com
Thu Dec 11 17:12:32 CET 2025


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?

Best,
Serguei.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20251211/9db280e7/attachment.htm>


More information about the Rcpp-devel mailing list