- using R version 4.2.3 (2023-03-15 ucrt)
- using platform: x86_64-w64-mingw32 (64-bit)
- using session charset: UTF-8
- 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 ... [11s] 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 ... [7s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [76s] ERROR
Running 'testthat.R' [76s]
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-4.2.3/etc/x64/Makeconf" -f "D:/RCompile/recent/R-4.2.3/share/make/winshlib.mk" CXX='$(CXX14) $(CXX14STD)' CXXFLAGS='$(CXX14FLAGS)' CXXPICFLAGS='$(CXX14PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX14LDFLAGS)' SHLIB_LD='$(SHLIB_CXX14LD)' SHLIB="file10fcc72c861ae.dll" WIN=64 TCLBIN= OBJECTS="file10fcc72c861ae.o"
make would use
make[1]: Entering directory '/d/temp/RtmpimRYIR'
if test "zfile10fcc72c861ae.o" != "z"; then \
if test -e "file10fcc72c861ae-win.def"; then \
echo g++ -shared -s -static-libgcc -o file10fcc72c861ae.dll file10fcc72c861ae-win.def file10fcc72c861ae.o -L"d:/rtools42/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools42/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.2.3/bin/x64" -lR ; \
g++ -shared -s -static-libgcc -o file10fcc72c861ae.dll file10fcc72c861ae-win.def file10fcc72c861ae.o -L"d:/rtools42/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools42/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.2.3/bin/x64" -lR ; \
else \
echo EXPORTS > tmp.def; \
nm file10fcc72c861ae.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g' >> tmp.def; \
echo g++ -shared -s -static-libgcc -o file10fcc72c861ae.dll tmp.def file10fcc72c861ae.o -L"d:/rtools42/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools42/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.2.3/bin/x64" -lR ; \
g++ -shared -s -static-libgcc -o file10fcc72c861ae.dll tmp.def file10fcc72c861ae.o -L"d:/rtools42/x86_64-w64-mingw32.static.posix/lib/x64" -L"d:/rtools42/x86_64-w64-mingw32.static.posix/lib" -L"D:/RCompile/recent/R-4.2.3/bin/x64" -lR ; \
rm -f tmp.def; \
fi \
fi
make[1]: Leaving directory '/d/temp/RtmpimRYIR'
Error in compileCode(f, code, language = language, verbose = verbose) :
D:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: file10fcc72c861ae.o:file10fcc72c861ae.cpp:(.text$_ZN3tbb8internal26task_scheduler_observer_v3D0Ev[_ZN3tbb8internal26task_scheduler_observer_v3D0Ev]+0x1d): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'D:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: file10fcc72c861ae.o:file10fcc72c861ae.cpp:(.text$_ZN3tbb10interface623task_scheduler_observerD1Ev[_ZN3tbb10interface623task_scheduler_observerD1Ev]+0x1d): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'D:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: file10fcc72c861ae.o:file10fcc72c861ae.cpp:(.text$_ZN3tbb10interface623task_scheduler_observerD1Ev[_ZN3tbb10interface623task_scheduler_observerD1Ev]+0x3a): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'D:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: file10fcc72c861ae.o:file10fcc72c861ae.cpp:(.text$_ZN3tbb10i
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