* using log directory 'd:/Rcompile/CRANpkg/local/4.3/psp.Rcheck' * using R version 4.3.3 (2024-02-29 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'psp/DESCRIPTION' ... OK * this is package 'psp' version '1.0.2' * 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 'psp' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.3/psp.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'psp' ... ** package 'psp' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 12.3.0' make[1]: Entering directory '/d/temp/2025_04_05_01_50_00_30359/RtmpCYBogR/R.INSTALL166345265c93/psp/src' g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c pspGlobal.cpp -o pspGlobal.o pspGlobal.cpp: In function 'arma::mat ClampParameters(arma::mat, arma::colvec, arma::colvec)': pspGlobal.cpp:29:21: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 29 | for (int i = 0; i < upper.n_elem; i++) { | ~~^~~~~~~~~~~~~~ pspGlobal.cpp: In function 'arma::cube OrdinalCompare(arma::cube, arma::cube)': pspGlobal.cpp:60:21: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 60 | for (int x = 0; x < predicted.n_slices; x++) { | ~~^~~~~~~~~~~~~~~~~~~~ pspGlobal.cpp:62:23: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 62 | for (int y = 0; y < discovered.n_slices; y++) { | ~~^~~~~~~~~~~~~~~~~~~~~ pspGlobal.cpp: In function 'void WriteFile(int, arma::mat, arma::vec, std::string)': pspGlobal.cpp:153:23: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 153 | for (uword i = 0; i < rows; i++) { | ~~^~~~~~ pspGlobal.cpp:156:25: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 156 | for (uword k = 0; k < columns; k++) { | ~~^~~~~~~~~ pspGlobal.cpp: In function 'Rcpp::List pspGlobal(Rcpp::Function, Rcpp::Function, Rcpp::List, bool, std::string, std::string, bool)': pspGlobal.cpp:196:18: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 196 | if (dimensions != lower.n_elem || dimensions != upper.n_elem) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~ pspGlobal.cpp:196:48: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 196 | if (dimensions != lower.n_elem || dimensions != upper.n_elem) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~ g++ -std=gnu++17 -shared -s -static-libgcc -o psp.dll tmp.def RcppExports.o pspGlobal.o -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.3.3/bin/x64 -lR D:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: pspGlobal.o:pspGlobal.cpp:(.text$_ZN4arma6op_sum24apply_mat_square_noaliasIdEEvRNS_3MatIT_EERKS4_j[_ZN4arma6op_sum24apply_mat_square_noaliasIdEEvRNS_3MatIT_EERKS4_j]+0x1b6): undefined reference to `ddot_' collect2.exe: error: ld returned 1 exit status make[1]: Leaving directory '/d/temp/2025_04_05_01_50_00_30359/RtmpCYBogR/R.INSTALL166345265c93/psp/src' make[1]: Entering directory '/d/temp/2025_04_05_01_50_00_30359/RtmpCYBogR/R.INSTALL166345265c93/psp/src' make[1]: Leaving directory '/d/temp/2025_04_05_01_50_00_30359/RtmpCYBogR/R.INSTALL166345265c93/psp/src' no DLL was created ERROR: compilation failed for package 'psp' * removing 'd:/Rcompile/CRANpkg/lib/4.3/psp' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.3/psp'