* using log directory 'd:/Rcompile/CRANpkg/local/3.6/gppm.Rcheck'
* 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 ... [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 ... [9s] OK
* checking for unstated dependencies in 'tests' ... OK
* checking tests ... [96s] ERROR
  Running 'testthat.R' [95s]
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="file10b9813c26c8.dll" WIN=64 TCLBIN=64 OBJECTS="file10b9813c26c8.o"
  
  make would use
  make[1]: Entering directory `/cygdrive/d/temp/RtmpG4AAjK'
  if test "zfile10b9813c26c8.o" != "z"; then \
    if test -e "file10b9813c26c8-win.def"; then \
      echo d:/Compiler/gcc-4.9.3/mingw_64/bin/g++ -m64 -shared -s -static-libgcc -o file10b9813c26c8.dll file10b9813c26c8-win.def file10b9813c26c8.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 file10b9813c26c8.dll file10b9813c26c8-win.def file10b9813c26c8.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 file10b9813c26c8.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 file10b9813c26c8.dll tmp.def file10b9813c26c8.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 file10b9813c26c8.dll tmp.def file10b9813c26c8.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/RtmpG4AAjK'
  Error in compileCode(f, code, language = language, verbose = verbose) : 
    file10b9813c26c8.o:file10b9813c26c8.cpp:(.text$_ZN3tbb8internal26task_scheduler_observer_v3D1Ev[_ZN3tbb8internal26task_scheduler_observer_v3D1Ev]+0x14): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'file10b9813c26c8.o:file10b9813c26c8.cpp:(.text$_ZN3tbb8internal26task_scheduler_observer_v3D0Ev[_ZN3tbb8internal26task_scheduler_observer_v3D0Ev]+0x1c): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'file10b9813c26c8.o:file10b9813c26c8.cpp:(.text$_ZN3tbb10interface623task_scheduler_observerD1Ev[_ZN3tbb10interface623task_scheduler_observerD1Ev]+0x1c): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'file10b9813c26c8.o:file10b9813c26c8.cpp:(.text$_ZN3tbb10interface623task_scheduler_observerD1Ev[_ZN3tbb10interface623task_scheduler_observerD1Ev]+0x3e): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'file10b9813c26c8.o:file10b9813c26c8.cpp:(.text$_ZN3tbb
  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