Running 'testthat.R' [62s]
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
  sh: c:/Rtools/mingw_64/bin/g++: No such file or directory
  make[1]: *** [D:/RCompile/recent/R4/etc/x64/Makeconf:224: file27fa87f4463f.o] Error 127
  -- 1. Error: stan_bridge_sampler  ----------------------------------------------
  cannot open the connection
  Backtrace:
   1. base::suppressMessages(...)
   3. rstan::stan_model(model_code = stancodeH0, model_name = "stanmodel")
   4. rstan:::cxxfunctionplus(...)
   6. inline::cxxfunction(...)
   7. inline:::compileCode(f, code, language = language, verbose = verbose)
   8. base::readLines(errfile)
   9. base::file(con, "r")
  
  -- 2. Error: stan_bridge_sampler  ----------------------------------------------
  invalid connection
  Backtrace:
   1. base::suppressMessages(...)
   3. rstan::stan_model(model_code = stancodeH0, model_name = "stanmodel")
   4. rstan:::cxxfunctionplus(...)
   5. base::sink(type = "output")
  
  starting worker pid=190084 on localhost:11006 at 02:46:00.573
  starting worker pid=170564 on localhost:11006 at 02:46:00.588
  
  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)
  Chain 1: Iteration: 3500 / 5000 [ 70%]  (Sampling)
  Chain 1: Iteration: 4000 / 5000 [ 80%]  (Sampling)
  Chain 1: Iteration: 4500 / 5000 [ 90%]  (Sampling)
  Chain 1: Iteration: 5000 / 5000 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.218 seconds (Warm-up)
  Chain 1:                0.328 seconds (Sampling)
  Chain 1:                0.546 seconds (Total)
  Chain 1: 
  
  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 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 2: Iteration: 3000 / 5000 [ 60%]  (Sampling)
  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.219 seconds (Warm-up)
  Chain 2:                0.374 seconds (Sampling)
  Chain 2:                0.593 seconds (Total)
  Chain 2: 
  Iteration: 1
  Iteration: 2
  Iteration: 3
  Iteration: 4
  Iteration: 5
  Iteration: 6
  starting worker pid=121052 on localhost:11006 at 02:46:15.747
  starting worker pid=211452 on localhost:11006 at 02:46:15.747
  
  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.016 seconds
  Chain 2: 1000 transitions using 10 leapfrog steps per transition would take 160 seconds.
  Chain 2: Adjust your expectations accordingly!
  Chain 2: 
  Chain 2: 
  Chain 2: Iteration:    1 / 5000 [  0%]  (Warmup)
  Chain 1: Iteration: 3500 / 5000 [ 70%]  (Sampling)
  Chain 2: Iteration:  500 / 5000 [ 10%]  (Warmup)
  Chain 2: Iteration: 1000 / 5000 [ 20%]  (Warmup)
  Chain 2: Iteration: 1500 / 5000 [ 30%]  (Warmup)
  Chain 1: Iteration: 4000 / 5000 [ 80%]  (Sampling)
  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 2: Iteration: 3500 / 5000 [ 70%]  (Sampling)
  Chain 1: Iteration: 5000 / 5000 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.686 seconds (Warm-up)
  Chain 1:                0.936 seconds (Sampling)
  Chain 1:                1.622 seconds (Total)
  Chain 1: 
  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.436 seconds (Warm-up)
  Chain 2:                0.578 seconds (Sampling)
  Chain 2:                1.014 seconds (Total)
  Chain 2: 
  Iteration: 1
  Iteration: 2
  Iteration: 3
  Iteration: 4
  Iteration: 5
  == testthat results  ===========================================================
  [ OK: 64 | SKIPPED: 13 | WARNINGS: 2 | FAILED: 2 ]
  1. Error: stan_bridge_sampler 
  2. Error: stan_bridge_sampler 
  
  Error: testthat unit tests failed
  Execution halted