Running ‘testthat.R’ [129s/157s]
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 '/home/ripley/R/cc/etc/Makeconf' -f '/home/ripley/R/cc/share/make/shlib.mk' CXX='$(CXX14) $(CXX14STD)' CXXFLAGS='$(CXX14FLAGS)' CXXPICFLAGS='$(CXX14PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX14LDFLAGS)' SHLIB_LD='$(SHLIB_CXX14LD)' SHLIB='file39023b9c7f6b.so' OBJECTS='file39023b9c7f6b.o'
  
  make would use
  /home/ripley/developerstudio12.6/bin/CC -std=c++14 -I"/home/ripley/R/cc/include" -DNDEBUG   -I"/home/ripley/R/Lib32/Rcpp/include/"  -I"/tmp/RtmpI5a4r6/RLIBS_748f446d2ef2/RcppEigen/include/"  -I"/tmp/RtmpI5a4r6/RLIBS_748f446d2ef2/RcppEigen/include/unsupported"  -I"/tmp/RtmpI5a4r6/RLIBS_748f446d2ef2/BH/include" -I"/home/ripley/R/Lib32/StanHeaders/include/src/"  -I"/home/ripley/R/Lib32/StanHeaders/include/"  -I"/home/ripley/R/Lib32/RcppParallel/include/"  -I"/home/ripley/R/Lib32/rstan/include" -DEIGEN_NO_DEBUG  -DBOOST_DISABLE_ASSERTS  -DBOOST_PENDING_INTEGER_LOG2_HPP  -DSTAN_THREADS  -DBOOST_NO_AUTO_PTR  -include '/home/ripley/R/Lib32/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp'  -D_REENTRANT -DRCPP_PARALLEL_USE_TBB=1   -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c file39023b9c7f6b.cpp -o file39023b9c7f6b.o
  if test  "zfile39023b9c7f6b.o" != "z"; then \
    echo /home/ripley/developerstudio12.6/bin/CC -std=c++14 -G  -L/usr/local/lib -o file39023b9c7f6b.so file39023b9c7f6b.o  '/home/ripley/R/Lib32/rstan/lib//libStanServices.a' -L'/home/ripley/R/Lib32/StanHeaders/lib/' -lStanHeaders -L'/home/ripley/R/Lib32/RcppParallel/lib/' -ltbb  ; \
    /home/ripley/developerstudio12.6/bin/CC -std=c++14 -G  -L/usr/local/lib -o file39023b9c7f6b.so file39023b9c7f6b.o  '/home/ripley/R/Lib32/rstan/lib//libStanServices.a' -L'/home/ripley/R/Lib32/StanHeaders/lib/' -lStanHeaders -L'/home/ripley/R/Lib32/RcppParallel/lib/' -ltbb  ; \
  fi
  
  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)
  
  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 1: Iteration:  500 / 5000 [ 10%]  (Warmup)
  Chain 2: Iteration:  500 / 5000 [ 10%]  (Warmup)
  Chain 1: Iteration: 1000 / 5000 [ 20%]  (Warmup)
  Chain 2: Iteration: 1000 / 5000 [ 20%]  (Warmup)
  Chain 1: Iteration: 1500 / 5000 [ 30%]  (Warmup)
  Chain 2: 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 2: Iteration: 2000 / 5000 [ 40%]  (Warmup)
  Chain 2: Iteration: 2500 / 5000 [ 50%]  (Warmup)
  Chain 2: Iteration: 2501 / 5000 [ 50%]  (Sampling)
  Chain 1: Iteration: 3000 / 5000 [ 60%]  (Sampling)
  Chain 2: Iteration: 3000 / 5000 [ 60%]  (Sampling)
  Chain 1: Iteration: 3500 / 5000 [ 70%]  (Sampling)
  Chain 2: Iteration: 3500 / 5000 [ 70%]  (Sampling)
  Chain 1: Iteration: 4000 / 5000 [ 80%]  (Sampling)
  Chain 2: Iteration: 4000 / 5000 [ 80%]  (Sampling)
  Chain 2: Iteration: 4500 / 5000 [ 90%]  (Sampling)
  Chain 1: Iteration: 4500 / 5000 [ 90%]  (Sampling)
  Chain 2: Iteration: 5000 / 5000 [100%]  (Sampling)
  Chain 2: 
  Chain 2:  Elapsed Time: 0.6 seconds (Warm-up)
  Chain 2:                0.72 seconds (Sampling)
  Chain 2:                1.32 seconds (Total)
  Chain 2: 
  Chain 1: Iteration: 5000 / 5000 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.62 seconds (Warm-up)
  Chain 1:                0.94 seconds (Sampling)
  Chain 1:                1.56 seconds (Total)
  Chain 1: 
  Iteration: 1
  Iteration: 2
  Iteration: 3
  Iteration: 4
  Iteration: 5
  
  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)
  
  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 1: Iteration: 2500 / 5000 [ 50%]  (Warmup)
  Chain 1: Iteration: 2501 / 5000 [ 50%]  (Sampling)
  Chain 2: Iteration:  500 / 5000 [ 10%]  (Warmup)
  Chain 1: Iteration: 3000 / 5000 [ 60%]  (Sampling)
  Chain 2: Iteration: 1000 / 5000 [ 20%]  (Warmup)
  Chain 1: Iteration: 3500 / 5000 [ 70%]  (Sampling)
  Chain 2: Iteration: 1500 / 5000 [ 30%]  (Warmup)
  Chain 1: Iteration: 4000 / 5000 [ 80%]  (Sampling)
  Chain 2: Iteration: 2000 / 5000 [ 40%]  (Warmup)
  Chain 1: Iteration: 4500 / 5000 [ 90%]  (Sampling)
  Chain 2: Iteration: 2500 / 5000 [ 50%]  (Warmup)
  Chain 2: Iteration: 2501 / 5000 [ 50%]  (Sampling)
  Chain 1: Iteration: 5000 / 5000 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 1.11 seconds (Warm-up)
  Chain 1:                1.05 seconds (Sampling)
  Chain 1:                2.16 seconds (Total)
  Chain 1: 
  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: 1.06 seconds (Warm-up)
  Chain 2:                1.36 seconds (Sampling)
  Chain 2:                2.42 seconds (Total)
  Chain 2: 
  Iteration: 1
  Iteration: 2
  Iteration: 3
  Iteration: 4
  Iteration: 5
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (14)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-stan_bridge_sampler_basic.R:57:5): stan_bridge_sampler ──────────
  Error: "/tmp/RtmpI5a4r6/RLIBS_748f446d2ef2/RcppEigen/include/Eigen/src/Core/CwiseUnaryView.h", line 59:     Where: Specialized in Eigen::CwiseUnaryView<Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>>::val_Op, Eigen::Map<Eigen::Matrix<stan::math::vari*, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0>>>."/home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/fun/dot_self.hpp", line 40:     Where: Specialized in non-template code. >> Assertion:   (../lnk/tempparse.cc, line 2009)    while processing /home/ripley/R/Lib32/StanHeaders/include/stan/math/rev/mat/fun/dot_self.hpp at line 54.make: Fatal error: Command failed for target `file39023b9c7f6b.o'Current working directory /tmp/RtmpI5a4r6/working_dir/RtmpRgaqGC
  Backtrace:
      █
   1. ├─base::suppressWarnings(stan_model(model_code = stancodeH0, model_name = "stanmodel")) test-stan_bridge_sampler_basic.R:57:4
   2. │ └─base::withCallingHandlers(...)
   3. └─rstan::stan_model(model_code = stancodeH0, model_name = "stanmodel")
   4.   └─rstan:::cxxfunctionplus(...)
   5.     ├─pkgbuild::with_build_tools(...)
   6.     └─inline::cxxfunction(...)
   7.       └─inline:::compileCode(f, code, language = language, verbose = verbose)
  ── Error (test-stan_bridge_sampler_basic.R:57:5): stan_bridge_sampler ──────────
  Error: invalid connection
  Backtrace:
      █
   1. ├─base::suppressWarnings(stan_model(model_code = stancodeH0, model_name = "stanmodel")) test-stan_bridge_sampler_basic.R:57:4
   2. │ └─base::withCallingHandlers(...)
   3. └─rstan::stan_model(model_code = stancodeH0, model_name = "stanmodel")
   4.   └─rstan:::cxxfunctionplus(...)
   5.     └─base::sink(type = "output")
  
  [ FAIL 2 | WARN 0 | SKIP 14 | PASS 64 ]
  Error: Test failures
  Execution halted