Error(s) in re-building vignettes:
--- re-building ‘stanmath.Rmd’ using rmarkdown
using C++ compiler: ‘clang version 16.0.4’
using C++14
In file included from file315cee2a44bc0b.cpp:3:
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:540:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee2a44bc0b.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee2a44bc0b.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee2a44bc0b.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee2a44bc0b.cpp:3:
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:15:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee2a44bc0b.cpp:3:
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:48:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee2a44bc0b.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee2a44bc0b.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee2a44bc0b.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee2a44bc0b.cpp:3:
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:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
      Index count = 0;
            ^
In file included from file315cee2a44bc0b.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee2a44bc0b.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee2a44bc0b.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee2a44bc0b.cpp:3:
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:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:33:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
  Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
        ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
  Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
        ^
In file included from file315cee2a44bc0b.cpp:3:
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:34:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee2a44bc0b.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee2a44bc0b.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee2a44bc0b.cpp:3:
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/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee2a44bc0b.cpp:3:
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/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee2a44bc0b.cpp:3:
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:44:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:239:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  int count = 0;
      ^
In file included from file315cee2a44bc0b.cpp:3:
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/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee2a44bc0b.cpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err.hpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/check_cholesky_factor_corr.hpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/check_unit_vector.hpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/abs.hpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/hypot.hpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:9:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/check_matching_dims.hpp:33:8: warning: unused variable 'error' [-Wunused-variable]
  bool error = false;
       ^
In file included from file315cee2a44bc0b.cpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err.hpp:50:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/hmm_check.hpp:33:7: warning: unused variable 'n_transitions' [-Wunused-variable]
  int n_transitions = log_omegas.cols() - 1;
      ^
In file included from file315cee2a44bc0b.cpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:118:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/gp_matern52_cov.hpp:275:10: warning: unused variable 'neg_root_5' [-Wunused-variable]
  double neg_root_5 = -root_5;
         ^
In file included from file315cee2a44bc0b.cpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:183:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/log_mix.hpp:86:13: warning: unused variable 'N' [-Wunused-variable]
  const int N = stan::math::size(theta);
            ^
In file included from file315cee2a44bc0b.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee2a44bc0b.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee2a44bc0b.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee2a44bc0b.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee2a44bc0b.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee2a44bc0b.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee2a44bc0b.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee2a44bc0b.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee2a44bc0b.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:87:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/double_exponential_cdf.hpp:82:10: warning: unused variable 'N' [-Wunused-variable]
  size_t N = max_size(y, mu, sigma);
         ^
In file included from file315cee2a44bc0b.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:128:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:7: warning: unused variable 'n' [-Wunused-variable]
  int n = G.rows();  // number of states
      ^
In file included from file315cee2a44bc0b.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:139:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/hmm_marginal.hpp:26:13: warning: unused variable 'n_states' [-Wunused-variable]
  const int n_states = omegas.rows();
            ^
In file included from file315cee2a44bc0b.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:315:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/std_normal_rng.hpp:23:22: warning: unused variable 'function' [-Wunused-variable]
  static const char* function = "std_normal_rng";
                     ^
In file included from file315cee2a44bc0b.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:335:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/von_mises_cdf.hpp:72:10: warning: unused variable 'ck' [-Wunused-variable]
  double ck = 50;
         ^
In file included from file315cee2a44bc0b.cpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:110:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/generalized_inverse.hpp:34:9: warning: unused type alias 'value_t' [-Wunused-local-typedef]
  using value_t = value_type_t<EigMat>;
        ^
In file included from file315cee2a44bc0b.cpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:319:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/tail.hpp:46:9: warning: unused type alias 'idx_t' [-Wunused-local-typedef]
  using idx_t = index_type_t<std::vector<T>>;
        ^
In file included from file315cee2a44bc0b.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/bernoulli_logit_glm_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/bernoulli_logit_glm_lpmf.hpp:59:9: warning: unused type alias 'T_y_val' [-Wunused-local-typedef]
  using T_y_val =
        ^
In file included from file315cee2a44bc0b.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:31:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/beta_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/beta_lpdf.hpp:50:9: warning: unused type alias 'T_partials_matrix' [-Wunused-local-typedef]
  using T_partials_matrix = Eigen::Matrix<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee2a44bc0b.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:37:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/beta_proportion_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/beta_proportion_lpdf.hpp:55:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee2a44bc0b.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:63:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/cauchy_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/cauchy_lpdf.hpp:45:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee2a44bc0b.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:74:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/dirichlet_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/dirichlet_lpdf.hpp:60:9: warning: unused type alias 'T_partials_vec' [-Wunused-local-typedef]
  using T_partials_vec = typename Eigen::Matrix<T_partials_return, -1, 1>;
        ^
In file included from file315cee2a44bc0b.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:91:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/double_exponential_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/double_exponential_lpdf.hpp:44:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee2a44bc0b.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:111:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/frechet_cdf.hpp:30:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee2a44bc0b.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:245:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/ordered_logistic_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/ordered_logistic_lpmf.hpp:76:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, -1, 1>;
        ^
In file included from file315cee2a44bc0b.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:277:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/poisson_log_glm_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/poisson_log_glm_lpmf.hpp:62:9: warning: unused type alias 'T_alpha_val' [-Wunused-local-typedef]
  using T_alpha_val = typename std::conditional_t<
        ^
50 warnings generated.
using C++ compiler: ‘clang version 16.0.4’
using C++14
In file included from file315cee7b2e7c99.cpp:3:
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:540:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7b2e7c99.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7b2e7c99.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7b2e7c99.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7b2e7c99.cpp:3:
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:15:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7b2e7c99.cpp:3:
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:48:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7b2e7c99.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7b2e7c99.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7b2e7c99.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7b2e7c99.cpp:3:
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:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
      Index count = 0;
            ^
In file included from file315cee7b2e7c99.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7b2e7c99.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7b2e7c99.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7b2e7c99.cpp:3:
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:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:33:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
  Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
        ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
  Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
        ^
In file included from file315cee7b2e7c99.cpp:3:
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:34:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7b2e7c99.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7b2e7c99.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7b2e7c99.cpp:3:
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/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7b2e7c99.cpp:3:
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/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7b2e7c99.cpp:3:
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:44:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:239:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  int count = 0;
      ^
In file included from file315cee7b2e7c99.cpp:3:
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/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7b2e7c99.cpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err.hpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/check_cholesky_factor_corr.hpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/check_unit_vector.hpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/abs.hpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/hypot.hpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:9:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/check_matching_dims.hpp:33:8: warning: unused variable 'error' [-Wunused-variable]
  bool error = false;
       ^
In file included from file315cee7b2e7c99.cpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err.hpp:50:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/hmm_check.hpp:33:7: warning: unused variable 'n_transitions' [-Wunused-variable]
  int n_transitions = log_omegas.cols() - 1;
      ^
In file included from file315cee7b2e7c99.cpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:118:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/gp_matern52_cov.hpp:275:10: warning: unused variable 'neg_root_5' [-Wunused-variable]
  double neg_root_5 = -root_5;
         ^
In file included from file315cee7b2e7c99.cpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:183:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/log_mix.hpp:86:13: warning: unused variable 'N' [-Wunused-variable]
  const int N = stan::math::size(theta);
            ^
In file included from file315cee7b2e7c99.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee7b2e7c99.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee7b2e7c99.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee7b2e7c99.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee7b2e7c99.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee7b2e7c99.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee7b2e7c99.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee7b2e7c99.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee7b2e7c99.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:87:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/double_exponential_cdf.hpp:82:10: warning: unused variable 'N' [-Wunused-variable]
  size_t N = max_size(y, mu, sigma);
         ^
In file included from file315cee7b2e7c99.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:128:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:7: warning: unused variable 'n' [-Wunused-variable]
  int n = G.rows();  // number of states
      ^
In file included from file315cee7b2e7c99.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:139:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/hmm_marginal.hpp:26:13: warning: unused variable 'n_states' [-Wunused-variable]
  const int n_states = omegas.rows();
            ^
In file included from file315cee7b2e7c99.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:315:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/std_normal_rng.hpp:23:22: warning: unused variable 'function' [-Wunused-variable]
  static const char* function = "std_normal_rng";
                     ^
In file included from file315cee7b2e7c99.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:335:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/von_mises_cdf.hpp:72:10: warning: unused variable 'ck' [-Wunused-variable]
  double ck = 50;
         ^
In file included from file315cee7b2e7c99.cpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:110:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/generalized_inverse.hpp:34:9: warning: unused type alias 'value_t' [-Wunused-local-typedef]
  using value_t = value_type_t<EigMat>;
        ^
In file included from file315cee7b2e7c99.cpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:319:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/tail.hpp:46:9: warning: unused type alias 'idx_t' [-Wunused-local-typedef]
  using idx_t = index_type_t<std::vector<T>>;
        ^
In file included from file315cee7b2e7c99.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/bernoulli_logit_glm_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/bernoulli_logit_glm_lpmf.hpp:59:9: warning: unused type alias 'T_y_val' [-Wunused-local-typedef]
  using T_y_val =
        ^
In file included from file315cee7b2e7c99.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:31:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/beta_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/beta_lpdf.hpp:50:9: warning: unused type alias 'T_partials_matrix' [-Wunused-local-typedef]
  using T_partials_matrix = Eigen::Matrix<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee7b2e7c99.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:37:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/beta_proportion_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/beta_proportion_lpdf.hpp:55:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee7b2e7c99.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:63:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/cauchy_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/cauchy_lpdf.hpp:45:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee7b2e7c99.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:74:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/dirichlet_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/dirichlet_lpdf.hpp:60:9: warning: unused type alias 'T_partials_vec' [-Wunused-local-typedef]
  using T_partials_vec = typename Eigen::Matrix<T_partials_return, -1, 1>;
        ^
In file included from file315cee7b2e7c99.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:91:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/double_exponential_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/double_exponential_lpdf.hpp:44:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee7b2e7c99.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:111:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/frechet_cdf.hpp:30:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee7b2e7c99.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:245:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/ordered_logistic_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/ordered_logistic_lpmf.hpp:76:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, -1, 1>;
        ^
In file included from file315cee7b2e7c99.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:277:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/poisson_log_glm_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/poisson_log_glm_lpmf.hpp:62:9: warning: unused type alias 'T_alpha_val' [-Wunused-local-typedef]
  using T_alpha_val = typename std::conditional_t<
        ^
50 warnings generated.
using C++ compiler: ‘clang version 16.0.4’
using C++14
In file included from file315cee7a6948ac.cpp:3:
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:540:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7a6948ac.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7a6948ac.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7a6948ac.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7a6948ac.cpp:3:
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:15:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7a6948ac.cpp:3:
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:48:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7a6948ac.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7a6948ac.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7a6948ac.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7a6948ac.cpp:3:
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:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
      Index count = 0;
            ^
In file included from file315cee7a6948ac.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7a6948ac.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7a6948ac.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7a6948ac.cpp:3:
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:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:33:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
  Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
        ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
  Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
        ^
In file included from file315cee7a6948ac.cpp:3:
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:34:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7a6948ac.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7a6948ac.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7a6948ac.cpp:3:
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/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7a6948ac.cpp:3:
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/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7a6948ac.cpp:3:
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:44:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:239:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  int count = 0;
      ^
In file included from file315cee7a6948ac.cpp:3:
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/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee7a6948ac.cpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err.hpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/check_cholesky_factor_corr.hpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/check_unit_vector.hpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/abs.hpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/hypot.hpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:9:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/check_matching_dims.hpp:33:8: warning: unused variable 'error' [-Wunused-variable]
  bool error = false;
       ^
In file included from file315cee7a6948ac.cpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err.hpp:50:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/hmm_check.hpp:33:7: warning: unused variable 'n_transitions' [-Wunused-variable]
  int n_transitions = log_omegas.cols() - 1;
      ^
In file included from file315cee7a6948ac.cpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:118:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/gp_matern52_cov.hpp:275:10: warning: unused variable 'neg_root_5' [-Wunused-variable]
  double neg_root_5 = -root_5;
         ^
In file included from file315cee7a6948ac.cpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:183:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/log_mix.hpp:86:13: warning: unused variable 'N' [-Wunused-variable]
  const int N = stan::math::size(theta);
            ^
In file included from file315cee7a6948ac.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee7a6948ac.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee7a6948ac.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee7a6948ac.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee7a6948ac.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee7a6948ac.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee7a6948ac.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee7a6948ac.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee7a6948ac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:87:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/double_exponential_cdf.hpp:82:10: warning: unused variable 'N' [-Wunused-variable]
  size_t N = max_size(y, mu, sigma);
         ^
In file included from file315cee7a6948ac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:128:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:7: warning: unused variable 'n' [-Wunused-variable]
  int n = G.rows();  // number of states
      ^
In file included from file315cee7a6948ac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:139:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/hmm_marginal.hpp:26:13: warning: unused variable 'n_states' [-Wunused-variable]
  const int n_states = omegas.rows();
            ^
In file included from file315cee7a6948ac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:315:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/std_normal_rng.hpp:23:22: warning: unused variable 'function' [-Wunused-variable]
  static const char* function = "std_normal_rng";
                     ^
In file included from file315cee7a6948ac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:335:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/von_mises_cdf.hpp:72:10: warning: unused variable 'ck' [-Wunused-variable]
  double ck = 50;
         ^
In file included from file315cee7a6948ac.cpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:110:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/generalized_inverse.hpp:34:9: warning: unused type alias 'value_t' [-Wunused-local-typedef]
  using value_t = value_type_t<EigMat>;
        ^
In file included from file315cee7a6948ac.cpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:319:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/tail.hpp:46:9: warning: unused type alias 'idx_t' [-Wunused-local-typedef]
  using idx_t = index_type_t<std::vector<T>>;
        ^
In file included from file315cee7a6948ac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/bernoulli_logit_glm_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/bernoulli_logit_glm_lpmf.hpp:59:9: warning: unused type alias 'T_y_val' [-Wunused-local-typedef]
  using T_y_val =
        ^
In file included from file315cee7a6948ac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:31:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/beta_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/beta_lpdf.hpp:50:9: warning: unused type alias 'T_partials_matrix' [-Wunused-local-typedef]
  using T_partials_matrix = Eigen::Matrix<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee7a6948ac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:37:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/beta_proportion_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/beta_proportion_lpdf.hpp:55:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee7a6948ac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:63:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/cauchy_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/cauchy_lpdf.hpp:45:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee7a6948ac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:74:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/dirichlet_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/dirichlet_lpdf.hpp:60:9: warning: unused type alias 'T_partials_vec' [-Wunused-local-typedef]
  using T_partials_vec = typename Eigen::Matrix<T_partials_return, -1, 1>;
        ^
In file included from file315cee7a6948ac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:91:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/double_exponential_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/double_exponential_lpdf.hpp:44:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee7a6948ac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:111:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/frechet_cdf.hpp:30:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee7a6948ac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:245:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/ordered_logistic_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/ordered_logistic_lpmf.hpp:76:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, -1, 1>;
        ^
In file included from file315cee7a6948ac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:277:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/poisson_log_glm_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/poisson_log_glm_lpmf.hpp:62:9: warning: unused type alias 'T_alpha_val' [-Wunused-local-typedef]
  using T_alpha_val = typename std::conditional_t<
        ^
50 warnings generated.
using C++ compiler: ‘clang version 16.0.4’
using C++14
In file included from file315cee1f7f050d.cpp:3:
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:540:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee1f7f050d.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee1f7f050d.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee1f7f050d.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee1f7f050d.cpp:3:
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:15:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee1f7f050d.cpp:3:
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:48:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee1f7f050d.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee1f7f050d.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee1f7f050d.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee1f7f050d.cpp:3:
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:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
      Index count = 0;
            ^
In file included from file315cee1f7f050d.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee1f7f050d.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee1f7f050d.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee1f7f050d.cpp:3:
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:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:33:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
  Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
        ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
  Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
        ^
In file included from file315cee1f7f050d.cpp:3:
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:34:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee1f7f050d.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee1f7f050d.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee1f7f050d.cpp:3:
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/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee1f7f050d.cpp:3:
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/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee1f7f050d.cpp:3:
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:44:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:239:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  int count = 0;
      ^
In file included from file315cee1f7f050d.cpp:3:
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/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee1f7f050d.cpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err.hpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/check_cholesky_factor_corr.hpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/check_unit_vector.hpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/abs.hpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/hypot.hpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:9:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/check_matching_dims.hpp:33:8: warning: unused variable 'error' [-Wunused-variable]
  bool error = false;
       ^
In file included from file315cee1f7f050d.cpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err.hpp:50:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/hmm_check.hpp:33:7: warning: unused variable 'n_transitions' [-Wunused-variable]
  int n_transitions = log_omegas.cols() - 1;
      ^
In file included from file315cee1f7f050d.cpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:118:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/gp_matern52_cov.hpp:275:10: warning: unused variable 'neg_root_5' [-Wunused-variable]
  double neg_root_5 = -root_5;
         ^
In file included from file315cee1f7f050d.cpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:183:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/log_mix.hpp:86:13: warning: unused variable 'N' [-Wunused-variable]
  const int N = stan::math::size(theta);
            ^
In file included from file315cee1f7f050d.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee1f7f050d.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee1f7f050d.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee1f7f050d.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee1f7f050d.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee1f7f050d.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee1f7f050d.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee1f7f050d.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee1f7f050d.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:87:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/double_exponential_cdf.hpp:82:10: warning: unused variable 'N' [-Wunused-variable]
  size_t N = max_size(y, mu, sigma);
         ^
In file included from file315cee1f7f050d.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:128:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:7: warning: unused variable 'n' [-Wunused-variable]
  int n = G.rows();  // number of states
      ^
In file included from file315cee1f7f050d.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:139:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/hmm_marginal.hpp:26:13: warning: unused variable 'n_states' [-Wunused-variable]
  const int n_states = omegas.rows();
            ^
In file included from file315cee1f7f050d.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:315:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/std_normal_rng.hpp:23:22: warning: unused variable 'function' [-Wunused-variable]
  static const char* function = "std_normal_rng";
                     ^
In file included from file315cee1f7f050d.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:335:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/von_mises_cdf.hpp:72:10: warning: unused variable 'ck' [-Wunused-variable]
  double ck = 50;
         ^
In file included from file315cee1f7f050d.cpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:110:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/generalized_inverse.hpp:34:9: warning: unused type alias 'value_t' [-Wunused-local-typedef]
  using value_t = value_type_t<EigMat>;
        ^
In file included from file315cee1f7f050d.cpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:319:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/tail.hpp:46:9: warning: unused type alias 'idx_t' [-Wunused-local-typedef]
  using idx_t = index_type_t<std::vector<T>>;
        ^
In file included from file315cee1f7f050d.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/bernoulli_logit_glm_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/bernoulli_logit_glm_lpmf.hpp:59:9: warning: unused type alias 'T_y_val' [-Wunused-local-typedef]
  using T_y_val =
        ^
In file included from file315cee1f7f050d.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:31:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/beta_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/beta_lpdf.hpp:50:9: warning: unused type alias 'T_partials_matrix' [-Wunused-local-typedef]
  using T_partials_matrix = Eigen::Matrix<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee1f7f050d.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:37:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/beta_proportion_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/beta_proportion_lpdf.hpp:55:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee1f7f050d.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:63:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/cauchy_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/cauchy_lpdf.hpp:45:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee1f7f050d.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:74:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/dirichlet_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/dirichlet_lpdf.hpp:60:9: warning: unused type alias 'T_partials_vec' [-Wunused-local-typedef]
  using T_partials_vec = typename Eigen::Matrix<T_partials_return, -1, 1>;
        ^
In file included from file315cee1f7f050d.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:91:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/double_exponential_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/double_exponential_lpdf.hpp:44:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee1f7f050d.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:111:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/frechet_cdf.hpp:30:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee1f7f050d.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:245:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/ordered_logistic_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/ordered_logistic_lpmf.hpp:76:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, -1, 1>;
        ^
In file included from file315cee1f7f050d.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:277:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/poisson_log_glm_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/poisson_log_glm_lpmf.hpp:62:9: warning: unused type alias 'T_alpha_val' [-Wunused-local-typedef]
  using T_alpha_val = typename std::conditional_t<
        ^
50 warnings generated.
using C++ compiler: ‘clang version 16.0.4’
using C++14
In file included from file315cee3e232eac.cpp:3:
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:540:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee3e232eac.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee3e232eac.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee3e232eac.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee3e232eac.cpp:3:
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:15:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee3e232eac.cpp:3:
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:48:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee3e232eac.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee3e232eac.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee3e232eac.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee3e232eac.cpp:3:
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:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
      Index count = 0;
            ^
In file included from file315cee3e232eac.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee3e232eac.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee3e232eac.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee3e232eac.cpp:3:
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:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:33:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
  Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
        ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
  Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
        ^
In file included from file315cee3e232eac.cpp:3:
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:34:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee3e232eac.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee3e232eac.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee3e232eac.cpp:3:
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/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee3e232eac.cpp:3:
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/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee3e232eac.cpp:3:
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:44:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:239:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  int count = 0;
      ^
In file included from file315cee3e232eac.cpp:3:
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/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee3e232eac.cpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err.hpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/check_cholesky_factor_corr.hpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/check_unit_vector.hpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/abs.hpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/hypot.hpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:9:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/check_matching_dims.hpp:33:8: warning: unused variable 'error' [-Wunused-variable]
  bool error = false;
       ^
In file included from file315cee3e232eac.cpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err.hpp:50:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/hmm_check.hpp:33:7: warning: unused variable 'n_transitions' [-Wunused-variable]
  int n_transitions = log_omegas.cols() - 1;
      ^
In file included from file315cee3e232eac.cpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:118:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/gp_matern52_cov.hpp:275:10: warning: unused variable 'neg_root_5' [-Wunused-variable]
  double neg_root_5 = -root_5;
         ^
In file included from file315cee3e232eac.cpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:183:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/log_mix.hpp:86:13: warning: unused variable 'N' [-Wunused-variable]
  const int N = stan::math::size(theta);
            ^
In file included from file315cee3e232eac.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee3e232eac.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee3e232eac.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee3e232eac.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee3e232eac.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee3e232eac.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee3e232eac.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee3e232eac.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee3e232eac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:87:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/double_exponential_cdf.hpp:82:10: warning: unused variable 'N' [-Wunused-variable]
  size_t N = max_size(y, mu, sigma);
         ^
In file included from file315cee3e232eac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:128:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:7: warning: unused variable 'n' [-Wunused-variable]
  int n = G.rows();  // number of states
      ^
In file included from file315cee3e232eac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:139:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/hmm_marginal.hpp:26:13: warning: unused variable 'n_states' [-Wunused-variable]
  const int n_states = omegas.rows();
            ^
In file included from file315cee3e232eac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:315:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/std_normal_rng.hpp:23:22: warning: unused variable 'function' [-Wunused-variable]
  static const char* function = "std_normal_rng";
                     ^
In file included from file315cee3e232eac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:335:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/von_mises_cdf.hpp:72:10: warning: unused variable 'ck' [-Wunused-variable]
  double ck = 50;
         ^
In file included from file315cee3e232eac.cpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:110:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/generalized_inverse.hpp:34:9: warning: unused type alias 'value_t' [-Wunused-local-typedef]
  using value_t = value_type_t<EigMat>;
        ^
In file included from file315cee3e232eac.cpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:319:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/tail.hpp:46:9: warning: unused type alias 'idx_t' [-Wunused-local-typedef]
  using idx_t = index_type_t<std::vector<T>>;
        ^
In file included from file315cee3e232eac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/bernoulli_logit_glm_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/bernoulli_logit_glm_lpmf.hpp:59:9: warning: unused type alias 'T_y_val' [-Wunused-local-typedef]
  using T_y_val =
        ^
In file included from file315cee3e232eac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:31:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/beta_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/beta_lpdf.hpp:50:9: warning: unused type alias 'T_partials_matrix' [-Wunused-local-typedef]
  using T_partials_matrix = Eigen::Matrix<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee3e232eac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:37:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/beta_proportion_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/beta_proportion_lpdf.hpp:55:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee3e232eac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:63:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/cauchy_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/cauchy_lpdf.hpp:45:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee3e232eac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:74:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/dirichlet_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/dirichlet_lpdf.hpp:60:9: warning: unused type alias 'T_partials_vec' [-Wunused-local-typedef]
  using T_partials_vec = typename Eigen::Matrix<T_partials_return, -1, 1>;
        ^
In file included from file315cee3e232eac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:91:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/double_exponential_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/double_exponential_lpdf.hpp:44:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee3e232eac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:111:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/frechet_cdf.hpp:30:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee3e232eac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:245:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/ordered_logistic_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/ordered_logistic_lpmf.hpp:76:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, -1, 1>;
        ^
In file included from file315cee3e232eac.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:277:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/poisson_log_glm_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/poisson_log_glm_lpmf.hpp:62:9: warning: unused type alias 'T_alpha_val' [-Wunused-local-typedef]
  using T_alpha_val = typename std::conditional_t<
        ^
50 warnings generated.
using C++ compiler: ‘clang version 16.0.4’
using C++14
In file included from file315cee5b595e98.cpp:3:
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:540:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee5b595e98.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee5b595e98.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee5b595e98.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee5b595e98.cpp:3:
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:15:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee5b595e98.cpp:3:
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:48:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee5b595e98.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee5b595e98.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee5b595e98.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee5b595e98.cpp:3:
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:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
      Index count = 0;
            ^
In file included from file315cee5b595e98.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee5b595e98.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee5b595e98.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee5b595e98.cpp:3:
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:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:33:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
  Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
        ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
  Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
        ^
In file included from file315cee5b595e98.cpp:3:
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:34:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee5b595e98.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee5b595e98.cpp:3:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee5b595e98.cpp:3:
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/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee5b595e98.cpp:3:
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/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee5b595e98.cpp:3:
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:44:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:239:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  int count = 0;
      ^
In file included from file315cee5b595e98.cpp:3:
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/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee5b595e98.cpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err.hpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/check_cholesky_factor_corr.hpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/check_unit_vector.hpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/abs.hpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/hypot.hpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/apply_scalar_binary.hpp:9:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/check_matching_dims.hpp:33:8: warning: unused variable 'error' [-Wunused-variable]
  bool error = false;
       ^
In file included from file315cee5b595e98.cpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err.hpp:50:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/hmm_check.hpp:33:7: warning: unused variable 'n_transitions' [-Wunused-variable]
  int n_transitions = log_omegas.cols() - 1;
      ^
In file included from file315cee5b595e98.cpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:118:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/gp_matern52_cov.hpp:275:10: warning: unused variable 'neg_root_5' [-Wunused-variable]
  double neg_root_5 = -root_5;
         ^
In file included from file315cee5b595e98.cpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:183:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/log_mix.hpp:86:13: warning: unused variable 'N' [-Wunused-variable]
  const int N = stan::math::size(theta);
            ^
In file included from file315cee5b595e98.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee5b595e98.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee5b595e98.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee5b595e98.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee5b595e98.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee5b595e98.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee5b595e98.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee5b595e98.cpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee5b595e98.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:87:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/double_exponential_cdf.hpp:82:10: warning: unused variable 'N' [-Wunused-variable]
  size_t N = max_size(y, mu, sigma);
         ^
In file included from file315cee5b595e98.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:128:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:7: warning: unused variable 'n' [-Wunused-variable]
  int n = G.rows();  // number of states
      ^
In file included from file315cee5b595e98.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:139:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/hmm_marginal.hpp:26:13: warning: unused variable 'n_states' [-Wunused-variable]
  const int n_states = omegas.rows();
            ^
In file included from file315cee5b595e98.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:315:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/std_normal_rng.hpp:23:22: warning: unused variable 'function' [-Wunused-variable]
  static const char* function = "std_normal_rng";
                     ^
In file included from file315cee5b595e98.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:335:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/von_mises_cdf.hpp:72:10: warning: unused variable 'ck' [-Wunused-variable]
  double ck = 50;
         ^
In file included from file315cee5b595e98.cpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:110:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/generalized_inverse.hpp:34:9: warning: unused type alias 'value_t' [-Wunused-local-typedef]
  using value_t = value_type_t<EigMat>;
        ^
In file included from file315cee5b595e98.cpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:319:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/tail.hpp:46:9: warning: unused type alias 'idx_t' [-Wunused-local-typedef]
  using idx_t = index_type_t<std::vector<T>>;
        ^
In file included from file315cee5b595e98.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/bernoulli_logit_glm_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/bernoulli_logit_glm_lpmf.hpp:59:9: warning: unused type alias 'T_y_val' [-Wunused-local-typedef]
  using T_y_val =
        ^
In file included from file315cee5b595e98.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:31:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/beta_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/beta_lpdf.hpp:50:9: warning: unused type alias 'T_partials_matrix' [-Wunused-local-typedef]
  using T_partials_matrix = Eigen::Matrix<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee5b595e98.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:37:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/beta_proportion_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/beta_proportion_lpdf.hpp:55:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee5b595e98.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:63:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/cauchy_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/cauchy_lpdf.hpp:45:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee5b595e98.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:74:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/dirichlet_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/dirichlet_lpdf.hpp:60:9: warning: unused type alias 'T_partials_vec' [-Wunused-local-typedef]
  using T_partials_vec = typename Eigen::Matrix<T_partials_return, -1, 1>;
        ^
In file included from file315cee5b595e98.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:91:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/double_exponential_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/double_exponential_lpdf.hpp:44:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee5b595e98.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:111:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/frechet_cdf.hpp:30:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, Eigen::Dynamic, 1>;
        ^
In file included from file315cee5b595e98.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:245:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/ordered_logistic_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/ordered_logistic_lpmf.hpp:76:9: warning: unused type alias 'T_partials_array' [-Wunused-local-typedef]
  using T_partials_array = Eigen::Array<T_partials_return, -1, 1>;
        ^
In file included from file315cee5b595e98.cpp:11:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/mat.hpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:277:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/poisson_log_glm_log.hpp:5:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/poisson_log_glm_lpmf.hpp:62:9: warning: unused type alias 'T_alpha_val' [-Wunused-local-typedef]
  using T_alpha_val = typename std::conditional_t<
        ^
50 warnings generated.
Building shared library for Rcpp code chunk...
using C++ compiler: ‘clang version 16.0.4’
using C++14
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22:
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:540:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22:
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:15:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22:
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:48:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
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:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
      Index count = 0;
            ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:33:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
  Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
        ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
  Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
        ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
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:34:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/core.hpp:28:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:6:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/check_matching_dims.hpp:33:8: warning: unused variable 'error' [-Wunused-variable]
  bool error = false;
       ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/core.hpp:54:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/core/profiling.hpp:9:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err.hpp:50:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/err/hmm_check.hpp:33:7: warning: unused variable 'n_transitions' [-Wunused-variable]
  int n_transitions = log_omegas.cols() - 1;
      ^
In file included from file315cee79d2dd67.cpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math.hpp:19:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev.hpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/fun.hpp:7:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:118:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/gp_matern52_cov.hpp:275:10: warning: unused variable 'neg_root_5' [-Wunused-variable]
  double neg_root_5 = -root_5;
         ^
In file included from file315cee79d2dd67.cpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math.hpp:19:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev.hpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/fun.hpp:7:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun.hpp:183:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/log_mix.hpp:86:13: warning: unused variable 'N' [-Wunused-variable]
  const int N = stan::math::size(theta);
            ^
In file included from file315cee79d2dd67.cpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math.hpp:19:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev.hpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/fun.hpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee79d2dd67.cpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math.hpp:19:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev.hpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/fun.hpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee79d2dd67.cpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math.hpp:19:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev.hpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/fun.hpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee79d2dd67.cpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math.hpp:19:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev.hpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/fun.hpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee79d2dd67.cpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math.hpp:19:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev.hpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/fun.hpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee79d2dd67.cpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math.hpp:19:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev.hpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/fun.hpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee79d2dd67.cpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math.hpp:19:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev.hpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/fun.hpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee79d2dd67.cpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math.hpp:19:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev.hpp:10:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/fun.hpp:8:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
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 file315cee79d2dd67.cpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math.hpp:19:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev.hpp:13:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:87:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/double_exponential_cdf.hpp:82:10: warning: unused variable 'N' [-Wunused-variable]
  size_t N = max_size(y, mu, sigma);
         ^
In file included from file315cee79d2dd67.cpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math.hpp:19:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev.hpp:13:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:128:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/gaussian_dlm_obs_rng.hpp:98:7: warning: unused variable 'n' [-Wunused-variable]
  int n = G.rows();  // number of states
      ^
In file included from file315cee79d2dd67.cpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math.hpp:19:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev.hpp:13:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:139:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/hmm_marginal.hpp:26:13: warning: unused variable 'n_states' [-Wunused-variable]
  const int n_states = omegas.rows();
            ^
In file included from file315cee79d2dd67.cpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math.hpp:19:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev.hpp:13:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:315:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/std_normal_rng.hpp:23:22: warning: unused variable 'function' [-Wunused-variable]
  static const char* function = "std_normal_rng";
                     ^
In file included from file315cee79d2dd67.cpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math.hpp:19:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev.hpp:13:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim.hpp:16:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob.hpp:335:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/prob/von_mises_cdf.hpp:72:10: warning: unused variable 'ck' [-Wunused-variable]
  double ck = 50;
         ^
In file included from file315cee79d2dd67.cpp:8:
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:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee79d2dd67.cpp:8:
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/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee79d2dd67.cpp:8:
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/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee79d2dd67.cpp:8:
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:44:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:239:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  int count = 0;
      ^
In file included from file315cee79d2dd67.cpp:8:
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/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
                             ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22:
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:96:
In file included from /usr/local/clang16/bin/../include/c++/v1/complex:236:
/usr/local/clang16/bin/../include/c++/v1/cmath:607:12: error: no matching function for call to 'isinf'
    return std::isinf(__lcpp_x);
           ^~~~~~~~~~
/usr/local/clang16/bin/../include/c++/v1/complex:598:29: note: in instantiation of function template specialization 'std::__constexpr_isinf<stan::math::var_value<double>>' requested here
        bool __z_inf = std::__constexpr_isinf(__a) || std::__constexpr_isinf(__b);
                            ^
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/asinh.hpp:64:31: note: in instantiation of function template specialization 'std::operator*<stan::math::var_value<double>>' requested here
  auto y = log(z + sqrt(1 + z * z));
                              ^
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/fun/asinh.hpp:89:32: note: in instantiation of function template specialization 'stan::math::internal::complex_asinh<stan::math::var_value<double>>' requested here
  return stan::math::internal::complex_asinh(z);
                               ^
/usr/local/clang16/bin/../include/c++/v1/math.h:429:87: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'float' for 1st argument
_LIBCPP_NODISCARD_EXT inline _LIBCPP_CONSTEXPR_SINCE_CXX23 _LIBCPP_HIDE_FROM_ABI bool isinf(float __x) _NOEXCEPT {
                                                                                      ^
/usr/local/clang16/bin/../include/c++/v1/math.h:433:114: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'double' for 1st argument
_LIBCPP_NODISCARD_EXT inline _LIBCPP_CONSTEXPR_SINCE_CXX23 _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD bool isinf(double __x) _NOEXCEPT {
                                                                                                                 ^
/usr/local/clang16/bin/../include/c++/v1/math.h:437:87: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'long double' for 1st argument
_LIBCPP_NODISCARD_EXT inline _LIBCPP_CONSTEXPR_SINCE_CXX23 _LIBCPP_HIDE_FROM_ABI bool isinf(long double __x) _NOEXCEPT {
                                                                                      ^
/usr/local/clang16/bin/../include/c++/v1/math.h:417:80: note: candidate template ignored: requirement 'std::is_arithmetic<stan::math::var_value<double, void>>::value' was not satisfied [with _A1 = stan::math::var_value<double>]
_LIBCPP_NODISCARD_EXT _LIBCPP_CONSTEXPR_SINCE_CXX23 _LIBCPP_HIDE_FROM_ABI bool isinf(_A1 __x) _NOEXCEPT {
                                                                               ^
/usr/local/clang16/bin/../include/c++/v1/math.h:424:5: note: candidate template ignored: requirement 'std::is_arithmetic<stan::math::var_value<double, void>>::value' was not satisfied [with _A1 = stan::math::var_value<double>]
    isinf(_A1) _NOEXCEPT {
    ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22:
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:96:
In file included from /usr/local/clang16/bin/../include/c++/v1/complex:236:
/usr/local/clang16/bin/../include/c++/v1/cmath:587:12: error: no matching function for call to 'isnan'
    return std::isnan(__lcpp_x);
           ^~~~~~~~~~
/usr/local/clang16/bin/../include/c++/v1/complex:601:19: note: in instantiation of function template specialization 'std::__constexpr_isnan<stan::math::var_value<double>>' requested here
            (std::__constexpr_isnan(__a) && std::__constexpr_isnan(__b))
                  ^
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/asinh.hpp:64:31: note: in instantiation of function template specialization 'std::operator*<stan::math::var_value<double>>' requested here
  auto y = log(z + sqrt(1 + z * z));
                              ^
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/fun/asinh.hpp:89:32: note: in instantiation of function template specialization 'stan::math::internal::complex_asinh<stan::math::var_value<double>>' requested here
  return stan::math::internal::complex_asinh(z);
                               ^
/usr/local/clang16/bin/../include/c++/v1/math.h:455:87: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'float' for 1st argument
_LIBCPP_NODISCARD_EXT inline _LIBCPP_CONSTEXPR_SINCE_CXX23 _LIBCPP_HIDE_FROM_ABI bool isnan(float __x) _NOEXCEPT {
                                                                                      ^
/usr/local/clang16/bin/../include/c++/v1/math.h:459:114: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'double' for 1st argument
_LIBCPP_NODISCARD_EXT inline _LIBCPP_CONSTEXPR_SINCE_CXX23 _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD bool isnan(double __x) _NOEXCEPT {
                                                                                                                 ^
/usr/local/clang16/bin/../include/c++/v1/math.h:463:87: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'long double' for 1st argument
_LIBCPP_NODISCARD_EXT inline _LIBCPP_CONSTEXPR_SINCE_CXX23 _LIBCPP_HIDE_FROM_ABI bool isnan(long double __x) _NOEXCEPT {
                                                                                      ^
/usr/local/clang16/bin/../include/c++/v1/math.h:445:80: note: candidate template ignored: requirement 'std::is_floating_point<stan::math::var_value<double, void>>::value' was not satisfied [with _A1 = stan::math::var_value<double>]
_LIBCPP_NODISCARD_EXT _LIBCPP_CONSTEXPR_SINCE_CXX23 _LIBCPP_HIDE_FROM_ABI bool isnan(_A1 __x) _NOEXCEPT {
                                                                               ^
/usr/local/clang16/bin/../include/c++/v1/math.h:450:80: note: candidate template ignored: requirement 'std::is_integral<stan::math::var_value<double, void>>::value' was not satisfied [with _A1 = stan::math::var_value<double>]
_LIBCPP_NODISCARD_EXT _LIBCPP_CONSTEXPR_SINCE_CXX23 _LIBCPP_HIDE_FROM_ABI bool isnan(_A1) _NOEXCEPT {
                                                                               ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22:
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:96:
/usr/local/clang16/bin/../include/c++/v1/complex:637:19: error: no matching function for call to '__constexpr_copysign'
            __a = std::__constexpr_copysign(std::__constexpr_isinf(__a) ? _Tp(1) : _Tp(0), __a);
                  ^~~~~~~~~~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/asinh.hpp:64:31: note: in instantiation of function template specialization 'std::operator*<stan::math::var_value<double>>' requested here
  auto y = log(z + sqrt(1 + z * z));
                              ^
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/fun/asinh.hpp:89:32: note: in instantiation of function template specialization 'stan::math::internal::complex_asinh<stan::math::var_value<double>>' requested here
  return stan::math::internal::complex_asinh(z);
                               ^
/usr/local/clang16/bin/../include/c++/v1/cmath:630:54: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'float' for 1st argument
_LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI float __constexpr_copysign(float __x, float __y) _NOEXCEPT {
                                                     ^
/usr/local/clang16/bin/../include/c++/v1/cmath:634:55: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'double' for 1st argument
_LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI double __constexpr_copysign(double __x, double __y) _NOEXCEPT {
                                                      ^
/usr/local/clang16/bin/../include/c++/v1/cmath:639:1: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'long double' for 1st argument
__constexpr_copysign(long double __x, long double __y) _NOEXCEPT {
^
/usr/local/clang16/bin/../include/c++/v1/cmath:647:5: note: candidate template ignored: requirement 'std::is_arithmetic<stan::math::var_value<double, void>>::value' was not satisfied [with _A1 = stan::math::var_value<double>, _A2 = stan::math::var_value<double>]
    __constexpr_copysign(_A1 __x, _A2 __y) _NOEXCEPT {
    ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22:
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:96:
/usr/local/clang16/bin/../include/c++/v1/complex:638:19: error: no matching function for call to '__constexpr_copysign'
            __b = std::__constexpr_copysign(std::__constexpr_isinf(__b) ? _Tp(1) : _Tp(0), __b);
                  ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/clang16/bin/../include/c++/v1/cmath:630:54: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'float' for 1st argument
_LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI float __constexpr_copysign(float __x, float __y) _NOEXCEPT {
                                                     ^
/usr/local/clang16/bin/../include/c++/v1/cmath:634:55: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'double' for 1st argument
_LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI double __constexpr_copysign(double __x, double __y) _NOEXCEPT {
                                                      ^
/usr/local/clang16/bin/../include/c++/v1/cmath:639:1: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'long double' for 1st argument
__constexpr_copysign(long double __x, long double __y) _NOEXCEPT {
^
/usr/local/clang16/bin/../include/c++/v1/cmath:647:5: note: candidate template ignored: requirement 'std::is_arithmetic<stan::math::var_value<double, void>>::value' was not satisfied [with _A1 = stan::math::var_value<double>, _A2 = stan::math::var_value<double>]
    __constexpr_copysign(_A1 __x, _A2 __y) _NOEXCEPT {
    ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22:
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:96:
/usr/local/clang16/bin/../include/c++/v1/complex:640:23: error: no matching function for call to '__constexpr_copysign'
                __c = std::__constexpr_copysign(_Tp(0), __c);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/clang16/bin/../include/c++/v1/cmath:630:54: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'float' for 1st argument
_LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI float __constexpr_copysign(float __x, float __y) _NOEXCEPT {
                                                     ^
/usr/local/clang16/bin/../include/c++/v1/cmath:634:55: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'double' for 1st argument
_LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI double __constexpr_copysign(double __x, double __y) _NOEXCEPT {
                                                      ^
/usr/local/clang16/bin/../include/c++/v1/cmath:639:1: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'long double' for 1st argument
__constexpr_copysign(long double __x, long double __y) _NOEXCEPT {
^
/usr/local/clang16/bin/../include/c++/v1/cmath:647:5: note: candidate template ignored: requirement 'std::is_arithmetic<stan::math::var_value<double, void>>::value' was not satisfied [with _A1 = stan::math::var_value<double>, _A2 = stan::math::var_value<double>]
    __constexpr_copysign(_A1 __x, _A2 __y) _NOEXCEPT {
    ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22:
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:96:
/usr/local/clang16/bin/../include/c++/v1/complex:642:23: error: no matching function for call to '__constexpr_copysign'
                __d = std::__constexpr_copysign(_Tp(0), __d);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/clang16/bin/../include/c++/v1/cmath:630:54: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'float' for 1st argument
_LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI float __constexpr_copysign(float __x, float __y) _NOEXCEPT {
                                                     ^
/usr/local/clang16/bin/../include/c++/v1/cmath:634:55: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'double' for 1st argument
_LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI double __constexpr_copysign(double __x, double __y) _NOEXCEPT {
                                                      ^
/usr/local/clang16/bin/../include/c++/v1/cmath:639:1: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'long double' for 1st argument
__constexpr_copysign(long double __x, long double __y) _NOEXCEPT {
^
/usr/local/clang16/bin/../include/c++/v1/cmath:647:5: note: candidate template ignored: requirement 'std::is_arithmetic<stan::math::var_value<double, void>>::value' was not satisfied [with _A1 = stan::math::var_value<double>, _A2 = stan::math::var_value<double>]
    __constexpr_copysign(_A1 __x, _A2 __y) _NOEXCEPT {
    ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22:
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:96:
/usr/local/clang16/bin/../include/c++/v1/complex:647:19: error: no matching function for call to '__constexpr_copysign'
            __c = std::__constexpr_copysign(std::__constexpr_isinf(__c) ? _Tp(1) : _Tp(0), __c);
                  ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/clang16/bin/../include/c++/v1/cmath:630:54: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'float' for 1st argument
_LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI float __constexpr_copysign(float __x, float __y) _NOEXCEPT {
                                                     ^
/usr/local/clang16/bin/../include/c++/v1/cmath:634:55: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'double' for 1st argument
_LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI double __constexpr_copysign(double __x, double __y) _NOEXCEPT {
                                                      ^
/usr/local/clang16/bin/../include/c++/v1/cmath:639:1: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'long double' for 1st argument
__constexpr_copysign(long double __x, long double __y) _NOEXCEPT {
^
/usr/local/clang16/bin/../include/c++/v1/cmath:647:5: note: candidate template ignored: requirement 'std::is_arithmetic<stan::math::var_value<double, void>>::value' was not satisfied [with _A1 = stan::math::var_value<double>, _A2 = stan::math::var_value<double>]
    __constexpr_copysign(_A1 __x, _A2 __y) _NOEXCEPT {
    ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22:
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:96:
/usr/local/clang16/bin/../include/c++/v1/complex:648:19: error: no matching function for call to '__constexpr_copysign'
            __d = std::__constexpr_copysign(std::__constexpr_isinf(__d) ? _Tp(1) : _Tp(0), __d);
                  ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/clang16/bin/../include/c++/v1/cmath:630:54: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'float' for 1st argument
_LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI float __constexpr_copysign(float __x, float __y) _NOEXCEPT {
                                                     ^
/usr/local/clang16/bin/../include/c++/v1/cmath:634:55: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'double' for 1st argument
_LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI double __constexpr_copysign(double __x, double __y) _NOEXCEPT {
                                                      ^
/usr/local/clang16/bin/../include/c++/v1/cmath:639:1: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'long double' for 1st argument
__constexpr_copysign(long double __x, long double __y) _NOEXCEPT {
^
/usr/local/clang16/bin/../include/c++/v1/cmath:647:5: note: candidate template ignored: requirement 'std::is_arithmetic<stan::math::var_value<double, void>>::value' was not satisfied [with _A1 = stan::math::var_value<double>, _A2 = stan::math::var_value<double>]
    __constexpr_copysign(_A1 __x, _A2 __y) _NOEXCEPT {
    ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22:
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:96:
/usr/local/clang16/bin/../include/c++/v1/complex:650:23: error: no matching function for call to '__constexpr_copysign'
                __a = std::__constexpr_copysign(_Tp(0), __a);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/clang16/bin/../include/c++/v1/cmath:630:54: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'float' for 1st argument
_LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI float __constexpr_copysign(float __x, float __y) _NOEXCEPT {
                                                     ^
/usr/local/clang16/bin/../include/c++/v1/cmath:634:55: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'double' for 1st argument
_LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI double __constexpr_copysign(double __x, double __y) _NOEXCEPT {
                                                      ^
/usr/local/clang16/bin/../include/c++/v1/cmath:639:1: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'long double' for 1st argument
__constexpr_copysign(long double __x, long double __y) _NOEXCEPT {
^
/usr/local/clang16/bin/../include/c++/v1/cmath:647:5: note: candidate template ignored: requirement 'std::is_arithmetic<stan::math::var_value<double, void>>::value' was not satisfied [with _A1 = stan::math::var_value<double>, _A2 = stan::math::var_value<double>]
    __constexpr_copysign(_A1 __x, _A2 __y) _NOEXCEPT {
    ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22:
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:96:
/usr/local/clang16/bin/../include/c++/v1/complex:652:23: error: no matching function for call to '__constexpr_copysign'
                __b = std::__constexpr_copysign(_Tp(0), __b);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/clang16/bin/../include/c++/v1/cmath:630:54: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'float' for 1st argument
_LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI float __constexpr_copysign(float __x, float __y) _NOEXCEPT {
                                                     ^
/usr/local/clang16/bin/../include/c++/v1/cmath:634:55: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'double' for 1st argument
_LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI double __constexpr_copysign(double __x, double __y) _NOEXCEPT {
                                                      ^
/usr/local/clang16/bin/../include/c++/v1/cmath:639:1: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'long double' for 1st argument
__constexpr_copysign(long double __x, long double __y) _NOEXCEPT {
^
/usr/local/clang16/bin/../include/c++/v1/cmath:647:5: note: candidate template ignored: requirement 'std::is_arithmetic<stan::math::var_value<double, void>>::value' was not satisfied [with _A1 = stan::math::var_value<double>, _A2 = stan::math::var_value<double>]
    __constexpr_copysign(_A1 __x, _A2 __y) _NOEXCEPT {
    ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22:
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:96:
/usr/local/clang16/bin/../include/c++/v1/complex:659:23: error: no matching function for call to '__constexpr_copysign'
                __a = std::__constexpr_copysign(_Tp(0), __a);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/clang16/bin/../include/c++/v1/cmath:630:54: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'float' for 1st argument
_LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI float __constexpr_copysign(float __x, float __y) _NOEXCEPT {
                                                     ^
/usr/local/clang16/bin/../include/c++/v1/cmath:634:55: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'double' for 1st argument
_LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI double __constexpr_copysign(double __x, double __y) _NOEXCEPT {
                                                      ^
/usr/local/clang16/bin/../include/c++/v1/cmath:639:1: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'long double' for 1st argument
__constexpr_copysign(long double __x, long double __y) _NOEXCEPT {
^
/usr/local/clang16/bin/../include/c++/v1/cmath:647:5: note: candidate template ignored: requirement 'std::is_arithmetic<stan::math::var_value<double, void>>::value' was not satisfied [with _A1 = stan::math::var_value<double>, _A2 = stan::math::var_value<double>]
    __constexpr_copysign(_A1 __x, _A2 __y) _NOEXCEPT {
    ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22:
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:96:
/usr/local/clang16/bin/../include/c++/v1/complex:661:23: error: no matching function for call to '__constexpr_copysign'
                __b = std::__constexpr_copysign(_Tp(0), __b);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/clang16/bin/../include/c++/v1/cmath:630:54: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'float' for 1st argument
_LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI float __constexpr_copysign(float __x, float __y) _NOEXCEPT {
                                                     ^
/usr/local/clang16/bin/../include/c++/v1/cmath:634:55: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'double' for 1st argument
_LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI double __constexpr_copysign(double __x, double __y) _NOEXCEPT {
                                                      ^
/usr/local/clang16/bin/../include/c++/v1/cmath:639:1: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'long double' for 1st argument
__constexpr_copysign(long double __x, long double __y) _NOEXCEPT {
^
/usr/local/clang16/bin/../include/c++/v1/cmath:647:5: note: candidate template ignored: requirement 'std::is_arithmetic<stan::math::var_value<double, void>>::value' was not satisfied [with _A1 = stan::math::var_value<double>, _A2 = stan::math::var_value<double>]
    __constexpr_copysign(_A1 __x, _A2 __y) _NOEXCEPT {
    ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22:
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:96:
/usr/local/clang16/bin/../include/c++/v1/complex:663:23: error: no matching function for call to '__constexpr_copysign'
                __c = std::__constexpr_copysign(_Tp(0), __c);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/clang16/bin/../include/c++/v1/cmath:630:54: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'float' for 1st argument
_LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI float __constexpr_copysign(float __x, float __y) _NOEXCEPT {
                                                     ^
/usr/local/clang16/bin/../include/c++/v1/cmath:634:55: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'double' for 1st argument
_LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI double __constexpr_copysign(double __x, double __y) _NOEXCEPT {
                                                      ^
/usr/local/clang16/bin/../include/c++/v1/cmath:639:1: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'long double' for 1st argument
__constexpr_copysign(long double __x, long double __y) _NOEXCEPT {
^
/usr/local/clang16/bin/../include/c++/v1/cmath:647:5: note: candidate template ignored: requirement 'std::is_arithmetic<stan::math::var_value<double, void>>::value' was not satisfied [with _A1 = stan::math::var_value<double>, _A2 = stan::math::var_value<double>]
    __constexpr_copysign(_A1 __x, _A2 __y) _NOEXCEPT {
    ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/fwd/core/fvar.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta.hpp:175:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:22:
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:96:
/usr/local/clang16/bin/../include/c++/v1/complex:665:23: error: no matching function for call to '__constexpr_copysign'
                __d = std::__constexpr_copysign(_Tp(0), __d);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/clang16/bin/../include/c++/v1/cmath:630:54: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'float' for 1st argument
_LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI float __constexpr_copysign(float __x, float __y) _NOEXCEPT {
                                                     ^
/usr/local/clang16/bin/../include/c++/v1/cmath:634:55: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'double' for 1st argument
_LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI double __constexpr_copysign(double __x, double __y) _NOEXCEPT {
                                                      ^
/usr/local/clang16/bin/../include/c++/v1/cmath:639:1: note: candidate function not viable: no known conversion from 'stan::math::var_value<double>' to 'long double' for 1st argument
__constexpr_copysign(long double __x, long double __y) _NOEXCEPT {
^
/usr/local/clang16/bin/../include/c++/v1/cmath:647:5: note: candidate template ignored: requirement 'std::is_arithmetic<stan::math::var_value<double, void>>::value' was not satisfied [with _A1 = stan::math::var_value<double>, _A2 = stan::math::var_value<double>]
    __constexpr_copysign(_A1 __x, _A2 __y) _NOEXCEPT {
    ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/core.hpp:29:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/core/operator_divide_equal.hpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/core/operator_division.hpp:15:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/core/operator_subtraction.hpp:88:43: warning: lambda capture 'b' is not used [-Wunused-lambda-capture]
                            [avi = a.vi_, b](const auto& vi) mutable {
                                          ^
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/core/operator_minus_equal.hpp:24:16: note: in instantiation of function template specialization 'stan::math::operator-<double, nullptr>' requested here
  vi_ = (*this - b).vi_;
               ^
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/core/complex_base.hpp:136:9: note: in instantiation of member function 'stan::math::var_value<double>::operator-=' requested here
    re_ -= x;
        ^
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/core/operator_subtraction.hpp:24:5: note: in instantiation of function template specialization 'stan::math::complex_base<stan::math::var_value<double>>::operator-=<int>' requested here
  y -= rhs;
    ^
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/core/operator_subtraction.hpp:55:20: note: in instantiation of function template specialization 'stan::math::internal::complex_subtract<std::complex<stan::math::var>, int>' requested here
  return internal::complex_subtract(x, y);
                   ^
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/acosh.hpp:105:31: note: in instantiation of function template specialization 'stan::math::operator-<stan::math::var_value<double>, int>' requested here
  auto y = log(z + sqrt(z * z - 1));
                              ^
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/fun/acosh.hpp:94:32: note: in instantiation of function template specialization 'stan::math::internal::complex_acosh<stan::math::var_value<double>>' requested here
  return stan::math::internal::complex_acosh(z);
                               ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/core.hpp:28:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:84:43: warning: lambda capture 'b' is not used [-Wunused-lambda-capture]
                            [avi = a.vi_, b](const auto& vi) mutable {
                                          ^
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/fun/grad_inc_beta.hpp:45:43: note: in instantiation of function template specialization 'stan::math::operator+<int, nullptr>' requested here
    grad_2F1(dF1, dF2, a + b, var(1.0), a + 1, z);
                                          ^
In file included from file315cee79d2dd67.cpp:5:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/mix/functor/hessian.hpp:6:
In file included from /data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/core.hpp:28:
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/core/operator_addition.hpp:84:43: warning: lambda capture 'b' is not used [-Wunused-lambda-capture]
                            [avi = a.vi_, b](const auto& vi) mutable {
                                          ^
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/prim/fun/trigamma.hpp:63:31: note: in instantiation of function template specialization 'stan::math::operator+<double, nullptr>' requested here
    value = -trigamma_impl(-x + 1.0) + square(pi() / sin(-pi() * x));
                              ^
/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include/stan/math/rev/fun/trigamma.hpp:23:44: note: in instantiation of function template specialization 'stan::math::trigamma_impl<stan::math::var_value<double>>' requested here
inline var trigamma(const var& u) { return trigamma_impl(u); }
                                           ^
42 warnings and 14 errors generated.
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:198: file315cee79d2dd67.o] Error 1
make[1]: Entering directory '/tmp/RtmpGjKPB9/working_dir/Rtmp58wJkk/sourceCpp-x86_64-pc-linux-gnu-1.0.10/sourcecpp_315cee18d4cdff'
/usr/local/clang16/bin/clang++ -std=gnu++14 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG   -I"/data/gannet/ripley/R/test-clang/Rcpp/include" -I"/data/gannet/ripley/R/test-clang/BH/include" -I"/data/gannet/ripley/R/test-clang/RcppEigen/include" -I"/data/gannet/ripley/R/test-clang/RcppParallel/include" -I"/data/gannet/ripley/R/packages/tests-clang/StanHeaders.Rcheck/StanHeaders/include" -I"/tmp/RtmpGjKPB9/working_dir/Rtmp58wJkk/sourceCpp-x86_64-pc-linux-gnu-1.0.10" -isystem /usr/local/clang16/include -I/usr/local/clang/include   -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c file315cee79d2dd67.cpp -o file315cee79d2dd67.o
make[1]: Leaving directory '/tmp/RtmpGjKPB9/working_dir/Rtmp58wJkk/sourceCpp-x86_64-pc-linux-gnu-1.0.10/sourcecpp_315cee18d4cdff'

Quitting from lines 119-198 [unnamed-chunk-5] (stanmath.Rmd)
Error: processing vignette 'stanmath.Rmd' failed with diagnostics:
Error 1 occurred building shared library.
--- failed re-building ‘stanmath.Rmd’

SUMMARY: processing the following file failed:
  ‘stanmath.Rmd’

Error: Vignette re-building failed.
Execution halted