* using log directory 'd:/Rcompile/CRANpkg/local/4.5/robustHD.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 'robustHD/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'robustHD' version '0.8.1' * 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 'robustHD' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.5/robustHD.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'robustHD' ... ** package 'robustHD' 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/RtmpYl5Cg9/R.INSTALL279605c514b12/robustHD/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" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c corHuber.cpp -o corHuber.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" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c fastGrplars.cpp -o fastGrplars.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" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c fastLars.cpp -o fastLars.o fastLars.cpp: In function 'arma::uvec fastLars(const arma::mat&, const arma::vec&, const arma::uword&, CorControl, const bool&, SEXP, int&)': fastLars.cpp:104:18: error: call of overloaded 'Rf_sign(double&)' is ambiguous 104 | signs(0) = sign(corY(whichMax)); // sign of correlation of active predictor 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 fastLars.h:11, from fastLars.cpp:7: D:/RCompile/recent/R/include/Rmath.h:601:9: note: candidate: 'double Rf_sign(double)' 601 | double Rf_sign(double); | ^~~~~~~ D:/RCompile/recent/R/include/Rmath.h:347:25: note: candidate: 'arma::sword Rf_sign(const double&)' 347 | #define sign Rf_sign | ^~~~~~~ utils.h:25:7: note: in expansion of macro 'sign' 25 | sword sign(const double& x); | ^~~~ make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:297: fastLars.o] Error 1 make[1]: Leaving directory '/d/temp/2024_12_22_01_50_00_26287/RtmpYl5Cg9/R.INSTALL279605c514b12/robustHD/src' ERROR: compilation failed for package 'robustHD' * removing 'd:/Rcompile/CRANpkg/lib/4.5/robustHD' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.5/robustHD'