Running ‘testthat.R’ [198s/306s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > library(testthat)
  > library(prophet)
  Loading required package: Rcpp
  Loading required package: rlang
  
  Attaching package: 'rlang'
  
  The following objects are masked from 'package:testthat':
  
      is_false, is_null, is_true
  
  > 
  > test_check("prophet")
  Error in file(fname, "rt") : cannot open the connection
  In file included from file5c9b4a0f636d.cpp:2:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:535:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5c9b4a0f636d.cpp:2:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:2:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/LU:47:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5c9b4a0f636d.cpp:2:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:3:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Cholesky:12:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Jacobi:29:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5c9b4a0f636d.cpp:2:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:3:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Cholesky:43:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5c9b4a0f636d.cpp:2:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:4:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/QR:17:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Householder:27:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5c9b4a0f636d.cpp:2:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:5:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SVD:48:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5c9b4a0f636d.cpp:2:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:6:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Geometry:58:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5c9b4a0f636d.cpp:2:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:30:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:7:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Eigenvalues:58:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5c9b4a0f636d.cpp:2:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:66:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5c9b4a0f636d.cpp:2:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:27:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/OrderingMethods:71:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5c9b4a0f636d.cpp:2:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCholesky:43:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5c9b4a0f636d.cpp:2:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:32:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseQR:35:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5c9b4a0f636d.cpp:2:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:31:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:33:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/IterativeLinearSolvers:46:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5c9b4a0f636d.cpp:2:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:32:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/CholmodSupport:45:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5c9b4a0f636d.cpp:2:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:35:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/KroneckerProduct:34:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5c9b4a0f636d.cpp:2:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:39:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/Polynomials:135:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5c9b4a0f636d.cpp:2:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:40:
  In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:51:
  /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:10:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
      #pragma clang diagnostic pop
                               ^
  In file included from file5c9b4a0f636d.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:283:
  /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat/prob/gaussian_dlm_obs_rng.hpp:138:7: warning: unused variable 'n' [-Wunused-variable]
    int n = G.rows();  // number of states
        ^
  In file included from file5c9b4a0f636d.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:336:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:34:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:34:
  /data/gannet/ripley/R/test-clang/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
       <boost/typeof/incr_registration_group.hpp>
              ^
  In file included from file5c9b4a0f636d.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:336:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:34:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:35:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/dimension.hpp:21:
  /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
       <boost/typeof/incr_registration_group.hpp>
              ^
  In file included from file5c9b4a0f636d.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:336:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:34:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:35:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/dimension.hpp:21:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/dimension_list.hpp:131:
  /data/gannet/ripley/R/test-clang/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
       <boost/typeof/incr_registration_group.hpp>
              ^
  In file included from file5c9b4a0f636d.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:336:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:34:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:39:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/linear_algebra.hpp:20:
  /data/gannet/ripley/R/test-clang/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
       <boost/typeof/incr_registration_group.hpp>
              ^
  In file included from file5c9b4a0f636d.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:336:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:34:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:40:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/unscale.hpp:28:
  /data/gannet/ripley/R/test-clang/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
       <boost/typeof/incr_registration_group.hpp>
              ^
  In file included from file5c9b4a0f636d.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:336:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:34:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
  /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
       <boost/typeof/incr_registration_group.hpp>
              ^
  In file included from file5c9b4a0f636d.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:336:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:34:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:21:
  /data/gannet/ripley/R/test-clang/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
       <boost/typeof/incr_registration_group.hpp>
              ^
  In file included from file5c9b4a0f636d.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:12:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/mat.hpp:336:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr.hpp:34:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/arr/functor/integrate_ode_rk45.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
  In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
  /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token]
  #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
           ^
  /data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:197:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
       <boost/typeof/incr_registration_group.hpp>
              ^
  In file included from file5c9b4a0f636d.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:16:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat/fun/columns_dot_product.hpp:9:
  /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:44:16: error: no member named 'val' in 'Eigen::Map<Eigen::Matrix<stan::math::vari *, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> >'
      return vd1.val().dot(vd2.val());
             ~~~ ^
  /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:44:30: error: no member named 'val' in 'Eigen::Map<Eigen::Matrix<stan::math::vari *, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> >'
      return vd1.val().dot(vd2.val());
                           ~~~ ^
  /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:67:9: error: no member named 'adj' in 'Eigen::Map<Eigen::Matrix<stan::math::vari *, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> >'
      vd1.adj() += adj_ * vd2.val();
      ~~~ ^
  /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:67:29: error: no member named 'val' in 'Eigen::Map<Eigen::Matrix<stan::math::vari *, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> >'
      vd1.adj() += adj_ * vd2.val();
                          ~~~ ^
  /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:68:9: error: no member named 'adj' in 'Eigen::Map<Eigen::Matrix<stan::math::vari *, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> >'
      vd2.adj() += adj_ * vd1.val();
      ~~~ ^
  /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:68:29: error: no member named 'val' in 'Eigen::Map<Eigen::Matrix<stan::math::vari *, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> >'
      vd2.adj() += adj_ * vd1.val();
                          ~~~ ^
  /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:71:40: error: no member named 'adj' in 'Eigen::Map<Eigen::Matrix<stan::math::vari *, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> >'
      Eigen::Map<vector_vi>(v2, length_).adj()
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
  /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:75:40: error: no member named 'adj' in 'Eigen::Map<Eigen::Matrix<stan::math::vari *, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> >'
      Eigen::Map<vector_vi>(v1, length_).adj()
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
  /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:84:54: error: no member named 'vi' in 'Eigen::Map<const Eigen::Matrix<stan::math::var, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> >'
            = Eigen::Map<const vector_v>(inv, length_).vi();
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
  /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat/fun/dot_product.hpp:96:45: error: no member named 'vi' in 'Eigen::Ref<const Eigen::Matrix<stan::math::var, -1, 1, 0, -1, 1>, 0, Eigen::InnerStride<1> >'
            = Eigen::Ref<const vector_v>(inv).vi();
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
  In file included from file5c9b4a0f636d.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:17:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat/fun/columns_dot_self.hpp:8:
  /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat/fun/dot_self.hpp:29:70: error: no member named 'vi' in 'Eigen::Ref<const Eigen::Matrix<stan::math::var, -1, 1, 0, -1, 1>, 0, Eigen::InnerStride<1> >'
      Eigen::Map<vector_vi>(v_, size_) = Eigen::Ref<const vector_v>(v).vi();
                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
  /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat/fun/dot_self.hpp:40:43: error: no member named 'val' in 'Eigen::Map<Eigen::Matrix<stan::math::vari *, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> >'
      return Eigen::Map<vector_vi>(v, size).val().squaredNorm();
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
  /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat/fun/dot_self.hpp:44:42: error: no member named 'val' in 'Eigen::Ref<const Eigen::Matrix<stan::math::var, -1, 1, 0, -1, 1>, 0, Eigen::InnerStride<1> >'
      return Eigen::Ref<const vector_v>(v).val().squaredNorm();
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
  /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat/fun/dot_self.hpp:52:11: error: no member named 'adj' in 'Eigen::Map<Eigen::Matrix<stan::math::vari *, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> >'
      v_map.adj() += adj_ * 2.0 * v_map.val();
      ~~~~~ ^
  /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat/fun/dot_self.hpp:52:39: error: no member named 'val' in 'Eigen::Map<Eigen::Matrix<stan::math::vari *, -1, 1, 0, -1, 1>, 0, Eigen::Stride<0, 0> >'
      v_map.adj() += adj_ * 2.0 * v_map.val();
                                  ~~~~~ ^
  In file included from file5c9b4a0f636d.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:20:
  /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat/fun/determinant.hpp:38:51: error: no member named 'adj' in 'Eigen::Map<Eigen::Matrix<stan::math::vari *, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0> >'
      Eigen::Map<matrix_vi>(adjARef_, rows_, cols_).adj()
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
  In file included from file5c9b4a0f636d.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:25:
  /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat/fun/grad.hpp:28:9: error: no member named 'adj' in 'Eigen::Matrix<stan::math::var, -1, 1, 0, -1, 1>'
    g = x.adj();
        ~ ^
  In file included from file5c9b4a0f636d.cpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/standalone_functions_header.hpp:5:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math.hpp:4:
  In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat.hpp:27:
  /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:43:12: error: no member named 'val' in 'Eigen::Matrix<stan::math::var, -1, -1, 0, -1, -1>'
      Ad = A.val();
           ~ ^
  /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/mat/fun/inverse.hpp:46:45: error: no member named 'vi' in 'Eigen::Matrix<stan::math::var, -1, -1, 0, -1, -1>'
      Map<matrix_vi>(vari_ref_A_, M_, M_) = A.vi();
                                            ~ ^
  fatal error: too many errors emitted, stopping now [-ferror-limit=]
  26 warnings and 20 errors generated.
  make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:173: file5c9b4a0f636d.o] Error 1
  make[1]: Target 'all' not remade because of errors.
  ── 1. Error: (unknown) (@test_stan_functions.R#4)  ─────────────────────────────
  Error 1 occurred building shared library.
  Backtrace:
   1. base::tryCatch(...)
   2. base:::tryCatchList(expr, classes, parentenv, handlers)
   3. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   4. value[[3L]](cond)
   5. rstan::expose_stan_functions(...)
   9. Rcpp::sourceCpp(code = paste(code, collapse = "\n"), ...)
  
  ── 2. Error: (unknown) (@test_stan_functions.R#4)  ─────────────────────────────
  invalid connection
  Backtrace:
   1. base::tryCatch(...)
   2. base:::tryCatchList(expr, classes, parentenv, handlers)
   3. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   4. value[[3L]](cond)
   5. rstan::expose_stan_functions(...)
   6. base::sink(type = "output")
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 332 | SKIPPED: 0 | WARNINGS: 2 | FAILED: 2 ]
  1. Error: (unknown) (@test_stan_functions.R#4) 
  2. Error: (unknown) (@test_stan_functions.R#4) 
  
  Error: testthat unit tests failed
  Execution halted