We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd8792c commit 0045988Copy full SHA for 0045988
src/include/Rmath.h0.in
@@ -540,13 +540,16 @@ double rlogis(double, double);
540
double dnbeta(double, double, double, double, int);
541
double pnbeta(double, double, double, double, int, int);
542
double qnbeta(double, double, double, double, int, int);
543
-#ifdef COMPILING_RCPP
+#if defined(COMPILING_RCPP)
544
# if RCPP_VERSION <= Rcpp_Version(1,1,0)
545
-// Rcpp 1.1.0 relies on this declaration existing
546
-double rnbeta(double, double, double);
+ // Rcpp 1.1.0 relies on this declaration existing
+ double rnbeta(double, double, double);
547
# endif
548
-#endif
549
-
+#elif defined(RcppCommon_h) || defined(Rcpp_Rmath_h)
+ // Rcpp revdeps may also need this declaration to exist for now
550
551
+# endif
552
+
553
/* Non-central F Distribution */
554
555
double dnf(double, double, double, double, int);
0 commit comments