* installing *source* package ‘rts2’ ...
** package ‘rts2’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 18.1.4’
using C++17
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/rts2/src'


Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) : 
  invalid non-character version specification 'x' (type: double)
Calls: cat ... as.numeric_version -> numeric_version -> .make_numeric_version
Execution halted
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error  -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/rstan/include' -I'/data/gannet/ripley/R/test-clang/StanHeaders/include' -I'/data/gannet/ripley/R/test-clang/glmmrBase/include' -I'/data/gannet/ripley/R/test-clang/SparseChol/include' -isystem /usr/local/clang18/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 RcppExports.cpp -o RcppExports.o
In file included from RcppExports.cpp:4:
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:29:
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]
  273 |       Index count = 0;
      |             ^
In file included from RcppExports.cpp:4:
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:29:
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/SparseLU:35:
/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]
   78 |   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]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from RcppExports.cpp:4:
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/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
   72 |                         Index replacements = 0;
      |                               ^
In file included from RcppExports.cpp:4:
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:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  246 |   int count = 0;
      |       ^
5 warnings generated.


Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) : 
  invalid non-character version specification 'x' (type: double)
Calls: cat ... as.numeric_version -> numeric_version -> .make_numeric_version
Execution halted
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error  -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/rstan/include' -I'/data/gannet/ripley/R/test-clang/StanHeaders/include' -I'/data/gannet/ripley/R/test-clang/glmmrBase/include' -I'/data/gannet/ripley/R/test-clang/SparseChol/include' -isystem /usr/local/clang18/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 create_new_models.cpp -o create_new_models.o
In file included from create_new_models.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:10:
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:29:
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]
  273 |       Index count = 0;
      |             ^
In file included from create_new_models.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:10:
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:29:
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/SparseLU:35:
/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]
   78 |   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]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from create_new_models.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:10:
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/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
   72 |                         Index replacements = 0;
      |                               ^
In file included from create_new_models.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:10:
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:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  246 |   int count = 0;
      |       ^
In file included from create_new_models.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:19:9: warning: 'EIGEN_DEFAULT_DENSE_INDEX_TYPE' macro redefined [-Wmacro-redefined]
   19 | #define EIGEN_DEFAULT_DENSE_INDEX_TYPE int
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Macros.h:33:9: note: previous definition is here
   33 | #define EIGEN_DEFAULT_DENSE_INDEX_TYPE std::ptrdiff_t
      |         ^
In file included from create_new_models.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:33:
In file included from /data/gannet/ripley/R/test-clang/SparseChol/include/SparseChol.h:3:
/data/gannet/ripley/R/test-clang/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable]
  145 |   int x ;
      |       ^
/data/gannet/ripley/R/test-clang/SparseChol/include/sparsematrix.h:415:10: warning: unused variable 'val' [-Wunused-variable]
  415 |   double val;
      |          ^~~
/data/gannet/ripley/R/test-clang/SparseChol/include/sparsematrix.h:625:10: warning: unused variable 'mem' [-Wunused-variable]
  625 |   double mem = 0;
      |          ^~~
/data/gannet/ripley/R/test-clang/SparseChol/include/sparsematrix.h:626:7: warning: unused variable 'nz' [-Wunused-variable]
  626 |   int nz = Ap.back();
      |       ^~
/data/gannet/ripley/R/test-clang/SparseChol/include/sparsematrix.h:787:7: warning: variable 'ncmpa' set but not used [-Wunused-but-set-variable]
  787 |   int ncmpa = 0 ;
      |       ^
/data/gannet/ripley/R/test-clang/SparseChol/include/sparsematrix.h:815:19: warning: unused variable 'ilast' [-Wunused-variable]
  815 |   int deg, inext, ilast;
      |                   ^~~~~
In file included from create_new_models.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:33:
In file included from /data/gannet/ripley/R/test-clang/SparseChol/include/SparseChol.h:4:
/data/gannet/ripley/R/test-clang/SparseChol/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable]
   14 |   double val;
      |          ^~~
In file included from create_new_models.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:249:11: warning: unused variable 'a' [-Wunused-variable]
  249 |     float a = std::stod(s);
      |           ^
In file included from create_new_models.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:5:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/formula.hpp:6:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/formulaparse.h:208:19: warning: variable 'variable_in_data' set but not used [-Wunused-but-set-variable]
  208 |   bool add_check, variable_in_data;
      |                   ^
In file included from create_new_models.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/model.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/modelbits.hpp:6:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/nngpcovariance.hpp:381:14: warning: unused variable 'av' [-Wunused-variable]
  381 |   double au, av, qf;
      |              ^~
In file included from create_new_models.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/model.hpp:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/modeloptim.hpp:12:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/optim/optim.h:354:12: warning: unused variable 'result' [-Wunused-variable]
  354 |     double result = newuoa_closure( &closure, dim, control.npt, current_values.data(), control.rhobeg, control.rhoend, control.maxfun, w.data(), &fn_counter);
      |            ^~~~~~
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/optim/optim.h:503:16: warning: unused variable 'a' [-Wunused-variable]
  503 |         double a = eval(current_values, g);
      |                ^
In file included from create_new_models.cpp:1:
In file included from ../inst/include/rtsheader.h:4:
In file included from ../inst/include/rts/rtsmodel.h:11:
In file included from ../inst/include/rts/rtsmodeloptim.h:4:
In file included from ../inst/include/rts/rtsmodelbits.h:13:
../inst/include/rts/nngpcovariance.h:498:18: warning: unused variable 'qf1' [-Wunused-variable]
  498 |   double au, av, qf1;
      |                  ^~~
In file included from create_new_models.cpp:1:
In file included from ../inst/include/rtsheader.h:4:
In file included from ../inst/include/rts/rtsmodel.h:11:
In file included from ../inst/include/rts/rtsmodeloptim.h:4:
In file included from ../inst/include/rts/rtsmodelbits.h:15:
In file included from ../inst/include/rts/regionlinearpredictor.h:4:
../inst/include/rts/regiondata.h:67:7: warning: unused variable 'nInter' [-Wunused-variable]
   67 |   int nInter, r, t, l, idx1;
      |       ^~~~~~
../inst/include/rts/regiondata.h:67:24: warning: unused variable 'idx1' [-Wunused-variable]
   67 |   int nInter, r, t, l, idx1;
      |                        ^~~~
../inst/include/rts/regiondata.h:115:7: warning: unused variable 'nInter' [-Wunused-variable]
  115 |   int nInter, r, t, l, j, idx1;
      |       ^~~~~~
../inst/include/rts/regiondata.h:115:27: warning: unused variable 'idx1' [-Wunused-variable]
  115 |   int nInter, r, t, l, j, idx1;
      |                           ^~~~
In file included from create_new_models.cpp:1:
In file included from ../inst/include/rtsheader.h:4:
In file included from ../inst/include/rts/rtsmodel.h:11:
../inst/include/rts/rtsmodeloptim.h:551:14: warning: unused variable 'logl' [-Wunused-variable]
  551 |       double logl = 0;
      |              ^~~~
In file included from create_new_models.cpp:1:
In file included from ../inst/include/rtsheader.h:5:
../inst/include/rts/rtsregionmodel.h:467:7: warning: unused variable 'R' [-Wunused-variable]
  467 |   int R = region.nRegion;
      |       ^
../inst/include/rts/rtsregionmodel.h:514:7: warning: unused variable 'R' [-Wunused-variable]
  514 |   int R = region.nRegion;
      |       ^
../inst/include/rts/rtsregionmodel.h:561:7: warning: unused variable 'R' [-Wunused-variable]
  561 |   int R = region.nRegion;
      |       ^
../inst/include/rts/rtsregionmodel.h:608:7: warning: unused variable 'R' [-Wunused-variable]
  608 |   int R = region.nRegion;
      |       ^
../inst/include/rts/rtsregionmodel.h:661:7: warning: unused variable 'R' [-Wunused-variable]
  661 |   int R = region.nRegion;
      |       ^
../inst/include/rts/rtsregionmodel.h:714:7: warning: unused variable 'R' [-Wunused-variable]
  714 |   int R = region.nRegion;
      |       ^
In file included from create_new_models.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:10:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:26:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:46:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model<glmmr::ModelBits<glmmr::Covariance, glmmr::LinearPredictor>>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::Model<glmmr::ModelBits<glmmr::Covariance, glmmr::LinearPredictor>>>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model<glmmr::ModelBits<glmmr::nngpCovariance, glmmr::LinearPredictor>>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::Model<glmmr::ModelBits<glmmr::nngpCovariance, glmmr::LinearPredictor>>>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model<glmmr::ModelBits<glmmr::hsgpCovariance, glmmr::LinearPredictor>>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::Model<glmmr::ModelBits<glmmr::hsgpCovariance, glmmr::LinearPredictor>>>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'rts::nngpCovariance' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<rts::nngpCovariance>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
In file included from create_new_models.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/model.hpp:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/modeloptim.hpp:12:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/optim/optim.h:15:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/optim/bobyqa_algo.h:201:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/optim/bobyqa_general.h:251:1: warning: unused function 'bobyqa' [-Wunused-function]
  251 | bobyqa(const INTEGER n, const INTEGER npt,
      | ^~~~~~
In file included from create_new_models.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/model.hpp:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/modeloptim.hpp:12:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/optim/optim.h:413:20: warning: private field 'iter' is not used [-Wunused-private-field]
  413 |   int              iter = 0;
      |                    ^
36 warnings generated.


Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) : 
  invalid non-character version specification 'x' (type: double)
Calls: cat ... as.numeric_version -> numeric_version -> .make_numeric_version
Execution halted
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error  -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/rstan/include' -I'/data/gannet/ripley/R/test-clang/StanHeaders/include' -I'/data/gannet/ripley/R/test-clang/glmmrBase/include' -I'/data/gannet/ripley/R/test-clang/SparseChol/include' -isystem /usr/local/clang18/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 model_module.cpp -o model_module.o
In file included from model_module.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:10:
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:29:
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]
  273 |       Index count = 0;
      |             ^
In file included from model_module.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:10:
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:29:
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/SparseLU:35:
/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]
   78 |   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]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from model_module.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:10:
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/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
   72 |                         Index replacements = 0;
      |                               ^
In file included from model_module.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:10:
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:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  246 |   int count = 0;
      |       ^
In file included from model_module.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:19:9: warning: 'EIGEN_DEFAULT_DENSE_INDEX_TYPE' macro redefined [-Wmacro-redefined]
   19 | #define EIGEN_DEFAULT_DENSE_INDEX_TYPE int
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Macros.h:33:9: note: previous definition is here
   33 | #define EIGEN_DEFAULT_DENSE_INDEX_TYPE std::ptrdiff_t
      |         ^
In file included from model_module.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:33:
In file included from /data/gannet/ripley/R/test-clang/SparseChol/include/SparseChol.h:3:
/data/gannet/ripley/R/test-clang/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable]
  145 |   int x ;
      |       ^
/data/gannet/ripley/R/test-clang/SparseChol/include/sparsematrix.h:415:10: warning: unused variable 'val' [-Wunused-variable]
  415 |   double val;
      |          ^~~
/data/gannet/ripley/R/test-clang/SparseChol/include/sparsematrix.h:625:10: warning: unused variable 'mem' [-Wunused-variable]
  625 |   double mem = 0;
      |          ^~~
/data/gannet/ripley/R/test-clang/SparseChol/include/sparsematrix.h:626:7: warning: unused variable 'nz' [-Wunused-variable]
  626 |   int nz = Ap.back();
      |       ^~
/data/gannet/ripley/R/test-clang/SparseChol/include/sparsematrix.h:787:7: warning: variable 'ncmpa' set but not used [-Wunused-but-set-variable]
  787 |   int ncmpa = 0 ;
      |       ^
/data/gannet/ripley/R/test-clang/SparseChol/include/sparsematrix.h:815:19: warning: unused variable 'ilast' [-Wunused-variable]
  815 |   int deg, inext, ilast;
      |                   ^~~~~
In file included from model_module.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:33:
In file included from /data/gannet/ripley/R/test-clang/SparseChol/include/SparseChol.h:4:
/data/gannet/ripley/R/test-clang/SparseChol/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable]
   14 |   double val;
      |          ^~~
In file included from model_module.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:249:11: warning: unused variable 'a' [-Wunused-variable]
  249 |     float a = std::stod(s);
      |           ^
In file included from model_module.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:5:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/formula.hpp:6:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/formulaparse.h:208:19: warning: variable 'variable_in_data' set but not used [-Wunused-but-set-variable]
  208 |   bool add_check, variable_in_data;
      |                   ^
In file included from model_module.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/model.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/modelbits.hpp:6:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/nngpcovariance.hpp:381:14: warning: unused variable 'av' [-Wunused-variable]
  381 |   double au, av, qf;
      |              ^~
In file included from model_module.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/model.hpp:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/modeloptim.hpp:12:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/optim/optim.h:354:12: warning: unused variable 'result' [-Wunused-variable]
  354 |     double result = newuoa_closure( &closure, dim, control.npt, current_values.data(), control.rhobeg, control.rhoend, control.maxfun, w.data(), &fn_counter);
      |            ^~~~~~
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/optim/optim.h:503:16: warning: unused variable 'a' [-Wunused-variable]
  503 |         double a = eval(current_values, g);
      |                ^
In file included from model_module.cpp:1:
In file included from ../inst/include/rtsheader.h:4:
In file included from ../inst/include/rts/rtsmodel.h:11:
In file included from ../inst/include/rts/rtsmodeloptim.h:4:
In file included from ../inst/include/rts/rtsmodelbits.h:13:
../inst/include/rts/nngpcovariance.h:498:18: warning: unused variable 'qf1' [-Wunused-variable]
  498 |   double au, av, qf1;
      |                  ^~~
In file included from model_module.cpp:1:
In file included from ../inst/include/rtsheader.h:4:
In file included from ../inst/include/rts/rtsmodel.h:11:
In file included from ../inst/include/rts/rtsmodeloptim.h:4:
In file included from ../inst/include/rts/rtsmodelbits.h:15:
In file included from ../inst/include/rts/regionlinearpredictor.h:4:
../inst/include/rts/regiondata.h:67:7: warning: unused variable 'nInter' [-Wunused-variable]
   67 |   int nInter, r, t, l, idx1;
      |       ^~~~~~
../inst/include/rts/regiondata.h:67:24: warning: unused variable 'idx1' [-Wunused-variable]
   67 |   int nInter, r, t, l, idx1;
      |                        ^~~~
../inst/include/rts/regiondata.h:115:7: warning: unused variable 'nInter' [-Wunused-variable]
  115 |   int nInter, r, t, l, j, idx1;
      |       ^~~~~~
../inst/include/rts/regiondata.h:115:27: warning: unused variable 'idx1' [-Wunused-variable]
  115 |   int nInter, r, t, l, j, idx1;
      |                           ^~~~
In file included from model_module.cpp:1:
In file included from ../inst/include/rtsheader.h:4:
In file included from ../inst/include/rts/rtsmodel.h:11:
../inst/include/rts/rtsmodeloptim.h:551:14: warning: unused variable 'logl' [-Wunused-variable]
  551 |       double logl = 0;
      |              ^~~~
In file included from model_module.cpp:1:
In file included from ../inst/include/rtsheader.h:5:
../inst/include/rts/rtsregionmodel.h:467:7: warning: unused variable 'R' [-Wunused-variable]
  467 |   int R = region.nRegion;
      |       ^
../inst/include/rts/rtsregionmodel.h:514:7: warning: unused variable 'R' [-Wunused-variable]
  514 |   int R = region.nRegion;
      |       ^
../inst/include/rts/rtsregionmodel.h:561:7: warning: unused variable 'R' [-Wunused-variable]
  561 |   int R = region.nRegion;
      |       ^
../inst/include/rts/rtsregionmodel.h:608:7: warning: unused variable 'R' [-Wunused-variable]
  608 |   int R = region.nRegion;
      |       ^
../inst/include/rts/rtsregionmodel.h:661:7: warning: unused variable 'R' [-Wunused-variable]
  661 |   int R = region.nRegion;
      |       ^
../inst/include/rts/rtsregionmodel.h:714:7: warning: unused variable 'R' [-Wunused-variable]
  714 |   int R = region.nRegion;
      |       ^
In file included from model_module.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:10:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:26:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:46:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model<glmmr::ModelBits<glmmr::Covariance, glmmr::LinearPredictor>>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::Model<glmmr::ModelBits<glmmr::Covariance, glmmr::LinearPredictor>>>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model<glmmr::ModelBits<glmmr::nngpCovariance, glmmr::LinearPredictor>>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::Model<glmmr::ModelBits<glmmr::nngpCovariance, glmmr::LinearPredictor>>>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model<glmmr::ModelBits<glmmr::hsgpCovariance, glmmr::LinearPredictor>>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::Model<glmmr::ModelBits<glmmr::hsgpCovariance, glmmr::LinearPredictor>>>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
In file included from model_module.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/model.hpp:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/modeloptim.hpp:12:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/optim/optim.h:15:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/optim/bobyqa_algo.h:201:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/optim/bobyqa_general.h:251:1: warning: unused function 'bobyqa' [-Wunused-function]
  251 | bobyqa(const INTEGER n, const INTEGER npt,
      | ^~~~~~
In file included from model_module.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/model.hpp:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/modeloptim.hpp:12:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/optim/optim.h:413:20: warning: private field 'iter' is not used [-Wunused-private-field]
  413 |   int              iter = 0;
      |                    ^
35 warnings generated.


Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) : 
  invalid non-character version specification 'x' (type: double)
Calls: cat ... as.numeric_version -> numeric_version -> .make_numeric_version
Execution halted
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error  -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/rstan/include' -I'/data/gannet/ripley/R/test-clang/StanHeaders/include' -I'/data/gannet/ripley/R/test-clang/glmmrBase/include' -I'/data/gannet/ripley/R/test-clang/SparseChol/include' -isystem /usr/local/clang18/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 model_module2.cpp -o model_module2.o
In file included from model_module2.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:10:
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:29:
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]
  273 |       Index count = 0;
      |             ^
In file included from model_module2.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:10:
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:29:
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/SparseLU:35:
/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]
   78 |   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]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from model_module2.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:10:
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/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
   72 |                         Index replacements = 0;
      |                               ^
In file included from model_module2.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:10:
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:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  246 |   int count = 0;
      |       ^
In file included from model_module2.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:19:9: warning: 'EIGEN_DEFAULT_DENSE_INDEX_TYPE' macro redefined [-Wmacro-redefined]
   19 | #define EIGEN_DEFAULT_DENSE_INDEX_TYPE int
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Macros.h:33:9: note: previous definition is here
   33 | #define EIGEN_DEFAULT_DENSE_INDEX_TYPE std::ptrdiff_t
      |         ^
In file included from model_module2.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:33:
In file included from /data/gannet/ripley/R/test-clang/SparseChol/include/SparseChol.h:3:
/data/gannet/ripley/R/test-clang/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable]
  145 |   int x ;
      |       ^
/data/gannet/ripley/R/test-clang/SparseChol/include/sparsematrix.h:415:10: warning: unused variable 'val' [-Wunused-variable]
  415 |   double val;
      |          ^~~
/data/gannet/ripley/R/test-clang/SparseChol/include/sparsematrix.h:625:10: warning: unused variable 'mem' [-Wunused-variable]
  625 |   double mem = 0;
      |          ^~~
/data/gannet/ripley/R/test-clang/SparseChol/include/sparsematrix.h:626:7: warning: unused variable 'nz' [-Wunused-variable]
  626 |   int nz = Ap.back();
      |       ^~
/data/gannet/ripley/R/test-clang/SparseChol/include/sparsematrix.h:787:7: warning: variable 'ncmpa' set but not used [-Wunused-but-set-variable]
  787 |   int ncmpa = 0 ;
      |       ^
/data/gannet/ripley/R/test-clang/SparseChol/include/sparsematrix.h:815:19: warning: unused variable 'ilast' [-Wunused-variable]
  815 |   int deg, inext, ilast;
      |                   ^~~~~
In file included from model_module2.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:33:
In file included from /data/gannet/ripley/R/test-clang/SparseChol/include/SparseChol.h:4:
/data/gannet/ripley/R/test-clang/SparseChol/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable]
   14 |   double val;
      |          ^~~
In file included from model_module2.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:249:11: warning: unused variable 'a' [-Wunused-variable]
  249 |     float a = std::stod(s);
      |           ^
In file included from model_module2.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:5:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/formula.hpp:6:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/formulaparse.h:208:19: warning: variable 'variable_in_data' set but not used [-Wunused-but-set-variable]
  208 |   bool add_check, variable_in_data;
      |                   ^
In file included from model_module2.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/model.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/modelbits.hpp:6:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/nngpcovariance.hpp:381:14: warning: unused variable 'av' [-Wunused-variable]
  381 |   double au, av, qf;
      |              ^~
In file included from model_module2.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/model.hpp:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/modeloptim.hpp:12:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/optim/optim.h:354:12: warning: unused variable 'result' [-Wunused-variable]
  354 |     double result = newuoa_closure( &closure, dim, control.npt, current_values.data(), control.rhobeg, control.rhoend, control.maxfun, w.data(), &fn_counter);
      |            ^~~~~~
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/optim/optim.h:503:16: warning: unused variable 'a' [-Wunused-variable]
  503 |         double a = eval(current_values, g);
      |                ^
In file included from model_module2.cpp:1:
In file included from ../inst/include/rtsheader.h:4:
In file included from ../inst/include/rts/rtsmodel.h:11:
In file included from ../inst/include/rts/rtsmodeloptim.h:4:
In file included from ../inst/include/rts/rtsmodelbits.h:13:
../inst/include/rts/nngpcovariance.h:498:18: warning: unused variable 'qf1' [-Wunused-variable]
  498 |   double au, av, qf1;
      |                  ^~~
In file included from model_module2.cpp:1:
In file included from ../inst/include/rtsheader.h:4:
In file included from ../inst/include/rts/rtsmodel.h:11:
In file included from ../inst/include/rts/rtsmodeloptim.h:4:
In file included from ../inst/include/rts/rtsmodelbits.h:15:
In file included from ../inst/include/rts/regionlinearpredictor.h:4:
../inst/include/rts/regiondata.h:67:7: warning: unused variable 'nInter' [-Wunused-variable]
   67 |   int nInter, r, t, l, idx1;
      |       ^~~~~~
../inst/include/rts/regiondata.h:67:24: warning: unused variable 'idx1' [-Wunused-variable]
   67 |   int nInter, r, t, l, idx1;
      |                        ^~~~
../inst/include/rts/regiondata.h:115:7: warning: unused variable 'nInter' [-Wunused-variable]
  115 |   int nInter, r, t, l, j, idx1;
      |       ^~~~~~
../inst/include/rts/regiondata.h:115:27: warning: unused variable 'idx1' [-Wunused-variable]
  115 |   int nInter, r, t, l, j, idx1;
      |                           ^~~~
In file included from model_module2.cpp:1:
In file included from ../inst/include/rtsheader.h:4:
In file included from ../inst/include/rts/rtsmodel.h:11:
../inst/include/rts/rtsmodeloptim.h:551:14: warning: unused variable 'logl' [-Wunused-variable]
  551 |       double logl = 0;
      |              ^~~~
In file included from model_module2.cpp:1:
In file included from ../inst/include/rtsheader.h:5:
../inst/include/rts/rtsregionmodel.h:467:7: warning: unused variable 'R' [-Wunused-variable]
  467 |   int R = region.nRegion;
      |       ^
../inst/include/rts/rtsregionmodel.h:514:7: warning: unused variable 'R' [-Wunused-variable]
  514 |   int R = region.nRegion;
      |       ^
../inst/include/rts/rtsregionmodel.h:561:7: warning: unused variable 'R' [-Wunused-variable]
  561 |   int R = region.nRegion;
      |       ^
../inst/include/rts/rtsregionmodel.h:608:7: warning: unused variable 'R' [-Wunused-variable]
  608 |   int R = region.nRegion;
      |       ^
../inst/include/rts/rtsregionmodel.h:661:7: warning: unused variable 'R' [-Wunused-variable]
  661 |   int R = region.nRegion;
      |       ^
../inst/include/rts/rtsregionmodel.h:714:7: warning: unused variable 'R' [-Wunused-variable]
  714 |   int R = region.nRegion;
      |       ^
In file included from model_module2.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:10:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:26:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:46:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model<glmmr::ModelBits<glmmr::Covariance, glmmr::LinearPredictor>>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::Model<glmmr::ModelBits<glmmr::Covariance, glmmr::LinearPredictor>>>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model<glmmr::ModelBits<glmmr::nngpCovariance, glmmr::LinearPredictor>>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::Model<glmmr::ModelBits<glmmr::nngpCovariance, glmmr::LinearPredictor>>>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model<glmmr::ModelBits<glmmr::hsgpCovariance, glmmr::LinearPredictor>>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::Model<glmmr::ModelBits<glmmr::hsgpCovariance, glmmr::LinearPredictor>>>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
In file included from model_module2.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/model.hpp:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/modeloptim.hpp:12:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/optim/optim.h:413:20: warning: private field 'iter' is not used [-Wunused-private-field]
  413 |   int              iter = 0;
      |                    ^
34 warnings generated.


Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) : 
  invalid non-character version specification 'x' (type: double)
Calls: cat ... as.numeric_version -> numeric_version -> .make_numeric_version
Execution halted
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error  -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/rstan/include' -I'/data/gannet/ripley/R/test-clang/StanHeaders/include' -I'/data/gannet/ripley/R/test-clang/glmmrBase/include' -I'/data/gannet/ripley/R/test-clang/SparseChol/include' -isystem /usr/local/clang18/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 model_module_extension.cpp -o model_module_extension.o
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:10:
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:29:
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]
  273 |       Index count = 0;
      |             ^
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:10:
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:29:
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/SparseLU:35:
/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]
   78 |   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]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:10:
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/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
   72 |                         Index replacements = 0;
      |                               ^
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:10:
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:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  246 |   int count = 0;
      |       ^
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:19:9: warning: 'EIGEN_DEFAULT_DENSE_INDEX_TYPE' macro redefined [-Wmacro-redefined]
   19 | #define EIGEN_DEFAULT_DENSE_INDEX_TYPE int
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/Macros.h:33:9: note: previous definition is here
   33 | #define EIGEN_DEFAULT_DENSE_INDEX_TYPE std::ptrdiff_t
      |         ^
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:33:
In file included from /data/gannet/ripley/R/test-clang/SparseChol/include/SparseChol.h:3:
/data/gannet/ripley/R/test-clang/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable]
  145 |   int x ;
      |       ^
/data/gannet/ripley/R/test-clang/SparseChol/include/sparsematrix.h:415:10: warning: unused variable 'val' [-Wunused-variable]
  415 |   double val;
      |          ^~~
/data/gannet/ripley/R/test-clang/SparseChol/include/sparsematrix.h:625:10: warning: unused variable 'mem' [-Wunused-variable]
  625 |   double mem = 0;
      |          ^~~
/data/gannet/ripley/R/test-clang/SparseChol/include/sparsematrix.h:626:7: warning: unused variable 'nz' [-Wunused-variable]
  626 |   int nz = Ap.back();
      |       ^~
/data/gannet/ripley/R/test-clang/SparseChol/include/sparsematrix.h:787:7: warning: variable 'ncmpa' set but not used [-Wunused-but-set-variable]
  787 |   int ncmpa = 0 ;
      |       ^
/data/gannet/ripley/R/test-clang/SparseChol/include/sparsematrix.h:815:19: warning: unused variable 'ilast' [-Wunused-variable]
  815 |   int deg, inext, ilast;
      |                   ^~~~~
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:33:
In file included from /data/gannet/ripley/R/test-clang/SparseChol/include/SparseChol.h:4:
/data/gannet/ripley/R/test-clang/SparseChol/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable]
   14 |   double val;
      |          ^~~
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:249:11: warning: unused variable 'a' [-Wunused-variable]
  249 |     float a = std::stod(s);
      |           ^
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:5:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/formula.hpp:6:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/formulaparse.h:208:19: warning: variable 'variable_in_data' set but not used [-Wunused-but-set-variable]
  208 |   bool add_check, variable_in_data;
      |                   ^
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/model.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/modelbits.hpp:6:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/nngpcovariance.hpp:381:14: warning: unused variable 'av' [-Wunused-variable]
  381 |   double au, av, qf;
      |              ^~
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/model.hpp:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/modeloptim.hpp:12:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/optim/optim.h:354:12: warning: unused variable 'result' [-Wunused-variable]
  354 |     double result = newuoa_closure( &closure, dim, control.npt, current_values.data(), control.rhobeg, control.rhoend, control.maxfun, w.data(), &fn_counter);
      |            ^~~~~~
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/optim/optim.h:503:16: warning: unused variable 'a' [-Wunused-variable]
  503 |         double a = eval(current_values, g);
      |                ^
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/rtsheader.h:4:
In file included from ../inst/include/rts/rtsmodel.h:11:
In file included from ../inst/include/rts/rtsmodeloptim.h:4:
In file included from ../inst/include/rts/rtsmodelbits.h:13:
../inst/include/rts/nngpcovariance.h:498:18: warning: unused variable 'qf1' [-Wunused-variable]
  498 |   double au, av, qf1;
      |                  ^~~
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/rtsheader.h:4:
In file included from ../inst/include/rts/rtsmodel.h:11:
In file included from ../inst/include/rts/rtsmodeloptim.h:4:
In file included from ../inst/include/rts/rtsmodelbits.h:15:
In file included from ../inst/include/rts/regionlinearpredictor.h:4:
../inst/include/rts/regiondata.h:67:7: warning: unused variable 'nInter' [-Wunused-variable]
   67 |   int nInter, r, t, l, idx1;
      |       ^~~~~~
../inst/include/rts/regiondata.h:67:24: warning: unused variable 'idx1' [-Wunused-variable]
   67 |   int nInter, r, t, l, idx1;
      |                        ^~~~
../inst/include/rts/regiondata.h:115:7: warning: unused variable 'nInter' [-Wunused-variable]
  115 |   int nInter, r, t, l, j, idx1;
      |       ^~~~~~
../inst/include/rts/regiondata.h:115:27: warning: unused variable 'idx1' [-Wunused-variable]
  115 |   int nInter, r, t, l, j, idx1;
      |                           ^~~~
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/rtsheader.h:4:
In file included from ../inst/include/rts/rtsmodel.h:11:
../inst/include/rts/rtsmodeloptim.h:551:14: warning: unused variable 'logl' [-Wunused-variable]
  551 |       double logl = 0;
      |              ^~~~
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/rtsheader.h:5:
../inst/include/rts/rtsregionmodel.h:467:7: warning: unused variable 'R' [-Wunused-variable]
  467 |   int R = region.nRegion;
      |       ^
../inst/include/rts/rtsregionmodel.h:514:7: warning: unused variable 'R' [-Wunused-variable]
  514 |   int R = region.nRegion;
      |       ^
../inst/include/rts/rtsregionmodel.h:561:7: warning: unused variable 'R' [-Wunused-variable]
  561 |   int R = region.nRegion;
      |       ^
../inst/include/rts/rtsregionmodel.h:608:7: warning: unused variable 'R' [-Wunused-variable]
  608 |   int R = region.nRegion;
      |       ^
../inst/include/rts/rtsregionmodel.h:661:7: warning: unused variable 'R' [-Wunused-variable]
  661 |   int R = region.nRegion;
      |       ^
../inst/include/rts/rtsregionmodel.h:714:7: warning: unused variable 'R' [-Wunused-variable]
  714 |   int R = region.nRegion;
      |       ^
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/general.h:10:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:26:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:46:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model<glmmr::ModelBits<glmmr::Covariance, glmmr::LinearPredictor>>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::Model<glmmr::ModelBits<glmmr::Covariance, glmmr::LinearPredictor>>>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model<glmmr::ModelBits<glmmr::nngpCovariance, glmmr::LinearPredictor>>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::Model<glmmr::ModelBits<glmmr::nngpCovariance, glmmr::LinearPredictor>>>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Model<glmmr::ModelBits<glmmr::hsgpCovariance, glmmr::LinearPredictor>>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
   31 |     delete obj;
      |     ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::Model<glmmr::ModelBits<glmmr::hsgpCovariance, glmmr::LinearPredictor>>>' requested here
   54 |     void Finalizer(T*) = standard_delete_finalizer<T>,
      |                          ^
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/model.hpp:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/modeloptim.hpp:12:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/optim/optim.h:15:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/optim/bobyqa_algo.h:201:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/optim/bobyqa_general.h:251:1: warning: unused function 'bobyqa' [-Wunused-function]
  251 | bobyqa(const INTEGER n, const INTEGER npt,
      | ^~~~~~
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/rtsheader.h:3:
In file included from ../inst/include/rts/rtsmaths.h:3:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr.h:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/model.hpp:8:
In file included from /data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/modeloptim.hpp:12:
/data/gannet/ripley/R/test-clang/glmmrBase/include/glmmr/optim/optim.h:413:20: warning: private field 'iter' is not used [-Wunused-private-field]
  413 |   int              iter = 0;
      |                    ^
35 warnings generated.


Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) : 
  invalid non-character version specification 'x' (type: double)
Calls: cat ... as.numeric_version -> numeric_version -> .make_numeric_version
Execution halted
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error  -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/rstan/include' -I'/data/gannet/ripley/R/test-clang/StanHeaders/include' -I'/data/gannet/ripley/R/test-clang/glmmrBase/include' -I'/data/gannet/ripley/R/test-clang/SparseChol/include' -isystem /usr/local/clang18/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 stanExports_rtsapproxlgcp.cc -o stanExports_rtsapproxlgcp.o
In file included from stanExports_rtsapproxlgcp.cc:5:
In file included from ./stanExports_rtsapproxlgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3:
In file included from /data/gannet/ripley/R/test-clang/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]
  273 |       Index count = 0;
      |             ^
In file included from stanExports_rtsapproxlgcp.cc:5:
In file included from ./stanExports_rtsapproxlgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3:
In file included from /data/gannet/ripley/R/test-clang/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/SparseLU:35:
/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]
   78 |   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]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from stanExports_rtsapproxlgcp.cc:5:
In file included from ./stanExports_rtsapproxlgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
   47 |       virtual std::streamsize xsputn(const char_type* s, int n) {
      |                               ^
/usr/local/clang18/bin/../include/c++/v1/streambuf:276:22: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int')
  276 |   virtual streamsize xsputn(const char_type* __s, streamsize __n);
      |                      ^
In file included from stanExports_rtsapproxlgcp.cc:5:
In file included from ./stanExports_rtsapproxlgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
   70 |       virtual std::streamsize xsputn(const char_type* s, int n) {
      |                               ^
/usr/local/clang18/bin/../include/c++/v1/streambuf:276:22: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int')
  276 |   virtual streamsize xsputn(const char_type* __s, streamsize __n);
      |                      ^
In file included from stanExports_rtsapproxlgcp.cc:5:
In file included from ./stanExports_rtsapproxlgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31:
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/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
   72 |                         Index replacements = 0;
      |                               ^
In file included from stanExports_rtsapproxlgcp.cc:5:
In file included from ./stanExports_rtsapproxlgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31:
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:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  246 |   int count = 0;
      |       ^
In file included from stanExports_rtsapproxlgcp.cc:5:
In file included from ./stanExports_rtsapproxlgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
   57 | struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
      | ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
   45 | class ops_partials_edge;
      | ^~~~~
      | struct
In file included from stanExports_rtsapproxlgcp.cc:5:
In file included from ./stanExports_rtsapproxlgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp.cc:5:
In file included from ./stanExports_rtsapproxlgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp.cc:5:
In file included from ./stanExports_rtsapproxlgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
   49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp.cc:5:
In file included from ./stanExports_rtsapproxlgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
   75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp.cc:5:
In file included from ./stanExports_rtsapproxlgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp.cc:5:
In file included from ./stanExports_rtsapproxlgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp.cc:5:
In file included from ./stanExports_rtsapproxlgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
   99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp.cc:5:
In file included from ./stanExports_rtsapproxlgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp.cc:5:
In file included from ./stanExports_rtsapproxlgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
 1252 |     int ret = stan::services::error_codes::CONFIG;
      |         ^
In file included from stanExports_rtsapproxlgcp.cc:5:
./stanExports_rtsapproxlgcp.h:1132:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
 1132 |       int pos__ = std::numeric_limits<int>::min();
      |           ^
In file included from stanExports_rtsapproxlgcp.cc:5:
In file included from ./stanExports_rtsapproxlgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:46:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/choose.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/binomial.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/beta.hpp:1721:
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable]
   29 |       const T x_extrema = 1 / (1 + a);
      |               ^~~~~~~~~
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:304:7: note: in instantiation of member function 'boost::math::detail::temme_root_finder<double>::temme_root_finder' requested here
  304 |       temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 2);
      |       ^
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:615:20: note: in instantiation of function template specialization 'boost::math::detail::temme_method_2_ibeta_inverse<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
  615 |                x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol);
      |                    ^
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:992:17: note: in instantiation of function template specialization 'boost::math::detail::ibeta_inv_imp<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
  992 |    rx = detail::ibeta_inv_imp(
      |                 ^
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:1023:11: note: in instantiation of function template specialization 'boost::math::ibeta_inv<double, double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<>>>' requested here
 1023 |    return ibeta_inv(a, b, p, static_cast<result_type*>(nullptr), pol);
      |           ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/inv_inc_beta.hpp:32:23: note: in instantiation of function template specialization 'boost::math::ibeta_inv<double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<>>>' requested here
   32 |   return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
      |                       ^
19 warnings generated.


Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) : 
  invalid non-character version specification 'x' (type: double)
Calls: cat ... as.numeric_version -> numeric_version -> .make_numeric_version
Execution halted
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error  -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/rstan/include' -I'/data/gannet/ripley/R/test-clang/StanHeaders/include' -I'/data/gannet/ripley/R/test-clang/glmmrBase/include' -I'/data/gannet/ripley/R/test-clang/SparseChol/include' -isystem /usr/local/clang18/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 stanExports_rtsapproxlgcp_nngp.cc -o stanExports_rtsapproxlgcp_nngp.o
In file included from stanExports_rtsapproxlgcp_nngp.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3:
In file included from /data/gannet/ripley/R/test-clang/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]
  273 |       Index count = 0;
      |             ^
In file included from stanExports_rtsapproxlgcp_nngp.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3:
In file included from /data/gannet/ripley/R/test-clang/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/SparseLU:35:
/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]
   78 |   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]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from stanExports_rtsapproxlgcp_nngp.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
   47 |       virtual std::streamsize xsputn(const char_type* s, int n) {
      |                               ^
/usr/local/clang18/bin/../include/c++/v1/streambuf:276:22: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int')
  276 |   virtual streamsize xsputn(const char_type* __s, streamsize __n);
      |                      ^
In file included from stanExports_rtsapproxlgcp_nngp.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
   70 |       virtual std::streamsize xsputn(const char_type* s, int n) {
      |                               ^
/usr/local/clang18/bin/../include/c++/v1/streambuf:276:22: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int')
  276 |   virtual streamsize xsputn(const char_type* __s, streamsize __n);
      |                      ^
In file included from stanExports_rtsapproxlgcp_nngp.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31:
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/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
   72 |                         Index replacements = 0;
      |                               ^
In file included from stanExports_rtsapproxlgcp_nngp.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31:
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:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  246 |   int count = 0;
      |       ^
In file included from stanExports_rtsapproxlgcp_nngp.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
   57 | struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
      | ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
   45 | class ops_partials_edge;
      | ^~~~~
      | struct
In file included from stanExports_rtsapproxlgcp_nngp.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp_nngp.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp_nngp.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
   49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp_nngp.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
   75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp_nngp.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp_nngp.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp_nngp.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
   99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp_nngp.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp_nngp.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
 1252 |     int ret = stan::services::error_codes::CONFIG;
      |         ^
In file included from stanExports_rtsapproxlgcp_nngp.cc:5:
./stanExports_rtsapproxlgcp_nngp.h:1266:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
 1266 |       int pos__ = std::numeric_limits<int>::min();
      |           ^
In file included from stanExports_rtsapproxlgcp_nngp.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:46:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/choose.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/binomial.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/beta.hpp:1721:
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable]
   29 |       const T x_extrema = 1 / (1 + a);
      |               ^~~~~~~~~
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:304:7: note: in instantiation of member function 'boost::math::detail::temme_root_finder<double>::temme_root_finder' requested here
  304 |       temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 2);
      |       ^
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:615:20: note: in instantiation of function template specialization 'boost::math::detail::temme_method_2_ibeta_inverse<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
  615 |                x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol);
      |                    ^
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:992:17: note: in instantiation of function template specialization 'boost::math::detail::ibeta_inv_imp<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
  992 |    rx = detail::ibeta_inv_imp(
      |                 ^
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:1023:11: note: in instantiation of function template specialization 'boost::math::ibeta_inv<double, double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<>>>' requested here
 1023 |    return ibeta_inv(a, b, p, static_cast<result_type*>(nullptr), pol);
      |           ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/inv_inc_beta.hpp:32:23: note: in instantiation of function template specialization 'boost::math::ibeta_inv<double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<>>>' requested here
   32 |   return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
      |                       ^
19 warnings generated.


Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) : 
  invalid non-character version specification 'x' (type: double)
Calls: cat ... as.numeric_version -> numeric_version -> .make_numeric_version
Execution halted
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error  -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/rstan/include' -I'/data/gannet/ripley/R/test-clang/StanHeaders/include' -I'/data/gannet/ripley/R/test-clang/glmmrBase/include' -I'/data/gannet/ripley/R/test-clang/SparseChol/include' -isystem /usr/local/clang18/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 stanExports_rtsapproxlgcp_nngp_region.cc -o stanExports_rtsapproxlgcp_nngp_region.o
In file included from stanExports_rtsapproxlgcp_nngp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3:
In file included from /data/gannet/ripley/R/test-clang/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]
  273 |       Index count = 0;
      |             ^
In file included from stanExports_rtsapproxlgcp_nngp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3:
In file included from /data/gannet/ripley/R/test-clang/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/SparseLU:35:
/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]
   78 |   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]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from stanExports_rtsapproxlgcp_nngp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
   47 |       virtual std::streamsize xsputn(const char_type* s, int n) {
      |                               ^
/usr/local/clang18/bin/../include/c++/v1/streambuf:276:22: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int')
  276 |   virtual streamsize xsputn(const char_type* __s, streamsize __n);
      |                      ^
In file included from stanExports_rtsapproxlgcp_nngp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
   70 |       virtual std::streamsize xsputn(const char_type* s, int n) {
      |                               ^
/usr/local/clang18/bin/../include/c++/v1/streambuf:276:22: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int')
  276 |   virtual streamsize xsputn(const char_type* __s, streamsize __n);
      |                      ^
In file included from stanExports_rtsapproxlgcp_nngp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31:
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/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
   72 |                         Index replacements = 0;
      |                               ^
In file included from stanExports_rtsapproxlgcp_nngp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31:
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:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  246 |   int count = 0;
      |       ^
In file included from stanExports_rtsapproxlgcp_nngp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
   57 | struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
      | ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
   45 | class ops_partials_edge;
      | ^~~~~
      | struct
In file included from stanExports_rtsapproxlgcp_nngp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp_nngp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp_nngp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
   49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp_nngp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
   75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp_nngp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp_nngp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp_nngp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
   99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp_nngp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp_nngp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
 1252 |     int ret = stan::services::error_codes::CONFIG;
      |         ^
In file included from stanExports_rtsapproxlgcp_nngp_region.cc:5:
./stanExports_rtsapproxlgcp_nngp_region.h:1586:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
 1586 |       int pos__ = std::numeric_limits<int>::min();
      |           ^
In file included from stanExports_rtsapproxlgcp_nngp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_nngp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:46:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/choose.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/binomial.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/beta.hpp:1721:
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable]
   29 |       const T x_extrema = 1 / (1 + a);
      |               ^~~~~~~~~
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:304:7: note: in instantiation of member function 'boost::math::detail::temme_root_finder<double>::temme_root_finder' requested here
  304 |       temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 2);
      |       ^
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:615:20: note: in instantiation of function template specialization 'boost::math::detail::temme_method_2_ibeta_inverse<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
  615 |                x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol);
      |                    ^
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:992:17: note: in instantiation of function template specialization 'boost::math::detail::ibeta_inv_imp<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
  992 |    rx = detail::ibeta_inv_imp(
      |                 ^
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:1023:11: note: in instantiation of function template specialization 'boost::math::ibeta_inv<double, double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<>>>' requested here
 1023 |    return ibeta_inv(a, b, p, static_cast<result_type*>(nullptr), pol);
      |           ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/inv_inc_beta.hpp:32:23: note: in instantiation of function template specialization 'boost::math::ibeta_inv<double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<>>>' requested here
   32 |   return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
      |                       ^
19 warnings generated.


Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) : 
  invalid non-character version specification 'x' (type: double)
Calls: cat ... as.numeric_version -> numeric_version -> .make_numeric_version
Execution halted
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error  -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/rstan/include' -I'/data/gannet/ripley/R/test-clang/StanHeaders/include' -I'/data/gannet/ripley/R/test-clang/glmmrBase/include' -I'/data/gannet/ripley/R/test-clang/SparseChol/include' -isystem /usr/local/clang18/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 stanExports_rtsapproxlgcp_region.cc -o stanExports_rtsapproxlgcp_region.o
In file included from stanExports_rtsapproxlgcp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3:
In file included from /data/gannet/ripley/R/test-clang/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]
  273 |       Index count = 0;
      |             ^
In file included from stanExports_rtsapproxlgcp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3:
In file included from /data/gannet/ripley/R/test-clang/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/SparseLU:35:
/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]
   78 |   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]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from stanExports_rtsapproxlgcp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
   47 |       virtual std::streamsize xsputn(const char_type* s, int n) {
      |                               ^
/usr/local/clang18/bin/../include/c++/v1/streambuf:276:22: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int')
  276 |   virtual streamsize xsputn(const char_type* __s, streamsize __n);
      |                      ^
In file included from stanExports_rtsapproxlgcp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
   70 |       virtual std::streamsize xsputn(const char_type* s, int n) {
      |                               ^
/usr/local/clang18/bin/../include/c++/v1/streambuf:276:22: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int')
  276 |   virtual streamsize xsputn(const char_type* __s, streamsize __n);
      |                      ^
In file included from stanExports_rtsapproxlgcp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31:
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/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
   72 |                         Index replacements = 0;
      |                               ^
In file included from stanExports_rtsapproxlgcp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31:
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:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  246 |   int count = 0;
      |       ^
In file included from stanExports_rtsapproxlgcp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
   57 | struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
      | ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
   45 | class ops_partials_edge;
      | ^~~~~
      | struct
In file included from stanExports_rtsapproxlgcp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
   49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
   75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
   99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsapproxlgcp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
 1252 |     int ret = stan::services::error_codes::CONFIG;
      |         ^
In file included from stanExports_rtsapproxlgcp_region.cc:5:
./stanExports_rtsapproxlgcp_region.h:1429:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
 1429 |       int pos__ = std::numeric_limits<int>::min();
      |           ^
In file included from stanExports_rtsapproxlgcp_region.cc:5:
In file included from ./stanExports_rtsapproxlgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:46:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/choose.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/binomial.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/beta.hpp:1721:
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable]
   29 |       const T x_extrema = 1 / (1 + a);
      |               ^~~~~~~~~
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:304:7: note: in instantiation of member function 'boost::math::detail::temme_root_finder<double>::temme_root_finder' requested here
  304 |       temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 2);
      |       ^
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:615:20: note: in instantiation of function template specialization 'boost::math::detail::temme_method_2_ibeta_inverse<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
  615 |                x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol);
      |                    ^
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:992:17: note: in instantiation of function template specialization 'boost::math::detail::ibeta_inv_imp<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
  992 |    rx = detail::ibeta_inv_imp(
      |                 ^
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:1023:11: note: in instantiation of function template specialization 'boost::math::ibeta_inv<double, double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<>>>' requested here
 1023 |    return ibeta_inv(a, b, p, static_cast<result_type*>(nullptr), pol);
      |           ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/inv_inc_beta.hpp:32:23: note: in instantiation of function template specialization 'boost::math::ibeta_inv<double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<>>>' requested here
   32 |   return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
      |                       ^
19 warnings generated.


Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) : 
  invalid non-character version specification 'x' (type: double)
Calls: cat ... as.numeric_version -> numeric_version -> .make_numeric_version
Execution halted
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error  -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/rstan/include' -I'/data/gannet/ripley/R/test-clang/StanHeaders/include' -I'/data/gannet/ripley/R/test-clang/glmmrBase/include' -I'/data/gannet/ripley/R/test-clang/SparseChol/include' -isystem /usr/local/clang18/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 stanExports_rtslgcp.cc -o stanExports_rtslgcp.o
In file included from stanExports_rtslgcp.cc:5:
In file included from ./stanExports_rtslgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3:
In file included from /data/gannet/ripley/R/test-clang/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]
  273 |       Index count = 0;
      |             ^
In file included from stanExports_rtslgcp.cc:5:
In file included from ./stanExports_rtslgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3:
In file included from /data/gannet/ripley/R/test-clang/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/SparseLU:35:
/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]
   78 |   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]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from stanExports_rtslgcp.cc:5:
In file included from ./stanExports_rtslgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
   47 |       virtual std::streamsize xsputn(const char_type* s, int n) {
      |                               ^
/usr/local/clang18/bin/../include/c++/v1/streambuf:276:22: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int')
  276 |   virtual streamsize xsputn(const char_type* __s, streamsize __n);
      |                      ^
In file included from stanExports_rtslgcp.cc:5:
In file included from ./stanExports_rtslgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
   70 |       virtual std::streamsize xsputn(const char_type* s, int n) {
      |                               ^
/usr/local/clang18/bin/../include/c++/v1/streambuf:276:22: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int')
  276 |   virtual streamsize xsputn(const char_type* __s, streamsize __n);
      |                      ^
In file included from stanExports_rtslgcp.cc:5:
In file included from ./stanExports_rtslgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31:
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/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
   72 |                         Index replacements = 0;
      |                               ^
In file included from stanExports_rtslgcp.cc:5:
In file included from ./stanExports_rtslgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31:
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:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  246 |   int count = 0;
      |       ^
In file included from stanExports_rtslgcp.cc:5:
In file included from ./stanExports_rtslgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
   57 | struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
      | ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
   45 | class ops_partials_edge;
      | ^~~~~
      | struct
In file included from stanExports_rtslgcp.cc:5:
In file included from ./stanExports_rtslgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtslgcp.cc:5:
In file included from ./stanExports_rtslgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtslgcp.cc:5:
In file included from ./stanExports_rtslgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
   49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtslgcp.cc:5:
In file included from ./stanExports_rtslgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
   75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtslgcp.cc:5:
In file included from ./stanExports_rtslgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtslgcp.cc:5:
In file included from ./stanExports_rtslgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtslgcp.cc:5:
In file included from ./stanExports_rtslgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
   99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtslgcp.cc:5:
In file included from ./stanExports_rtslgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtslgcp.cc:5:
In file included from ./stanExports_rtslgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
 1252 |     int ret = stan::services::error_codes::CONFIG;
      |         ^
In file included from stanExports_rtslgcp.cc:5:
./stanExports_rtslgcp.h:1035:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
 1035 |       int pos__ = std::numeric_limits<int>::min();
      |           ^
In file included from stanExports_rtslgcp.cc:5:
In file included from ./stanExports_rtslgcp.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:46:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/choose.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/binomial.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/beta.hpp:1721:
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable]
   29 |       const T x_extrema = 1 / (1 + a);
      |               ^~~~~~~~~
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:304:7: note: in instantiation of member function 'boost::math::detail::temme_root_finder<double>::temme_root_finder' requested here
  304 |       temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 2);
      |       ^
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:615:20: note: in instantiation of function template specialization 'boost::math::detail::temme_method_2_ibeta_inverse<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
  615 |                x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol);
      |                    ^
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:992:17: note: in instantiation of function template specialization 'boost::math::detail::ibeta_inv_imp<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
  992 |    rx = detail::ibeta_inv_imp(
      |                 ^
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:1023:11: note: in instantiation of function template specialization 'boost::math::ibeta_inv<double, double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<>>>' requested here
 1023 |    return ibeta_inv(a, b, p, static_cast<result_type*>(nullptr), pol);
      |           ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/inv_inc_beta.hpp:32:23: note: in instantiation of function template specialization 'boost::math::ibeta_inv<double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<>>>' requested here
   32 |   return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
      |                       ^
19 warnings generated.


Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) : 
  invalid non-character version specification 'x' (type: double)
Calls: cat ... as.numeric_version -> numeric_version -> .make_numeric_version
Execution halted
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error  -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/rstan/include' -I'/data/gannet/ripley/R/test-clang/StanHeaders/include' -I'/data/gannet/ripley/R/test-clang/glmmrBase/include' -I'/data/gannet/ripley/R/test-clang/SparseChol/include' -isystem /usr/local/clang18/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 stanExports_rtslgcp_region.cc -o stanExports_rtslgcp_region.o
In file included from stanExports_rtslgcp_region.cc:5:
In file included from ./stanExports_rtslgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3:
In file included from /data/gannet/ripley/R/test-clang/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]
  273 |       Index count = 0;
      |             ^
In file included from stanExports_rtslgcp_region.cc:5:
In file included from ./stanExports_rtslgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3:
In file included from /data/gannet/ripley/R/test-clang/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/SparseLU:35:
/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]
   78 |   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]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from stanExports_rtslgcp_region.cc:5:
In file included from ./stanExports_rtslgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
   47 |       virtual std::streamsize xsputn(const char_type* s, int n) {
      |                               ^
/usr/local/clang18/bin/../include/c++/v1/streambuf:276:22: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int')
  276 |   virtual streamsize xsputn(const char_type* __s, streamsize __n);
      |                      ^
In file included from stanExports_rtslgcp_region.cc:5:
In file included from ./stanExports_rtslgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
   70 |       virtual std::streamsize xsputn(const char_type* s, int n) {
      |                               ^
/usr/local/clang18/bin/../include/c++/v1/streambuf:276:22: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int')
  276 |   virtual streamsize xsputn(const char_type* __s, streamsize __n);
      |                      ^
In file included from stanExports_rtslgcp_region.cc:5:
In file included from ./stanExports_rtslgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31:
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/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
   72 |                         Index replacements = 0;
      |                               ^
In file included from stanExports_rtslgcp_region.cc:5:
In file included from ./stanExports_rtslgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31:
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:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  246 |   int count = 0;
      |       ^
In file included from stanExports_rtslgcp_region.cc:5:
In file included from ./stanExports_rtslgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
   57 | struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
      | ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
   45 | class ops_partials_edge;
      | ^~~~~
      | struct
In file included from stanExports_rtslgcp_region.cc:5:
In file included from ./stanExports_rtslgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtslgcp_region.cc:5:
In file included from ./stanExports_rtslgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtslgcp_region.cc:5:
In file included from ./stanExports_rtslgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
   49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtslgcp_region.cc:5:
In file included from ./stanExports_rtslgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
   75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtslgcp_region.cc:5:
In file included from ./stanExports_rtslgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtslgcp_region.cc:5:
In file included from ./stanExports_rtslgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtslgcp_region.cc:5:
In file included from ./stanExports_rtslgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
   99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtslgcp_region.cc:5:
In file included from ./stanExports_rtslgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtslgcp_region.cc:5:
In file included from ./stanExports_rtslgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
 1252 |     int ret = stan::services::error_codes::CONFIG;
      |         ^
In file included from stanExports_rtslgcp_region.cc:5:
./stanExports_rtslgcp_region.h:1343:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
 1343 |       int pos__ = std::numeric_limits<int>::min();
      |           ^
In file included from stanExports_rtslgcp_region.cc:5:
In file included from ./stanExports_rtslgcp_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:46:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/choose.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/binomial.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/beta.hpp:1721:
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable]
   29 |       const T x_extrema = 1 / (1 + a);
      |               ^~~~~~~~~
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:304:7: note: in instantiation of member function 'boost::math::detail::temme_root_finder<double>::temme_root_finder' requested here
  304 |       temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 2);
      |       ^
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:615:20: note: in instantiation of function template specialization 'boost::math::detail::temme_method_2_ibeta_inverse<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
  615 |                x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol);
      |                    ^
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:992:17: note: in instantiation of function template specialization 'boost::math::detail::ibeta_inv_imp<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
  992 |    rx = detail::ibeta_inv_imp(
      |                 ^
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:1023:11: note: in instantiation of function template specialization 'boost::math::ibeta_inv<double, double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<>>>' requested here
 1023 |    return ibeta_inv(a, b, p, static_cast<result_type*>(nullptr), pol);
      |           ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/inv_inc_beta.hpp:32:23: note: in instantiation of function template specialization 'boost::math::ibeta_inv<double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<>>>' requested here
   32 |   return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
      |                       ^
19 warnings generated.


Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) : 
  invalid non-character version specification 'x' (type: double)
Calls: cat ... as.numeric_version -> numeric_version -> .make_numeric_version
Execution halted
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error  -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/rstan/include' -I'/data/gannet/ripley/R/test-clang/StanHeaders/include' -I'/data/gannet/ripley/R/test-clang/glmmrBase/include' -I'/data/gannet/ripley/R/test-clang/SparseChol/include' -isystem /usr/local/clang18/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 stanExports_rtsmcml_poisson.cc -o stanExports_rtsmcml_poisson.o
In file included from stanExports_rtsmcml_poisson.cc:5:
In file included from ./stanExports_rtsmcml_poisson.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3:
In file included from /data/gannet/ripley/R/test-clang/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]
  273 |       Index count = 0;
      |             ^
In file included from stanExports_rtsmcml_poisson.cc:5:
In file included from ./stanExports_rtsmcml_poisson.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3:
In file included from /data/gannet/ripley/R/test-clang/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/SparseLU:35:
/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]
   78 |   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]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from stanExports_rtsmcml_poisson.cc:5:
In file included from ./stanExports_rtsmcml_poisson.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
   47 |       virtual std::streamsize xsputn(const char_type* s, int n) {
      |                               ^
/usr/local/clang18/bin/../include/c++/v1/streambuf:276:22: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int')
  276 |   virtual streamsize xsputn(const char_type* __s, streamsize __n);
      |                      ^
In file included from stanExports_rtsmcml_poisson.cc:5:
In file included from ./stanExports_rtsmcml_poisson.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
   70 |       virtual std::streamsize xsputn(const char_type* s, int n) {
      |                               ^
/usr/local/clang18/bin/../include/c++/v1/streambuf:276:22: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int')
  276 |   virtual streamsize xsputn(const char_type* __s, streamsize __n);
      |                      ^
In file included from stanExports_rtsmcml_poisson.cc:5:
In file included from ./stanExports_rtsmcml_poisson.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31:
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/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
   72 |                         Index replacements = 0;
      |                               ^
In file included from stanExports_rtsmcml_poisson.cc:5:
In file included from ./stanExports_rtsmcml_poisson.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31:
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:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  246 |   int count = 0;
      |       ^
In file included from stanExports_rtsmcml_poisson.cc:5:
In file included from ./stanExports_rtsmcml_poisson.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
   57 | struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
      | ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
   45 | class ops_partials_edge;
      | ^~~~~
      | struct
In file included from stanExports_rtsmcml_poisson.cc:5:
In file included from ./stanExports_rtsmcml_poisson.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsmcml_poisson.cc:5:
In file included from ./stanExports_rtsmcml_poisson.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsmcml_poisson.cc:5:
In file included from ./stanExports_rtsmcml_poisson.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
   49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsmcml_poisson.cc:5:
In file included from ./stanExports_rtsmcml_poisson.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
   75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsmcml_poisson.cc:5:
In file included from ./stanExports_rtsmcml_poisson.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsmcml_poisson.cc:5:
In file included from ./stanExports_rtsmcml_poisson.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsmcml_poisson.cc:5:
In file included from ./stanExports_rtsmcml_poisson.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
   99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsmcml_poisson.cc:5:
In file included from ./stanExports_rtsmcml_poisson.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsmcml_poisson.cc:5:
In file included from ./stanExports_rtsmcml_poisson.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
 1252 |     int ret = stan::services::error_codes::CONFIG;
      |         ^
In file included from stanExports_rtsmcml_poisson.cc:5:
./stanExports_rtsmcml_poisson.h:300:20: warning: unused variable 'jacobian__' [-Wunused-variable]
  300 |     constexpr bool jacobian__ = false;
      |                    ^~~~~~~~~~
./stanExports_rtsmcml_poisson.h:350:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
  350 |       int pos__ = std::numeric_limits<int>::min();
      |           ^
In file included from stanExports_rtsmcml_poisson.cc:5:
In file included from ./stanExports_rtsmcml_poisson.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:46:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/choose.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/binomial.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/beta.hpp:1721:
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable]
   29 |       const T x_extrema = 1 / (1 + a);
      |               ^~~~~~~~~
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:304:7: note: in instantiation of member function 'boost::math::detail::temme_root_finder<double>::temme_root_finder' requested here
  304 |       temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 2);
      |       ^
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:615:20: note: in instantiation of function template specialization 'boost::math::detail::temme_method_2_ibeta_inverse<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
  615 |                x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol);
      |                    ^
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:992:17: note: in instantiation of function template specialization 'boost::math::detail::ibeta_inv_imp<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
  992 |    rx = detail::ibeta_inv_imp(
      |                 ^
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:1023:11: note: in instantiation of function template specialization 'boost::math::ibeta_inv<double, double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<>>>' requested here
 1023 |    return ibeta_inv(a, b, p, static_cast<result_type*>(nullptr), pol);
      |           ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/inv_inc_beta.hpp:32:23: note: in instantiation of function template specialization 'boost::math::ibeta_inv<double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<>>>' requested here
   32 |   return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
      |                       ^
20 warnings generated.


Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) : 
  invalid non-character version specification 'x' (type: double)
Calls: cat ... as.numeric_version -> numeric_version -> .make_numeric_version
Execution halted
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error  -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/rstan/include' -I'/data/gannet/ripley/R/test-clang/StanHeaders/include' -I'/data/gannet/ripley/R/test-clang/glmmrBase/include' -I'/data/gannet/ripley/R/test-clang/SparseChol/include' -isystem /usr/local/clang18/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 stanExports_rtsmcml_poisson_region.cc -o stanExports_rtsmcml_poisson_region.o
In file included from stanExports_rtsmcml_poisson_region.cc:5:
In file included from ./stanExports_rtsmcml_poisson_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3:
In file included from /data/gannet/ripley/R/test-clang/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]
  273 |       Index count = 0;
      |             ^
In file included from stanExports_rtsmcml_poisson_region.cc:5:
In file included from ./stanExports_rtsmcml_poisson_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3:
In file included from /data/gannet/ripley/R/test-clang/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/SparseLU:35:
/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]
   78 |   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]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from stanExports_rtsmcml_poisson_region.cc:5:
In file included from ./stanExports_rtsmcml_poisson_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
   47 |       virtual std::streamsize xsputn(const char_type* s, int n) {
      |                               ^
/usr/local/clang18/bin/../include/c++/v1/streambuf:276:22: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int')
  276 |   virtual streamsize xsputn(const char_type* __s, streamsize __n);
      |                      ^
In file included from stanExports_rtsmcml_poisson_region.cc:5:
In file included from ./stanExports_rtsmcml_poisson_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
   70 |       virtual std::streamsize xsputn(const char_type* s, int n) {
      |                               ^
/usr/local/clang18/bin/../include/c++/v1/streambuf:276:22: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int')
  276 |   virtual streamsize xsputn(const char_type* __s, streamsize __n);
      |                      ^
In file included from stanExports_rtsmcml_poisson_region.cc:5:
In file included from ./stanExports_rtsmcml_poisson_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31:
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/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
   72 |                         Index replacements = 0;
      |                               ^
In file included from stanExports_rtsmcml_poisson_region.cc:5:
In file included from ./stanExports_rtsmcml_poisson_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31:
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:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  246 |   int count = 0;
      |       ^
In file included from stanExports_rtsmcml_poisson_region.cc:5:
In file included from ./stanExports_rtsmcml_poisson_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
   57 | struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
      | ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
   45 | class ops_partials_edge;
      | ^~~~~
      | struct
In file included from stanExports_rtsmcml_poisson_region.cc:5:
In file included from ./stanExports_rtsmcml_poisson_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsmcml_poisson_region.cc:5:
In file included from ./stanExports_rtsmcml_poisson_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsmcml_poisson_region.cc:5:
In file included from ./stanExports_rtsmcml_poisson_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
   49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsmcml_poisson_region.cc:5:
In file included from ./stanExports_rtsmcml_poisson_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
   75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsmcml_poisson_region.cc:5:
In file included from ./stanExports_rtsmcml_poisson_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsmcml_poisson_region.cc:5:
In file included from ./stanExports_rtsmcml_poisson_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsmcml_poisson_region.cc:5:
In file included from ./stanExports_rtsmcml_poisson_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
   99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsmcml_poisson_region.cc:5:
In file included from ./stanExports_rtsmcml_poisson_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/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]
  495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_rtsmcml_poisson_region.cc:5:
In file included from ./stanExports_rtsmcml_poisson_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
 1252 |     int ret = stan::services::error_codes::CONFIG;
      |         ^
In file included from stanExports_rtsmcml_poisson_region.cc:5:
./stanExports_rtsmcml_poisson_region.h:436:20: warning: unused variable 'jacobian__' [-Wunused-variable]
  436 |     constexpr bool jacobian__ = false;
      |                    ^~~~~~~~~~
./stanExports_rtsmcml_poisson_region.h:486:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
  486 |       int pos__ = std::numeric_limits<int>::min();
      |           ^
In file included from stanExports_rtsmcml_poisson_region.cc:5:
In file included from ./stanExports_rtsmcml_poisson_region.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:46:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/choose.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/binomial.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/beta.hpp:1721:
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable]
   29 |       const T x_extrema = 1 / (1 + a);
      |               ^~~~~~~~~
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:304:7: note: in instantiation of member function 'boost::math::detail::temme_root_finder<double>::temme_root_finder' requested here
  304 |       temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 2);
      |       ^
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:615:20: note: in instantiation of function template specialization 'boost::math::detail::temme_method_2_ibeta_inverse<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
  615 |                x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol);
      |                    ^
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:992:17: note: in instantiation of function template specialization 'boost::math::detail::ibeta_inv_imp<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
  992 |    rx = detail::ibeta_inv_imp(
      |                 ^
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:1023:11: note: in instantiation of function template specialization 'boost::math::ibeta_inv<double, double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<>>>' requested here
 1023 |    return ibeta_inv(a, b, p, static_cast<result_type*>(nullptr), pol);
      |           ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/inv_inc_beta.hpp:32:23: note: in instantiation of function template specialization 'boost::math::ibeta_inv<double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<>>>' requested here
   32 |   return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
      |                       ^
20 warnings generated.


Error in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) : 
  invalid non-character version specification 'x' (type: double)
Calls: cat ... as.numeric_version -> numeric_version -> .make_numeric_version
Execution halted
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error  -I'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -I'/data/gannet/ripley/R/test-clang/rstan/include' -I'/data/gannet/ripley/R/test-clang/StanHeaders/include' -I'/data/gannet/ripley/R/test-clang/glmmrBase/include' -I'/data/gannet/ripley/R/test-clang/SparseChol/include' -isystem /usr/local/clang18/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 variogram.cpp -o variogram.o
In file included from variogram.cpp:1:
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:29:
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]
  273 |       Index count = 0;
      |             ^
In file included from variogram.cpp:1:
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:29:
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/SparseLU:35:
/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]
   78 |   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]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from variogram.cpp:1:
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/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
   72 |                         Index replacements = 0;
      |                               ^
In file included from variogram.cpp:1:
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:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  246 |   int count = 0;
      |       ^
5 warnings generated.
/usr/local/clang18/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang18/lib -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o rts2.so RcppExports.o create_new_models.o model_module.o model_module2.o model_module_extension.o stanExports_rtsapproxlgcp.o stanExports_rtsapproxlgcp_nngp.o stanExports_rtsapproxlgcp_nngp_region.o stanExports_rtsapproxlgcp_region.o stanExports_rtslgcp.o stanExports_rtslgcp_region.o stanExports_rtsmcml_poisson.o stanExports_rtsmcml_poisson_region.o variogram.o -L/data/gannet/ripley/R/test-clang/RcppParallel/lib/ -Wl,-rpath,/data/gannet/ripley/R/test-clang/RcppParallel/lib/ -ltbb -ltbbmalloc
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/rts2/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/rts2/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/rts2/src'
installing to /data/gannet/ripley/R/packages/tests-clang/rts2.Rcheck/00LOCK-rts2/00new/rts2/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (rts2)