Running 'testthat.R' [117s]
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  ----------------------------------------------
  Compilation ERROR, function(s)/method(s) not created! In file included from D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/stan/math/prim/mat/prob/dirichlet_log.hpp:5:0,
                   from D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/stan/math/prim/mat.hpp:278,
                   from D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/stan/math/rev/mat.hpp:12,
                   from D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/stan/math.hpp:4,
                   from D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/src/stan/model/model_header.hpp:4,
                   from file113b859571048.cpp:14:
  D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/stan/math/prim/mat/prob/dirichlet_lpmf.hpp: In function 'stan::return_type_t<T1, T2> stan::math::dirichlet_lpmf(const T_prob&, const T_prior_size&)':
  D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/stan/math/prim/mat/prob/dirichlet_lpmf.hpp:60:74: warning: typedef 'using T_partials_vec = struct Eigen::Matrix<typename stan::partials_return_type<T_prob, T_prior_size>::type, -1, 1>' locally defined but not used [-Wunused-local-typedefs]
     using T_partials_vec = typename Eigen::Matrix<T_partials_return, -1, 1>;
                                                                            ^
  In file included from D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/stan/math/prim/mat/prob/poisson_log_glm_log.hpp:5:0,
                   from D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/stan/math/prim/mat.hpp:328,
                   from D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/stan/math/rev/mat.hpp:12,
                   from D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/stan/math.hpp:4,
                   from D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/src/stan/model/model_header.hpp:4,
                   from file113b859571048.cpp:14:
  D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/stan/math/prim/mat/prob/poisson_log_glm_lpmf.hpp: In function 'stan::return_type_t<T_x, T_alpha, T_beta> stan::math::poisson_log_glm_lpmf(const T_y&, const T_x&, const T_alpha&, const T_beta&)':
  D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/stan/math/prim/mat/prob/poisson_log_glm_lpmf.hpp:55:34: warning: typedef 'using T_alpha_val = std::conditional_t<stan::is_vector<T4>::value, Eigen::Array<typename stan::partials_return_type<T_alpha>::type, -1, 1>, typename stan::partials_return_type<T_alpha>::type>' locally defined but not used [-Wunused-local-typedefs]
         partials_return_t<T_alpha>>;
                                    ^
  In file included from D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/stan/math/rev/mat.hpp:51:0,
                   from D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/stan/math.hpp:4,
                   from D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/src/stan/model/model_header.hpp:4,
                   from file113b859571048.cpp:14:
  D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp: In static member function 'static double stan::math::internal::squared_distance_vv_vari::var_squared_distance(const Eigen::Matrix<stan::math::var, R, C>&, const Eigen::Matrix<stan::math::var, R2, C2, (AutoAlign | (((R2 == 1) && (C2 != 1)) ? RowMajor : (((C2 == 1) && (R2 != 1)) ? ColMajor :  ColMajor))), R2, C2>&)':
  D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp:27:54: warning: typedef 'using idx_t = using type = Eigen::EigenBase<Eigen::Matrix<stan::math::var, -1, -1> >::Index' locally defined but not used [-Wunused-local-typedefs]
       using idx_t = typename index_type<matrix_v>::type;
                                                        ^
  D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp: In static member function 'static double stan::math::internal::squared_distance_vd_vari::var_squared_distance(const Eigen::Matrix<stan::math::var, R, C>&, const Eigen::Matrix<double, R2, C2>&)':
  D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/stan/math/rev/mat/fun/squared_distance.hpp:64:54: warning: typedef 'using idx_t = using type = Eigen::EigenBase<Eigen::Matrix<double, -1, -1> >::Index' locally defined but not used [-Wunused-local-typedefs]
       using idx_t = typename index_type<matrix_d>::type;
                                                        ^
  file113b859571048.cpp: In member function 'virtual void model113b841ce3bc0_stanmodel_namespace::model113b841ce3bc0_stanmodel::transform_inits(const stan::io::var_context&, std::vector<int>&, std::vector<double>&, std::ostream*) const':
  file113b859571048.cpp:151:24: warning: typedef 'local_scalar_t__' locally defined but not used [-Wunused-local-typedefs]
           typedef double local_scalar_t__;
                          ^
  In file included from D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/stan/math/rev/core.hpp:46:0,
                   from D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/stan/math/rev/mat.hpp:6,
                   from D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/stan/math.hpp:4,
                   from D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/src/stan/model/model_header.hpp:4,
                   from file113b859571048.cpp:14:
  D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp: At global scope:
  D:/temp/Rtmpeutkkc/RLIBS_289b87a545478/StanHeaders/include/stan/math/rev/core/set_zero_all_adjoints.hpp:14:13: warning: 'void stan::math::set_zero_all_adjoints()' defined but not used [-Wunused-function]
   static void set_zero_all_adjoints() {
               ^
  file113b859571048.o:file113b859571048.cpp:(.text+0xe7c): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'
  file113b859571048.o:file113b859571048.cpp:(.text+0x17a7): undefined reference to `rstan::stan_fit::stan_fit(SEXPREC*, int)'
  file113b859571048.o:file113b859571048.cpp:(.text+0xebe): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'
  file113b859571048.o:file113b859571048.cpp:(.text$_ZN3tbb8internal26task_scheduler_observer_v3D1Ev[_ZN3tbb8internal26task_scheduler_observer_v3D1Ev]+0x14): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'
  file113b859571048.o:file113b859571048.cpp:(.text$_ZN3tbb8internal26task_scheduler_observer_v3D0Ev[_ZN3tbb8internal26task_scheduler_observer_v3D0Ev]+0x1c): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'
  file113b859571048.o:file113b859571048.cpp:(.text$_ZN4stan4math16ad_tape_observerD1Ev[_ZN4stan4math16ad_tape_observerD1Ev]+0x15): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'
  file113b859571048.o:file113b859571048.cpp:(.text$_ZN4stan4math16ad_tape_observerD1Ev[_ZN4stan4math16ad_tape_observerD1Ev]+0x47): undefined reference to `tbb::internal::task_scheduler_observer_v3::observe(bool)'
  file113b859571048.o:file113b859571048.cpp:(.text$_ZN4stan4math16ad_tape_observerD0Ev[_ZN4stan4math16ad_tape_observerD0Ev]+0x15): more undefined references to `tbb::internal::task_scheduler_observer_v3::observe(bool)' follow
  collect2.exe: error: ld returned 1 exit status
  Backtrace:
   1. base::suppressMessages(...)
   3. rstan::stan_model(model_code = stancodeH0, model_name = "stanmodel")
   4. rstan:::cxxfunctionplus(...)
   8. inline::cxxfunction(...)
   9. inline:::compileCode(f, code, language = language, verbose = verbose)
  
  -- 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=147012 on localhost:11683 at 11:56:27.580
  starting worker pid=191504 on localhost:11683 at 11:56:27.883
  
  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)
  
  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: 3000 / 5000 [ 60%]  (Sampling)
  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 1: Iteration: 3500 / 5000 [ 70%]  (Sampling)
  Chain 2: Iteration: 3000 / 5000 [ 60%]  (Sampling)
  Chain 1: Iteration: 4000 / 5000 [ 80%]  (Sampling)
  Chain 2: Iteration: 3500 / 5000 [ 70%]  (Sampling)
  Chain 2: Iteration: 4000 / 5000 [ 80%]  (Sampling)
  Chain 1: Iteration: 4500 / 5000 [ 90%]  (Sampling)
  Chain 2: Iteration: 4500 / 5000 [ 90%]  (Sampling)
  Chain 1: Iteration: 5000 / 5000 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.483 seconds (Warm-up)
  Chain 1:                1.652 seconds (Sampling)
  Chain 1:                2.135 seconds (Total)
  Chain 1: 
  Chain 2: Iteration: 5000 / 5000 [100%]  (Sampling)
  Chain 2: 
  Chain 2:  Elapsed Time: 0.312 seconds (Warm-up)
  Chain 2:                1.106 seconds (Sampling)
  Chain 2:                1.418 seconds (Total)
  Chain 2: 
  Iteration: 1
  Iteration: 2
  Iteration: 3
  Iteration: 4
  Iteration: 5
  starting worker pid=92264 on localhost:11683 at 11:56:43.212
  starting worker pid=115296 on localhost:11683 at 11:56:43.515
  
  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 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 1: Iteration: 5000 / 5000 [100%]  (Sampling)
  Chain 1: 
  Chain 1:  Elapsed Time: 0.553 seconds (Warm-up)
  Chain 1:                1.72 seconds (Sampling)
  Chain 1:                2.273 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.774 seconds (Warm-up)
  Chain 2:                2.118 seconds (Sampling)
  Chain 2:                2.892 seconds (Total)
  Chain 2: 
  Iteration: 1
  Iteration: 2
  Iteration: 3
  Iteration: 4
  == testthat results  ===========================================================
  [ OK: 64 | SKIPPED: 13 | WARNINGS: 0 | FAILED: 2 ]
  1. Error: stan_bridge_sampler 
  2. Error: stan_bridge_sampler 
  
  Error: testthat unit tests failed
  Execution halted