Running 'testthat.R' [145s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > library(testthat)
  > 
  > test_check("bridgesampling")
  Loading required package: bridgesampling
  Median of 10 bridge sampling estimates
  of the log marginal likelihood: 4293.156
  Range of estimates: 4290.976 to 4294.028
  Interquartile range: 1.62594
  Method: normal
  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="filee5647c7b1ff5.dll" WIN=64 TCLBIN=64 OBJECTS="filee5647c7b1ff5.o"
  
  make would use
  make[1]: Entering directory `/cygdrive/d/temp/RtmpETWiWz'
  if test "zfilee5647c7b1ff5.o" != "z"; then \
    if test -e "filee5647c7b1ff5-win.def"; then \
      echo d:/Compiler/gcc-4.9.3/mingw_64/bin/g++ -m64 -shared -s -static-libgcc -o filee5647c7b1ff5.dll filee5647c7b1ff5-win.def filee5647c7b1ff5.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 filee5647c7b1ff5.dll filee5647c7b1ff5-win.def filee5647c7b1ff5.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 filee5647c7b1ff5.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 filee5647c7b1ff5.dll tmp.def filee5647c7b1ff5.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 filee5647c7b1ff5.dll tmp.def filee5647c7b1ff5.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/RtmpETWiWz'
  starting worker pid=65936 on localhost:11591 at 20:18:10.687
  starting worker pid=78920 on localhost:11591 at 20:18:11.015
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0.015 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 150 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: Iteration:    1 / 5000 [  0%]  (Warmup)
  Chain 1: Iteration:  500 / 5000 [ 10%]  (Warmup)
  Chain 1: Iteration: 1000 / 5000 [ 20%]  (Warmup)
  Chain 1: Iteration: 1500 / 5000 [ 30%]  (Warmup)
  Chain 1: Iteration: 2000 / 5000 [ 40%]  (Warmup)
  Chain 1: Iteration: 2500 / 5000 [ 50%]  (Warmup)
  Chain 1: Iteration: 2501 / 5000 [ 50%]  (Sampling)
  Chain 1: Iteration: 3000 / 5000 [ 60%]  (Sampling)
  Chain 1: Iteration: 3500 / 5000 [ 70%]  (Sampling)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  Chain 2: 
  Chain 2: Gradient evaluation took 0 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Chain 2: Adjust your expectations accordingly!
  Chain 2: 
  Chain 2: 
  Chain 2: Iteration:    1 / 5000 [  0%]  (Warmup)
  Chain 2: Iteration:  500 / 5000 [ 10%]  (Warmup)
  Chain 2: Iteration: 1000 / 5000 [ 20%]  (Warmup)
  Chain 1: Iteration: 4000 / 5000 [ 80%]  (Sampling)
  Chain 2: Iteration: 1500 / 5000 [ 30%]  (Warmup)
  Chain 2: Iteration: 2000 / 5000 [ 40%]  (Warmup)
  Chain 2: Iteration: 2500 / 5000 [ 50%]  (Warmup)
  Chain 2: Iteration: 2501 / 5000 [ 50%]  (Sampling)
  Chain 1: Iteration: 4500 / 5000 [ 90%]  (Sampling)
  Chain 2: Iteration: 3000 / 5000 [ 60%]  (Sampling)
  Chain 1: Iteration: 5000 / 5000 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.468 seconds (Warm-up)
  Chain 1:                1.529 seconds (Sampling)
  Chain 1:                1.997 seconds (Total)
  Chain 1: 
  Chain 2: Iteration: 3500 / 5000 [ 70%]  (Sampling)
  Chain 2: Iteration: 4000 / 5000 [ 80%]  (Sampling)
  Chain 2: Iteration: 4500 / 5000 [ 90%]  (Sampling)
  Chain 2: Iteration: 5000 / 5000 [100%]  (Sampling)
  Chain 2: 
  Chain 2:  Elapsed Time: 0.437 seconds (Warm-up)
  Chain 2:                1.444 seconds (Sampling)
  Chain 2:                1.881 seconds (Total)
  Chain 2: 
  Iteration: 1
  Iteration: 2
  Iteration: 3
  Iteration: 4
  Iteration: 5
  starting worker pid=23856 on localhost:11591 at 20:18:30.839
  starting worker pid=22032 on localhost:11591 at 20:18:31.166
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  Chain 1: 
  Chain 1: Gradient evaluation took 0 seconds
  Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Chain 1: Adjust your expectations accordingly!
  Chain 1: 
  Chain 1: 
  Chain 1: Iteration:    1 / 5000 [  0%]  (Warmup)
  Chain 1: Iteration:  500 / 5000 [ 10%]  (Warmup)
  Chain 1: Iteration: 1000 / 5000 [ 20%]  (Warmup)
  Chain 1: Iteration: 1500 / 5000 [ 30%]  (Warmup)
  Chain 1: Iteration: 2000 / 5000 [ 40%]  (Warmup)
  Chain 1: Iteration: 2500 / 5000 [ 50%]  (Warmup)
  Chain 1: Iteration: 2501 / 5000 [ 50%]  (Sampling)
  Chain 1: Iteration: 3000 / 5000 [ 60%]  (Sampling)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  Chain 2: 
  Chain 2: Gradient evaluation took 0 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Chain 2: Adjust your expectations accordingly!
  Chain 2: 
  Chain 2: 
  Chain 2: Iteration:    1 / 5000 [  0%]  (Warmup)
  Chain 2: Iteration:  500 / 5000 [ 10%]  (Warmup)
  Chain 1: Iteration: 3500 / 5000 [ 70%]  (Sampling)
  Chain 2: Iteration: 1000 / 5000 [ 20%]  (Warmup)
  Chain 2: Iteration: 1500 / 5000 [ 30%]  (Warmup)
  Chain 2: Iteration: 2000 / 5000 [ 40%]  (Warmup)
  Chain 1: Iteration: 4000 / 5000 [ 80%]  (Sampling)
  Chain 2: Iteration: 2500 / 5000 [ 50%]  (Warmup)
  Chain 2: Iteration: 2501 / 5000 [ 50%]  (Sampling)
  Chain 1: Iteration: 4500 / 5000 [ 90%]  (Sampling)
  Chain 2: Iteration: 3000 / 5000 [ 60%]  (Sampling)
  Chain 1: Iteration: 5000 / 5000 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.749 seconds (Warm-up)
  Chain 1:                2.043 seconds (Sampling)
  Chain 1:                2.792 seconds (Total)
  Chain 1: 
  Chain 2: Iteration: 3500 / 5000 [ 70%]  (Sampling)
  Chain 2: Iteration: 4000 / 5000 [ 80%]  (Sampling)
  Chain 2: Iteration: 4500 / 5000 [ 90%]  (Sampling)
  Chain 2: Iteration: 5000 / 5000 [100%]  (Sampling)
  Chain 2: 
  Chain 2:  Elapsed Time: 0.733 seconds (Warm-up)
  Chain 2:                1.888 seconds (Sampling)
  Chain 2:                2.621 seconds (Total)
  Chain 2: 
  Iteration: 1
  Iteration: 2
  Iteration: 3
  Iteration: 4
  == Skipped tests ===============================================================
  * On CRAN (13)
  
  == Failed tests ================================================================
  -- Error (???): stan_bridge_sampler --------------------------------------------
  Error: filee5647c7b1ff5.o:filee5647c7b1ff5.cpp:(.text$_ZN3tbb8internal26task_scheduler_observer_v3D1Ev[_ZN3tbb8internal26task_scheduler_observer_v3D1Ev]+0x14): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'filee5647c7b1ff5.o:filee5647c7b1ff5.cpp:(.text$_ZN3tbb8internal26task_scheduler_observer_v3D0Ev[_ZN3tbb8internal26task_scheduler_observer_v3D0Ev]+0x1c): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'filee5647c7b1ff5.o:filee5647c7b1ff5.cpp:(.text$_ZN4stan4math16ad_tape_observerD1Ev[_ZN4stan4math16ad_tape_observerD1Ev]+0x15): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'filee5647c7b1ff5.o:filee5647c7b1ff5.cpp:(.text$_ZN4stan4math16ad_tape_observerD1Ev[_ZN4stan4math16ad_tape_observerD1Ev]+0x47): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'filee5647c7b1ff5.o:filee5647c7b1ff5.cpp:(.text$_ZN4stan4math16ad_tape_observerD0Ev[_ZN4stan4math16ad_tape_observerD0Ev]+0x15): more undefined references to `tbb::internal::task_scheduler_observer_v3::observe(bool)' followcollect2.exe: error: ld returned 1 exit status
  Backtrace:
      x
   1. +-base::suppressMessages(...)
   2. | \-base::withCallingHandlers(expr, message = function(c) invokeRestart("muffleMessage"))
   3. \-rstan::stan_model(model_code = stancodeH0, model_name = "stanmodel")
   4.   \-rstan:::cxxfunctionplus(...)
   5.     +-pkgbuild::with_build_tools(...)
   6.     | \-withr::with_path(rtools_path(), code)
   7.     |   \-base::force(code)
   8.     \-inline::cxxfunction(...)
   9.       \-inline:::compileCode(f, code, language = language, verbose = verbose)
  -- Error (???): stan_bridge_sampler --------------------------------------------
  Error: invalid connection
  Backtrace:
      x
   1. +-base::suppressMessages(...)
   2. | \-base::withCallingHandlers(expr, message = function(c) invokeRestart("muffleMessage"))
   3. \-rstan::stan_model(model_code = stancodeH0, model_name = "stanmodel")
   4.   \-rstan:::cxxfunctionplus(...)
   5.     \-base::sink(type = "output")
  
  [ FAIL 2 | WARN 0 | SKIP 13 | PASS 64 ]
  Error: Test failures
  Execution halted