* using log directory 'd:/Rcompile/CRANpkg/local/4.5/scoringRules.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 'scoringRules/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'scoringRules' version '1.1.3' * 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 'scoringRules' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.5/scoringRules.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'scoringRules' ... ** package 'scoringRules' 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/Rtmp8otKTX/R.INSTALL883c7eaa708c/scoringRules/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 mixn.cpp -o mixn.o mixn.cpp: In function 'Rcpp::NumericVector lsmixnC(Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector)': mixn.cpp:66:28: error: call of overloaded 'Rf_dnorm4(Rcpp::traits::storage_type<14>::type&, Rcpp::traits::storage_type<14>::type&, Rcpp::traits::storage_type<14>::type&, int)' is ambiguous 66 | ls[j] += w[i] * dnorm(y[j], m[i], s[i], 0); In file included from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/RcppCommon.h:76, from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp.h:27, from mixn.cpp:1: D:/RCompile/recent/R/include/Rmath.h:373:9: note: candidate: 'double Rf_dnorm4(double, double, double, int)' 373 | double Rf_dnorm4(double, double, double, int); | ^~~~~~~~~ D:/RCompile/recent/R/include/Rmath.h:231:25: note: candidate: 'double R::Rf_dnorm4(double, double, double, int)' 231 | #define dnorm Rf_dnorm4 | ^~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/Rmath.h:35:19: note: in expansion of macro 'dnorm' 35 | inline double dnorm(double x, double mu, double sigma, int lg) { return ::Rf_dnorm4(x, mu, sigma, lg); } | ^~~~~ mixn.cpp: In function 'Rcpp::NumericVector dmixnC(Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector)': mixn.cpp:112:32: error: call of overloaded 'Rf_dnorm4(Rcpp::traits::storage_type<14>::type&, Rcpp::traits::storage_type<14>::type&, Rcpp::traits::storage_type<14>::type&, int)' is ambiguous 112 | out[j] += dnorm(y[j], m[i], s[i], 0); D:/RCompile/recent/R/include/Rmath.h:373:9: note: candidate: 'double Rf_dnorm4(double, double, double, int)' 373 | double Rf_dnorm4(double, double, double, int); | ^~~~~~~~~ D:/RCompile/recent/R/include/Rmath.h:231:25: note: candidate: 'double R::Rf_dnorm4(double, double, double, int)' 231 | #define dnorm Rf_dnorm4 | ^~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/Rmath.h:35:19: note: in expansion of macro 'dnorm' 35 | inline double dnorm(double x, double mu, double sigma, int lg) { return ::Rf_dnorm4(x, mu, sigma, lg); } | ^~~~~ mixn.cpp: In function 'Rcpp::NumericVector pmixnC(Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector)': mixn.cpp:127:32: error: call of overloaded 'Rf_pnorm5(Rcpp::traits::storage_type<14>::type&, Rcpp::traits::storage_type<14>::type&, Rcpp::traits::storage_type<14>::type&, int, int)' is ambiguous 127 | out[j] += pnorm(y[j], m[i], s[i], 1, 0); D:/RCompile/recent/R/include/Rmath.h:374:9: note: candidate: 'double Rf_pnorm5(double, double, double, int, int)' 374 | double Rf_pnorm5(double, double, double, int, int); | ^~~~~~~~~ D:/RCompile/recent/R/include/Rmath.h:282:25: note: candidate: 'double R::Rf_pnorm5(double, double, double, int, int)' 282 | #define pnorm Rf_pnorm5 | ^~~~~~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/Rmath.h:36:19: note: in expansion of macro 'pnorm' 36 | inline double pnorm(double x, double mu, double sigma, int lt, int lg) { return ::Rf_pnorm5(x, mu, sigma, lt, lg); } | ^~~~~ make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:297: mixn.o] Error 1 make[1]: Leaving directory '/d/temp/2024_12_22_01_50_00_26287/Rtmp8otKTX/R.INSTALL883c7eaa708c/scoringRules/src' ERROR: compilation failed for package 'scoringRules' * removing 'd:/Rcompile/CRANpkg/lib/4.5/scoringRules' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.5/scoringRules'