Running 'testthat.R' [137s]
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
  -- 1. Error: stan_bridge_sampler (@test-stan_bridge_sampler_basic.R#56)  -------
  Compilation ERROR, function(s)/method(s) not created! In file included from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/BH/include/boost/config.hpp:39:0,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/BH/include/boost/math/tools/config.hpp:13,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/rev/core/var.hpp:7,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/rev/core/gevv_vvv_vari.hpp:5,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/rev/core.hpp:12,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/rev/mat.hpp:4,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math.hpp:4,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/src/stan/model/model_header.hpp:4,
                   from file1f9c03a3026d1.cpp:8:
  D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/BH/include/boost/config/compiler/gcc.hpp:186:0: warning: "BOOST_NO_CXX11_RVALUE_REFERENCES" redefined
   #  define BOOST_NO_CXX11_RVALUE_REFERENCES
   ^
  <command-line>:0:0: note: this is the location of the previous definition
  In file included from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/rev/core/gevv_vvv_vari.hpp:5:0,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/rev/core.hpp:12,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/rev/mat.hpp:4,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math.hpp:4,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/src/stan/model/model_header.hpp:4,
                   from file1f9c03a3026d1.cpp:8:
  D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/rev/core/var.hpp:56:3: warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat]
     bool is_uninitialized() { return (vi_ == static_cast<vari*>(nullptr)); }
     ^
  In file included from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_multiply.hpp:5:0,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/prim/mat.hpp:162,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/rev/mat.hpp:12,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math.hpp:4,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/src/stan/model/model_header.hpp:4,
                   from file1f9c03a3026d1.cpp:8:
  D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/prim/mat/fun/matrix_exp_action_handler.hpp:20:3: warning: identifier 'constexpr' is a keyword in C++11 [-Wc++0x-compat]
     static constexpr int p_max = 8;
     ^
  In file included from D:/Compiler/gcc-4.9.3/mingw_64/x86_64-w64-mingw32/include/c++/thread:35:0,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/prim/mat/functor/map_rect_concurrent.hpp:10,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/prim/mat/functor/map_rect.hpp:13,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/prim/mat.hpp:262,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/rev/mat.hpp:12,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math.hpp:4,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/src/stan/model/model_header.hpp:4,
                   from file1f9c03a3026d1.cpp:8:
  D:/Compiler/gcc-4.9.3/mingw_64/x86_64-w64-mingw32/include/c++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
   #error This file requires compiler and library support for the \
    ^
  In file included from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/prim/arr/functor/integrate_1d.hpp:9:0,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/prim/arr.hpp:43,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/prim/mat.hpp:325,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/rev/mat.hpp:12,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math.hpp:4,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/src/stan/model/model_header.hpp:4,
                   from file1f9c03a3026d1.cpp:8:
  D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/BH/include/boost/math/quadrature/tanh_sinh.hpp:47:5: warning: identifier 'decltype' is a keyword in C++11 [-Wc++0x-compat]
       auto integrate(const F f, Real a, Real b, Real tolerance = tools::root_epsilon<Real>(), Real* error = nullptr, Real* L1 = nullptr, std::size_t* levels = nullptr) ->decltype(Real(std::declval<F>()(std::declval<Real>()))) const;
       ^
  In file included from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4:0,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/rev/core.hpp:4,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/rev/mat.hpp:4,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math.hpp:4,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/src/stan/model/model_header.hpp:4,
                   from file1f9c03a3026d1.cpp:8:
  D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/memory/stack_alloc.hpp: In destructor 'stan::math::stack_alloc::~stack_alloc()':
  D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/memory/stack_alloc.hpp:145:10: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
       for (auto& block : blocks_)
            ^
  D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/memory/stack_alloc.hpp:145:24: error: range-based 'for' loops are not allowed in C++98 mode
       for (auto& block : blocks_)
                          ^
  D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/memory/stack_alloc.hpp:147:19: error: invalid conversion from 'int' to 'void*' [-fpermissive]
           free(block);
                     ^
  In file included from D:/Compiler/gcc-4.9.3/mingw_64/x86_64-w64-mingw32/include/c++/cstdlib:72:0,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/memory/stack_alloc.hpp:8,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:4,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/rev/core.hpp:4,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/rev/mat.hpp:4,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math.hpp:4,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/src/stan/model/model_header.hpp:4,
                   from file1f9c03a3026d1.cpp:8:
  D:/Compiler/gcc-4.9.3/mingw_64/x86_64-w64-mingw32/include/stdlib.h:438:16: note: initializing argument 1 of 'void free(void*)'
     void __cdecl free(void *_Memory);
                  ^
  In file included from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/rev/core.hpp:4:0,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/rev/mat.hpp:4,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math.hpp:4,
                   from D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/src/stan/model/model_header.hpp:4,
                   from file1f9c03a3026d1.cpp:8:
  D:/temp/RtmpGABb9A/RLIBS_2c76045a3b46/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp: At global scope:
  D:/temp/RtmpGABb9A/RLIBS_2c76
  1: capture.output(suppressMessages(stanmodelH0 <- stan_model(model_code = stancodeH0, 
         model_name = "stanmodel"))) at testthat/test-stan_bridge_sampler_basic.R:56
  2: evalVis(expr)
  3: withVisible(eval(expr, pf))
  4: eval(expr, pf)
  5: eval(expr, pf)
  6: suppressMessages(stanmodelH0 <- stan_model(model_code = stancodeH0, model_name = "stanmodel"))
  7: withCallingHandlers(expr, message = function(c) invokeRestart("muffleMessage"))
  8: stan_model(model_code = stancodeH0, model_name = "stanmodel")
  9: cxxfunctionplus(signature(), body = paste(" return Rcpp::wrap(\"", model_name, "\");", 
         sep = ""), includes = inc, plugin = "rstan", save_dso = save_dso | auto_write, 
         module_name = paste("stan_fit4", model_cppname, "_mod", sep = ""), verbose = verbose)
  10: cxxfunction(sig = sig, body = body, plugin = plugin, includes = includes, settings = settings, 
         ..., verbose = verbose)
  11: compileCode(f, code, language = language, verbose = verbose)
  12: stop(paste("Compilation ERROR, function(s)/method(s) not created!", paste(errmsg, 
         collapse = "\n")))
  
  starting worker pid=163148 on localhost:11804 at 01:49:43.935
  starting worker pid=23948 on localhost:11804 at 01:49:44.403
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:    1 / 5000 [  0%]  (Warmup)
  Iteration:  500 / 5000 [ 10%]  (Warmup)
  Iteration: 1000 / 5000 [ 20%]  (Warmup)
  Iteration: 1500 / 5000 [ 30%]  (Warmup)
  Iteration: 2000 / 5000 [ 40%]  (Warmup)
  Iteration: 2500 / 5000 [ 50%]  (Warmup)
  Iteration: 2501 / 5000 [ 50%]  (Sampling)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:    1 / 5000 [  0%]  (Warmup)
  Iteration:  500 / 5000 [ 10%]  (Warmup)
  Iteration: 3000 / 5000 [ 60%]  (Sampling)
  Iteration: 1000 / 5000 [ 20%]  (Warmup)
  Iteration: 1500 / 5000 [ 30%]  (Warmup)
  Iteration: 2000 / 5000 [ 40%]  (Warmup)
  Iteration: 3500 / 5000 [ 70%]  (Sampling)
  Iteration: 2500 / 5000 [ 50%]  (Warmup)
  Iteration: 2501 / 5000 [ 50%]  (Sampling)
  Iteration: 4000 / 5000 [ 80%]  (Sampling)
  Iteration: 3000 / 5000 [ 60%]  (Sampling)
  Iteration: 4500 / 5000 [ 90%]  (Sampling)
  Iteration: 3500 / 5000 [ 70%]  (Sampling)
  Iteration: 5000 / 5000 [100%]  (Sampling)
  
   Elapsed Time: 0.468 seconds (Warm-up)
                 1.591 seconds (Sampling)
                 2.059 seconds (Total)
  
  Iteration: 4000 / 5000 [ 80%]  (Sampling)
  Iteration: 4500 / 5000 [ 90%]  (Sampling)
  Iteration: 5000 / 5000 [100%]  (Sampling)
  
   Elapsed Time: 0.484 seconds (Warm-up)
                 1.56 seconds (Sampling)
                 2.044 seconds (Total)
  
  Iteration: 1
  Iteration: 2
  Iteration: 3
  Iteration: 4
  Iteration: 5
  starting worker pid=120844 on localhost:11804 at 01:50:07.110
  starting worker pid=72448 on localhost:11804 at 01:50:07.531
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 1).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:    1 / 5000 [  0%]  (Warmup)
  Iteration:  500 / 5000 [ 10%]  (Warmup)
  Iteration: 1000 / 5000 [ 20%]  (Warmup)
  Iteration: 1500 / 5000 [ 30%]  (Warmup)
  Iteration: 2000 / 5000 [ 40%]  (Warmup)
  
  SAMPLING FOR MODEL 'continuous' NOW (CHAIN 2).
  
  Gradient evaluation took 0 seconds
  1000 transitions using 10 leapfrog steps per transition would take 0 seconds.
  Adjust your expectations accordingly!
  
  
  Iteration:    1 / 5000 [  0%]  (Warmup)
  Iteration: 2500 / 5000 [ 50%]  (Warmup)
  Iteration: 2501 / 5000 [ 50%]  (Sampling)
  Iteration:  500 / 5000 [ 10%]  (Warmup)
  Iteration: 1000 / 5000 [ 20%]  (Warmup)
  Iteration: 3000 / 5000 [ 60%]  (Sampling)
  Iteration: 1500 / 5000 [ 30%]  (Warmup)
  Iteration: 2000 / 5000 [ 40%]  (Warmup)
  Iteration: 2500 / 5000 [ 50%]  (Warmup)
  Iteration: 2501 / 5000 [ 50%]  (Sampling)
  Iteration: 3500 / 5000 [ 70%]  (Sampling)
  Iteration: 3000 / 5000 [ 60%]  (Sampling)
  Iteration: 4000 / 5000 [ 80%]  (Sampling)
  Iteration: 3500 / 5000 [ 70%]  (Sampling)
  Iteration: 4500 / 5000 [ 90%]  (Sampling)
  Iteration: 4000 / 5000 [ 80%]  (Sampling)
  Iteration: 5000 / 5000 [100%]  (Sampling)
  
   Elapsed Time: 0.655 seconds (Warm-up)
                 1.903 seconds (Sampling)
                 2.558 seconds (Total)
  
  Iteration: 4500 / 5000 [ 90%]  (Sampling)
  Iteration: 5000 / 5000 [100%]  (Sampling)
  
   Elapsed Time: 0.717 seconds (Warm-up)
                 1.872 seconds (Sampling)
                 2.589 seconds (Total)
  
  Iteration: 1
  Iteration: 2
  Iteration: 3
  Iteration: 4
  == testthat results  ===========================================================
  OK: 66 SKIPPED: 12 FAILED: 1
  1. Error: stan_bridge_sampler (@test-stan_bridge_sampler_basic.R#56) 
  
  Error: testthat unit tests failed
  Execution halted