- using R version 4.1.3 (2022-03-10)
- 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 ... [10s] 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 contents of 'data' directory ... OK
- checking data for non-ASCII characters ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [8s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [80s] ERROR
Running 'testthat.R' [80s]
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-41~1.3/etc/x64/Makeconf" -f "D:/RCompile/recent/R-41~1.3/etc/x64/Makevars.site" -f "D:/RCompile/recent/R-41~1.3/share/make/winshlib.mk" CXX='$(CXX14) $(CXX14STD)' CXXFLAGS='$(CXX14FLAGS)' CXXPICFLAGS='$(CXX14PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX14LDFLAGS)' SHLIB_LD='$(SHLIB_CXX14LD)' SHLIB="file14cac31722e3.dll" WIN=64 TCLBIN=64 OBJECTS="file14cac31722e3.o"
make would use
make[1]: Entering directory '/d/temp/RtmpisGFc5'
if test "zfile14cac31722e3.o" != "z"; then \
if test -e "file14cac31722e3-win.def"; then \
echo d:/Compiler/rtools40/mingw64/bin/g++ -shared -s -static-libgcc -o file14cac31722e3.dll file14cac31722e3-win.def file14cac31722e3.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-41~1.3/bin/x64" -lR ; \
d:/Compiler/rtools40/mingw64/bin/g++ -shared -s -static-libgcc -o file14cac31722e3.dll file14cac31722e3-win.def file14cac31722e3.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-41~1.3/bin/x64" -lR ; \
else \
echo EXPORTS > tmp.def; \
d:/Compiler/rtools40/mingw64/bin/nm file14cac31722e3.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 file14cac31722e3.dll tmp.def file14cac31722e3.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-41~1.3/bin/x64" -lR ; \
d:/Compiler/rtools40/mingw64/bin/g++ -shared -s -static-libgcc -o file14cac31722e3.dll tmp.def file14cac31722e3.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-41~1.3/bin/x64" -lR ; \
rm -f tmp.def; \
fi \
fi
make[1]: Leaving directory '/d/temp/RtmpisGFc5'
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: file14cac31722e3.o:file14cac31722e3.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: file14cac31722e3.o:file14cac31722e3.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: file14cac31722e3.o:file14cac31722e3.cpp:(.text$_ZN3tbb10interface623task_scheduler_observerD0Ev[_ZN3tbb10interface623task_scheduler_observerD0Ev]+0x1c): undefined reference to `tbb::inter
Calls: test_check ... <Anonymous> -> <Anonymous> -> force -> cxxfunction -> compileCode
Error in sink(type = "output") : invalid connection
Calls: test_check ... withVisible -> <Anonymous> -> cxxfunctionplus -> sink
Execution halted
- checking PDF version of manual ... OK
- DONE
Status: 1 ERROR