- using R version 3.6.3 (2020-02-29)
- 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 ... [11s] 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 ... [84s] ERROR
Running 'testthat.R' [83s]
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-36~1.3/etc/x64/Makeconf" -f "D:/RCompile/recent/R-36~1.3/etc/x64/Makevars.site" -f "D:/RCompile/recent/R-36~1.3/share/make/winshlib.mk" CXX='$(CXX11) $(CXX11STD)' CXXFLAGS='$(CXX11FLAGS)' CXXPICFLAGS='$(CXX11PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX11LDFLAGS)' SHLIB_LD='$(SHLIB_CXX11LD)' SHLIB="filefc244ff630bd.dll" WIN=64 TCLBIN=64 OBJECTS="filefc244ff630bd.o"
make would use
make[1]: Entering directory `/cygdrive/d/temp/RtmpMNBQFs'
if test "zfilefc244ff630bd.o" != "z"; then \
if test -e "filefc244ff630bd-win.def"; then \
echo d:/Compiler/gcc-4.9.3/mingw_64/bin/g++ -m64 -shared -s -static-libgcc -o filefc244ff630bd.dll filefc244ff630bd-win.def filefc244ff630bd.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-36~1.3/bin/x64" -lR ; \
d:/Compiler/gcc-4.9.3/mingw_64/bin/g++ -m64 -shared -s -static-libgcc -o filefc244ff630bd.dll filefc244ff630bd-win.def filefc244ff630bd.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-36~1.3/bin/x64" -lR ; \
else \
echo EXPORTS > tmp.def; \
d:/Compiler/gcc-4.9.3/mingw_64/bin/nm filefc244ff630bd.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g' >> tmp.def; \
echo d:/Compiler/gcc-4.9.3/mingw_64/bin/g++ -m64 -shared -s -static-libgcc -o filefc244ff630bd.dll tmp.def filefc244ff630bd.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-36~1.3/bin/x64" -lR ; \
d:/Compiler/gcc-4.9.3/mingw_64/bin/g++ -m64 -shared -s -static-libgcc -o filefc244ff630bd.dll tmp.def filefc244ff630bd.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-36~1.3/bin/x64" -lR ; \
rm -f tmp.def; \
fi \
fi
make[1]: Leaving directory `/cygdrive/d/temp/RtmpMNBQFs'
Error in compileCode(f, code, language = language, verbose = verbose) :
filefc244ff630bd.o:filefc244ff630bd.cpp:(.text$_ZN3tbb8internal26task_scheduler_observer_v3D1Ev[_ZN3tbb8internal26task_scheduler_observer_v3D1Ev]+0x14): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'filefc244ff630bd.o:filefc244ff630bd.cpp:(.text$_ZN3tbb8internal26task_scheduler_observer_v3D0Ev[_ZN3tbb8internal26task_scheduler_observer_v3D0Ev]+0x1c): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'filefc244ff630bd.o:filefc244ff630bd.cpp:(.text$_ZN4stan4math16ad_tape_observerD1Ev[_ZN4stan4math16ad_tape_observerD1Ev]+0x15): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'filefc244ff630bd.o:filefc244ff630bd.cpp:(.text$_ZN4stan4math16ad_tape_observerD1Ev[_ZN4stan4math16ad_tape_observerD1Ev]+0x47): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'filefc244ff630bd.o:filefc244ff630bd.cpp:(.text$_ZN4stan4math16ad_tape_observerD0Ev[_ZN4stan4math16ad_tape_
Calls: test_check ... <Anonymous> -> <Anonymous> -> force -> cxxfunction -> compileCode
Error in sink(type = "output") : invalid connection
Calls: test_check ... eval -> eval -> <Anonymous> -> cxxfunctionplus -> sink
Execution halted
- checking PDF version of manual ... OK
- DONE
Status: 1 ERROR