* using log directory 'd:/Rcompile/CRANpkg/local/4.0/gppm.Rcheck' * using R version 4.0.5 (2021-03-31) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'gppm/DESCRIPTION' ... OK * this is package 'gppm' version '0.2.0' * 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 'gppm' can be installed ... OK * checking installed package size ... OK * checking package 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... [12s] OK * checking Rd files ... 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [8s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [85s] ERROR Running 'testthat.R' [84s] Running the tests in 'tests/testthat.R' failed. Complete output: > Sys.setenv("R_TESTS" = "") > library(testthat) > library(gppm) Loading required package: Rcpp > > test_check("gppm") make cmd is make -f "D:/RCompile/recent/R-40~1.5/etc/x64/Makeconf" -f "D:/RCompile/recent/R-40~1.5/etc/x64/Makevars.site" -f "D:/RCompile/recent/R-40~1.5/share/make/winshlib.mk" CXX='$(CXX14) $(CXX14STD)' CXXFLAGS='$(CXX14FLAGS)' CXXPICFLAGS='$(CXX14PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX14LDFLAGS)' SHLIB_LD='$(SHLIB_CXX14LD)' SHLIB="file2f88632a749c.dll" WIN=64 TCLBIN=64 OBJECTS="file2f88632a749c.o" make would use make[1]: Entering directory '/d/temp/Rtmpc5aXes' if test "zfile2f88632a749c.o" != "z"; then \ if test -e "file2f88632a749c-win.def"; then \ echo d:/Compiler/rtools40/mingw64/bin/g++ -shared -s -static-libgcc -o file2f88632a749c.dll file2f88632a749c-win.def file2f88632a749c.o -L"d:/Compiler/gcc-4.9.3/local330/lib/x64" -L"d:/Compiler/gcc-4.9.3/local330/lib" -L"D:/RCompile/recent/R-40~1.5/bin/x64" -lR ; \ d:/Compiler/rtools40/mingw64/bin/g++ -shared -s -static-libgcc -o file2f88632a749c.dll file2f88632a749c-win.def file2f88632a749c.o -L"d:/Compiler/gcc-4.9.3/local330/lib/x64" -L"d:/Compiler/gcc-4.9.3/local330/lib" -L"D:/RCompile/recent/R-40~1.5/bin/x64" -lR ; \ else \ echo EXPORTS > tmp.def; \ d:/Compiler/rtools40/mingw64/bin/nm file2f88632a749c.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g' >> tmp.def; \ echo d:/Compiler/rtools40/mingw64/bin/g++ -shared -s -static-libgcc -o file2f88632a749c.dll tmp.def file2f88632a749c.o -L"d:/Compiler/gcc-4.9.3/local330/lib/x64" -L"d:/Compiler/gcc-4.9.3/local330/lib" -L"D:/RCompile/recent/R-40~1.5/bin/x64" -lR ; \ d:/Compiler/rtools40/mingw64/bin/g++ -shared -s -static-libgcc -o file2f88632a749c.dll tmp.def file2f88632a749c.o -L"d:/Compiler/gcc-4.9.3/local330/lib/x64" -L"d:/Compiler/gcc-4.9.3/local330/lib" -L"D:/RCompile/recent/R-40~1.5/bin/x64" -lR ; \ rm -f tmp.def; \ fi \ fi make[1]: Leaving directory '/d/temp/Rtmpc5aXes' Error in compileCode(f, code, language = language, verbose = verbose) : D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: file2f88632a749c.o:file2f88632a749c.cpp:(.text$_ZN3tbb8internal26task_scheduler_observer_v3D1Ev[_ZN3tbb8internal26task_scheduler_observer_v3D1Ev]+0x14): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: file2f88632a749c.o:file2f88632a749c.cpp:(.text$_ZN3tbb8internal26task_scheduler_observer_v3D0Ev[_ZN3tbb8internal26task_scheduler_observer_v3D0Ev]+0x1c): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'D:/Compiler/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: file2f88632a749c.o:file2f88632a749c.cpp:(.text$_ZN3tbb10interface623task_scheduler_observerD0Ev[_ZN3tbb10interface623task_scheduler_observerD0Ev]+0x1c): undefined reference to `tbb::inte Calls: test_check ... -> -> force -> cxxfunction -> compileCode Error in sink(type = "output") : invalid connection Calls: test_check ... eval -> eval -> -> cxxfunctionplus -> sink Execution halted * checking PDF version of manual ... OK * DONE Status: 1 ERROR