Running 'testthat.R' [32s]
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="file526c160d76ed.dll" WIN=64 TCLBIN=64 OBJECTS="file526c160d76ed.o"
  
  make would use
  make[1]: Entering directory '/d/temp/RtmpOEGQJ9'
  d:/Compiler/rtools40/mingw64/bin/g++  -std=gnu++14 -I"D:/RCompile/recent/R-40~1.5/include" -DNDEBUG   -I"D:/temp/Rtmp2LzQbh/RLIBS_110306a766453/Rcpp/include/"  -I"D:/temp/Rtmp2LzQbh/RLIBS_110306a766453/RcppEigen/include/"  -I"D:/temp/Rtmp2LzQbh/RLIBS_110306a766453/RcppEigen/include/unsupported"  -I"D:/temp/Rtmp2LzQbh/RLIBS_110306a766453/BH/include" -I"D:/temp/Rtmp2LzQbh/RLIBS_110306a766453/StanHeaders/include/src/"  -I"D:/temp/Rtmp2LzQbh/RLIBS_110306a766453/StanHeaders/include/"  -I"D:/temp/Rtmp2LzQbh/RLIBS_110306a766453/RcppParallel/include/"  -I"D:/temp/Rtmp2LzQbh/RLIBS_110306a766453/rstan/include" -DEIGEN_NO_DEBUG  -DBOOST_DISABLE_ASSERTS  -DBOOST_PENDING_INTEGER_LOG2_HPP  -DSTAN_THREADS  -DBOOST_NO_AUTO_PTR  -include "D:/temp/Rtmp2LzQbh/RLIBS_110306a766453/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp"  -std=c++1y    -I"d:/Compiler/gcc-4.9.3/local330/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c file526c160d76ed.cpp -o file526c160d76ed.o
  if test "zfile526c160d76ed.o" != "z"; then \
    if test -e "file526c160d76ed-win.def"; then \
      echo d:/Compiler/rtools40/mingw64/bin/g++  -shared -s -static-libgcc -o file526c160d76ed.dll file526c160d76ed-win.def file526c160d76ed.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 file526c160d76ed.dll file526c160d76ed-win.def file526c160d76ed.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 file526c160d76ed.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 file526c160d76ed.dll tmp.def file526c160d76ed.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 file526c160d76ed.dll tmp.def file526c160d76ed.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/RtmpOEGQJ9'
  Error in compileCode(f, code, language = language, verbose = verbose) : 
    D:/temp/Rtmp2LzQbh/RLIBS_110306a766453/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__vector(2) double'} [-Wignored-attributes]                      >::type PacketReturnType;                              ^~~~~~~~~~~~~~~~cc1plus.exe: out of memory allocating 65536 bytesmake[1]: *** [D:/RCompile/recent/R-40~1.5/etc/x64/Makeconf:229: file526c160d76ed.o] Error 1
  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