* using log directory 'd:/Rcompile/CRANpkg/local/4.5/treestructure.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 'treestructure/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'treestructure' version '0.1.0' * 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 'treestructure' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.5/treestructure.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'treestructure' ... ** package 'treestructure' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 13.3.0' make[1]: Entering directory '/d/temp/2024_12_22_01_50_00_26287/Rtmpya4M8J/R.INSTALL26e28e7f6417/treestructure/src' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/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:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c uv_ranksum_nulldist0.cpp -o uv_ranksum_nulldist0.o uv_ranksum_nulldist0.cpp: In function 'Rcpp::NumericVector Cuv_ranksum_nulldist(Rcpp::NumericVector, int, int)': uv_ranksum_nulldist0.cpp:43:49: error: no match for 'operator&&' (operand types are 'bool' and 'Rcpp::sugar::Comparator_With_One_Value<14, Rcpp::sugar::less<14>, true, Rcpp::Vector<14, Rcpp::PreserveStorage> >') 43 | if ( (Aui > 1 ) && (Rf_runif(0,1) < pui) ){ | ~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~~~ | | | | bool Rcpp::sugar::Comparator_With_One_Value<14, Rcpp::sugar::less<14>, true, Rcpp::Vector<14, Rcpp::PreserveStorage> > uv_ranksum_nulldist0.cpp:43:49: note: candidate: 'operator&&(bool, bool)' (built-in) 43 | if ( (Aui > 1 ) && (Rf_runif(0,1) < pui) ){ | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ uv_ranksum_nulldist0.cpp:43:49: note: no known conversion for argument 2 from 'Rcpp::sugar::Comparator_With_One_Value<14, Rcpp::sugar::less<14>, true, Rcpp::Vector<14, Rcpp::PreserveStorage> >' to 'bool' In file included from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/logical/logical.h:29, from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/sugar_forward.h:29, from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/RcppCommon.h:185, from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp.h:27, from uv_ranksum_nulldist0.cpp:1: D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/logical/and.h:288:1: note: candidate: 'template Rcpp::sugar::And_SingleLogicalResult_SingleLogicalResult operator&&(const Rcpp::sugar::SingleLogicalResult&, const Rcpp::sugar::SingleLogicalResult&)' 288 | operator&&( | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/logical/and.h:288:1: note: template argument deduction/substitution failed: uv_ranksum_nulldist0.cpp:43:72: note: mismatched types 'const Rcpp::sugar::SingleLogicalResult' and 'bool' 43 | if ( (Aui > 1 ) && (Rf_runif(0,1) < pui) ){ | ^ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/logical/and.h:297:1: note: candidate: 'template Rcpp::sugar::And_SingleLogicalResult_bool operator&&(const Rcpp::sugar::SingleLogicalResult&, bool)' 297 | operator&&( | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/logical/and.h:297:1: note: template argument deduction/substitution failed: uv_ranksum_nulldist0.cpp:43:72: note: mismatched types 'const Rcpp::sugar::SingleLogicalResult' and 'bool' 43 | if ( (Aui > 1 ) && (Rf_runif(0,1) < pui) ){ | ^ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/logical/and.h:306:1: note: candidate: 'template Rcpp::sugar::And_SingleLogicalResult_bool operator&&(bool, const Rcpp::sugar::SingleLogicalResult&)' 306 | operator&&( | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/sugar/logical/and.h:306:1: note: template argument deduction/substitution failed: uv_ranksum_nulldist0.cpp:43:72: note: 'Rcpp::sugar::Comparator_With_One_Value<14, Rcpp::sugar::less<14>, true, Rcpp::Vector<14, Rcpp::PreserveStorage> >' is not derived from 'const Rcpp::sugar::SingleLogicalResult' 43 | if ( (Aui > 1 ) && (Rf_runif(0,1) < pui) ){ | ^ uv_ranksum_nulldist0.cpp:16:21: warning: unused variable 'pvi' [-Wunused-variable] 16 | double pui, pvi; | ^~~ make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:297: uv_ranksum_nulldist0.o] Error 1 make[1]: Leaving directory '/d/temp/2024_12_22_01_50_00_26287/Rtmpya4M8J/R.INSTALL26e28e7f6417/treestructure/src' ERROR: compilation failed for package 'treestructure' * removing 'd:/Rcompile/CRANpkg/lib/4.5/treestructure' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.5/treestructure'