* using log directory 'd:/Rcompile/CRANpkg/local/4.5/pGPx.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 'pGPx/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'pGPx' version '0.1.4' * 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 'pGPx' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.5/pGPx.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'pGPx' ... ** package 'pGPx' 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/RtmpEDKRqh/R.INSTALL1e1bc75e8215b/pGPx/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 dtt_fast.cpp -o dtt_fast.o dtt_fast.cpp: In function 'arma::mat dtt_fast(arma::mat)': dtt_fast.cpp:51:23: error: no matching function for call to 'Rf_dt(image*&)' 51 | image *y = dt(bw); 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 dtt_fast.cpp:6: D:/RCompile/recent/R/include/Rmath.h:238:25: note: candidate: 'template Rcpp::stats::D1 Rcpp::Rf_dt(const VectorBase&, double, bool)' 238 | #define dt Rf_dt | ^~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/stats/dpq/dpq.h:343:30: note: in expansion of macro 'dt' 343 | inline stats::D1 d##__NAME__( \ | ^ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/stats/t.h:25:1: note: in expansion of macro 'RCPP_DPQ_1' 25 | RCPP_DPQ_1(t, ::Rf_dt, ::Rf_pt, ::Rf_qt) | ^~~~~~~~~~ D:/RCompile/recent/R/include/Rmath.h:238:25: note: template argument deduction/substitution failed: 238 | #define dt Rf_dt | ^~~~~ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/stats/dpq/dpq.h:343:30: note: in expansion of macro 'dt' 343 | inline stats::D1 d##__NAME__( \ | ^ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/stats/t.h:25:1: note: in expansion of macro 'RCPP_DPQ_1' 25 | RCPP_DPQ_1(t, ::Rf_dt, ::Rf_pt, ::Rf_qt) | ^~~~~~~~~~ dtt_fast.cpp:51:23: note: mismatched types 'const Rcpp::VectorBase' and 'image*' 51 | image *y = dt(bw); D:/RCompile/recent/R/include/Rmath.h:448:9: note: candidate: 'double Rf_dt(double, double, int)' 448 | double Rf_dt(double, double, int); | ^~~~~ D:/RCompile/recent/R/include/Rmath.h:448:9: note: candidate expects 3 arguments, 1 provided In file included from dtt_fast.cpp:4: dt.h: At global scope: dt.h:97:22: warning: 'image* dt(image*, uchar)' defined but not used [-Wunused-function] 97 | static image *dt(image *im, uchar on = 1) { | ^~ make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:297: dtt_fast.o] Error 1 make[1]: Leaving directory '/d/temp/2024_12_22_01_50_00_26287/RtmpEDKRqh/R.INSTALL1e1bc75e8215b/pGPx/src' ERROR: compilation failed for package 'pGPx' * removing 'd:/Rcompile/CRANpkg/lib/4.5/pGPx' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.5/pGPx'