* using log directory 'd:/Rcompile/CRANpkg/local/4.5/TreeBUGS.Rcheck' * using R Under development (unstable) (2024-12-21 r87453 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'TreeBUGS/DESCRIPTION' ... OK * this is package 'TreeBUGS' version '1.5.0' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'TreeBUGS' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.5/TreeBUGS.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'TreeBUGS' ... ** package 'TreeBUGS' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 13.3.0' using C++ compiler: 'g++.exe (GCC) 13.3.0' make[1]: Entering directory '/d/temp/2024_12_22_01_50_00_26287/RtmpqAEoEx/R.INSTALL1476458f8296c/TreeBUGS/src' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c betaMPT.cpp -o betaMPT.o In file included from betaMPT.cpp:4: D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadilloExtensions/rmultinom.h: In function 'Rcpp::IntegerVector Rcpp::RcppArmadillo::Rf_rmultinom(int, Rcpp::NumericVector)': D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadilloExtensions/rmultinom.h:57:61: error: too few arguments to function 'Rcpp::NumericVector Rcpp::Rf_rbinom(int, double, double)' 57 | draws[ii] = ((pp < 1.) ? (int) Rf_rbinom((double) size, pp) : size); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/RcppCommon.h:76, from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25, from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:29, from betaMPT.cpp:3: D:/RCompile/recent/R/include/Rmath.h:322:25: note: declared here 322 | #define rbinom Rf_rbinom | ^~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/stats/random/random.h:104:22: note: in expansion of macro 'rbinom' 104 | inline NumericVector rbinom( int n, double nin, double pp ){ | ^~~~~~ make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:297: betaMPT.o] Error 1 make[1]: Leaving directory '/d/temp/2024_12_22_01_50_00_26287/RtmpqAEoEx/R.INSTALL1476458f8296c/TreeBUGS/src' ERROR: compilation failed for package 'TreeBUGS' * removing 'd:/Rcompile/CRANpkg/lib/4.5/TreeBUGS' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.5/TreeBUGS'