* using log directory 'd:/Rcompile/CRANpkg/local/4.3/RcppArmadillo.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 'RcppArmadillo/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'RcppArmadillo' version '14.2.2-1' * 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 'RcppArmadillo' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 12.3.0' * checking installed package size ... NOTE installed size is 8.8Mb sub-directories of 1Mb or more: include 6.7Mb libs 1.2Mb * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] OK * checking startup messages can be suppressed ... [1s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [3s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking line endings in shell scripts ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking sizes of PDF files under 'inst/doc' ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [1s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [22s] ERROR Running 'tinytest.R' [21s] Running the tests in 'tests/tinytest.R' failed. Complete output: > > if (requireNamespace("tinytest", quietly=TRUE)) { + tinytest::test_package("RcppArmadillo") + } test_Rlapack.R................ 0 tests test_Rlapack.R................ 0 tests using C++ compiler: 'g++.exe (GCC) 12.3.0' make[1]: Entering directory '/d/temp/2024_12_20_01_50_00_19051/RtmpCyVhvb/sourceCpp-x86_64-w64-mingw32-1.0.13.1/sourcecpp_193e02ea4141c' g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I../inst/include -fopenmp -I"D:/RCompile/CRANpkg/lib/4.3/Rcpp/include" -I"D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include" -I"D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/tinytest/cpp" -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Rlapack.cpp -o Rlapack.o g++ -std=gnu++17 -shared -s -static-libgcc -o sourceCpp_2.dll tmp.def Rlapack.o -fopenmp -LD:/RCompile/recent/R-4.3.3/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.3.3/bin/x64 -lRblas -lgfortran -lm -lquadmath -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: Rlapack.o:Rlapack.cpp:(.text$_ZN4arma6auxlib15solve_sym_rcondINS_3MatISt7complexIdEEEEEbRNS2_IS3_INT_8pod_typeEEEERS7_SA_RKNS_4BaseIS8_S6_EE[_ZN4arma6auxlib15solve_sym_rcondINS_3MatISt7complexIdEEEEEbRNS2_IS3_INT_8pod_typeEEEERS7_SA_RKNS_4BaseIS8_S6_EE]+0x238): undefined reference to `zhetrf_' D:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: Rlapack.o:Rlapack.cpp:(.text$_ZN4arma6auxlib15solve_sym_rcondINS_3MatISt7complexIdEEEEEbRNS2_IS3_INT_8pod_typeEEEERS7_SA_RKNS_4BaseIS8_S6_EE[_ZN4arma6auxlib15solve_sym_rcondINS_3MatISt7complexIdEEEEEbRNS2_IS3_INT_8pod_typeEEEERS7_SA_RKNS_4BaseIS8_S6_EE]+0x28b): undefined reference to `zhetrs_' D:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: Rlapack.o:Rlapack.cpp:(.text$_ZN4arma6auxlib15solve_sym_rcondINS_3MatISt7complexIdEEEEEbRNS2_IS3_INT_8pod_typeEEEERS7_SA_RKNS_4BaseIS8_S6_EE[_ZN4arma6auxlib15solve_sym_rcondINS_3MatISt7complexIdEEEEEbRNS2_IS3_INT_8pod_typeEEEERS7_SA_RKNS_4BaseIS8_S6_EE]+0x2e5): undefined reference to `zhecon_' D:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: Rlapack.o:Rlapack.cpp:(.text$_ZN4arma6auxlib15solve_sym_rcondINS_3MatISt7complexIdEEEEEbRNS2_IS3_INT_8pod_typeEEEERS7_SA_RKNS_4BaseIS8_S6_EE[_ZN4arma6auxlib15solve_sym_rcondINS_3MatISt7complexIdEEEEEbRNS2_IS3_INT_8pod_typeEEEERS7_SA_RKNS_4BaseIS8_S6_EE]+0x3d0): undefined reference to `zhetrf_' collect2.exe: error: ld returned 1 exit status make[1]: Leaving directory '/d/temp/2024_12_20_01_50_00_19051/RtmpCyVhvb/sourceCpp-x86_64-w64-mingw32-1.0.13.1/sourcecpp_193e02ea4141c' make[1]: Entering directory '/d/temp/2024_12_20_01_50_00_19051/RtmpCyVhvb/sourceCpp-x86_64-w64-mingw32-1.0.13.1/sourcecpp_193e02ea4141c' make[1]: Leaving directory '/d/temp/2024_12_20_01_50_00_19051/RtmpCyVhvb/sourceCpp-x86_64-w64-mingw32-1.0.13.1/sourcecpp_193e02ea4141c' Error in Rcpp::sourceCpp("cpp/Rlapack.cpp") : Error occurred building shared library. Calls: ... run_test_dir -> lapply -> FUN -> eval -> eval -> Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [20s] OK * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... [2s] OK * DONE Status: 1 ERROR, 1 NOTE