* installing *source* package ‘glmmrBase’ ...
** package ‘glmmrBase’ successfully unpacked and MD5 sums checked
** using staged installation
Warning message:
In .warning_nowrite(file.path(basename(pkgdir), ...)) :
  'glmmrBase/src/Makevars' already exists.  Not overwritten by rstantools.FALSE
** libs
using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using C++17
using SDK: ‘MacOSX11.3.sdk’


clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DRCPP_PARALLEL_USE_TBB=1 -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include' -I/opt/R/arm64/include    -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fPIC  -falign-functions=64 -Wall -g -O2  -c RcppExports.cpp -o RcppExports.o


clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DRCPP_PARALLEL_USE_TBB=1 -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include' -I/opt/R/arm64/include    -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fPIC  -falign-functions=64 -Wall -g -O2  -c covariance_module.cpp -o covariance_module.o
In file included from covariance_module.cpp:1:
In file included from ../inst/include/glmmr.h:3:
../inst/include/glmmr/general.h:19:9: warning: 'EIGEN_DEFAULT_DENSE_INDEX_TYPE' macro redefined [-Wmacro-redefined]
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE int
        ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/Macros.h:33:9: note: previous definition is here
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE std::ptrdiff_t
        ^
In file included from covariance_module.cpp:1:
In file included from ../inst/include/glmmr.h:3:
In file included from ../inst/include/glmmr/general.h:37:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/SparseChol.h:3:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable]
  int x ;
      ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:415:10: warning: unused variable 'val' [-Wunused-variable]
  double val;
         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:815:19: warning: unused variable 'ilast' [-Wunused-variable]
  int deg, inext, ilast;
                  ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:626:7: warning: unused variable 'nz' [-Wunused-variable]
  int nz = Ap.back();
      ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:625:10: warning: unused variable 'mem' [-Wunused-variable]
  double mem = 0;
         ^
In file included from covariance_module.cpp:1:
In file included from ../inst/include/glmmr.h:3:
In file included from ../inst/include/glmmr/general.h:37:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/SparseChol.h:4:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable]
  double val;
         ^
In file included from covariance_module.cpp:1:
In file included from ../inst/include/glmmr.h:3:
../inst/include/glmmr/general.h:257:11: warning: unused variable 'a' [-Wunused-variable]
    float a = std::stod(s);
          ^
In file included from covariance_module.cpp:1:
In file included from ../inst/include/glmmr.h:5:
In file included from ../inst/include/glmmr/formula.hpp:6:
../inst/include/glmmr/formulaparse.h:207:19: warning: variable 'variable_in_data' set but not used [-Wunused-but-set-variable]
  bool add_check, variable_in_data;
                  ^
In file included from covariance_module.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:4:
In file included from ../inst/include/glmmr/modelbits.hpp:6:
../inst/include/glmmr/nngpcovariance.hpp:379:14: warning: unused variable 'av' [-Wunused-variable]
  double au, av, qf;
             ^
In file included from covariance_module.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:8:
In file included from ../inst/include/glmmr/modeloptim.hpp:12:
../inst/include/glmmr/optim/optim.h:354:12: warning: unused variable 'result' [-Wunused-variable]
    double result = newuoa_closure( &closure, dim, control.npt, current_values.data(), control.rhobeg, control.rhoend, control.maxfun, w.data(), &fn_counter);
           ^
../inst/include/glmmr/optim/optim.h:503:16: warning: unused variable 'a' [-Wunused-variable]
        double a = eval(current_values, g);
               ^
In file included from covariance_module.cpp:1:
In file included from ../inst/include/glmmr.h:3:
In file included from ../inst/include/glmmr/general.h:10:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include/RcppEigen.h:26:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/Rcpp.h:46:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::Covariance' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::Covariance>' requested here
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::nngpCovariance' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::nngpCovariance>' requested here
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::hsgpCovariance' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::hsgpCovariance>' requested here
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
In file included from covariance_module.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:8:
In file included from ../inst/include/glmmr/modeloptim.hpp:12:
In file included from ../inst/include/glmmr/optim/optim.h:15:
In file included from ../inst/include/glmmr/optim/bobyqa_algo.h:201:
../inst/include/glmmr/optim/bobyqa_general.h:251:1: warning: unused function 'bobyqa' [-Wunused-function]
bobyqa(const INTEGER n, const INTEGER npt,
^
In file included from covariance_module.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:8:
In file included from ../inst/include/glmmr/modeloptim.hpp:12:
../inst/include/glmmr/optim/optim.h:413:20: warning: private field 'iter' is not used [-Wunused-private-field]
  int              iter = 0;
                   ^
20 warnings generated.


clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DRCPP_PARALLEL_USE_TBB=1 -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include' -I/opt/R/arm64/include    -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fPIC  -falign-functions=64 -Wall -g -O2  -c heckman.cpp -o heckman.o


clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DRCPP_PARALLEL_USE_TBB=1 -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include' -I/opt/R/arm64/include    -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fPIC  -falign-functions=64 -Wall -g -O2  -c linpred_module.cpp -o linpred_module.o
In file included from linpred_module.cpp:1:
In file included from ../inst/include/glmmr.h:3:
../inst/include/glmmr/general.h:19:9: warning: 'EIGEN_DEFAULT_DENSE_INDEX_TYPE' macro redefined [-Wmacro-redefined]
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE int
        ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/Macros.h:33:9: note: previous definition is here
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE std::ptrdiff_t
        ^
In file included from linpred_module.cpp:1:
In file included from ../inst/include/glmmr.h:3:
In file included from ../inst/include/glmmr/general.h:37:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/SparseChol.h:3:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable]
  int x ;
      ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:415:10: warning: unused variable 'val' [-Wunused-variable]
  double val;
         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:815:19: warning: unused variable 'ilast' [-Wunused-variable]
  int deg, inext, ilast;
                  ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:626:7: warning: unused variable 'nz' [-Wunused-variable]
  int nz = Ap.back();
      ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:625:10: warning: unused variable 'mem' [-Wunused-variable]
  double mem = 0;
         ^
In file included from linpred_module.cpp:1:
In file included from ../inst/include/glmmr.h:3:
In file included from ../inst/include/glmmr/general.h:37:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/SparseChol.h:4:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable]
  double val;
         ^
In file included from linpred_module.cpp:1:
In file included from ../inst/include/glmmr.h:3:
../inst/include/glmmr/general.h:257:11: warning: unused variable 'a' [-Wunused-variable]
    float a = std::stod(s);
          ^
In file included from linpred_module.cpp:1:
In file included from ../inst/include/glmmr.h:5:
In file included from ../inst/include/glmmr/formula.hpp:6:
../inst/include/glmmr/formulaparse.h:207:19: warning: variable 'variable_in_data' set but not used [-Wunused-but-set-variable]
  bool add_check, variable_in_data;
                  ^
In file included from linpred_module.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:4:
In file included from ../inst/include/glmmr/modelbits.hpp:6:
../inst/include/glmmr/nngpcovariance.hpp:379:14: warning: unused variable 'av' [-Wunused-variable]
  double au, av, qf;
             ^
In file included from linpred_module.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:8:
In file included from ../inst/include/glmmr/modeloptim.hpp:12:
../inst/include/glmmr/optim/optim.h:354:12: warning: unused variable 'result' [-Wunused-variable]
    double result = newuoa_closure( &closure, dim, control.npt, current_values.data(), control.rhobeg, control.rhoend, control.maxfun, w.data(), &fn_counter);
           ^
../inst/include/glmmr/optim/optim.h:503:16: warning: unused variable 'a' [-Wunused-variable]
        double a = eval(current_values, g);
               ^
In file included from linpred_module.cpp:1:
In file included from ../inst/include/glmmr.h:3:
In file included from ../inst/include/glmmr/general.h:10:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include/RcppEigen.h:26:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/Rcpp.h:46:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::LinearPredictor' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::LinearPredictor>' requested here
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
In file included from linpred_module.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:8:
In file included from ../inst/include/glmmr/modeloptim.hpp:12:
In file included from ../inst/include/glmmr/optim/optim.h:15:
In file included from ../inst/include/glmmr/optim/bobyqa_algo.h:201:
../inst/include/glmmr/optim/bobyqa_general.h:251:1: warning: unused function 'bobyqa' [-Wunused-function]
bobyqa(const INTEGER n, const INTEGER npt,
^
In file included from linpred_module.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:8:
In file included from ../inst/include/glmmr/modeloptim.hpp:12:
../inst/include/glmmr/optim/optim.h:413:20: warning: private field 'iter' is not used [-Wunused-private-field]
  int              iter = 0;
                   ^
18 warnings generated.


clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DRCPP_PARALLEL_USE_TBB=1 -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include' -I/opt/R/arm64/include    -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fPIC  -falign-functions=64 -Wall -g -O2  -c model_module.cpp -o model_module.o
In file included from model_module.cpp:1:
In file included from ../inst/include/glmmr.h:3:
../inst/include/glmmr/general.h:19:9: warning: 'EIGEN_DEFAULT_DENSE_INDEX_TYPE' macro redefined [-Wmacro-redefined]
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE int
        ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/Macros.h:33:9: note: previous definition is here
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE std::ptrdiff_t
        ^
In file included from model_module.cpp:1:
In file included from ../inst/include/glmmr.h:3:
In file included from ../inst/include/glmmr/general.h:37:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/SparseChol.h:3:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable]
  int x ;
      ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:415:10: warning: unused variable 'val' [-Wunused-variable]
  double val;
         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:625:10: warning: unused variable 'mem' [-Wunused-variable]
  double mem = 0;
         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:815:19: warning: unused variable 'ilast' [-Wunused-variable]
  int deg, inext, ilast;
                  ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:626:7: warning: unused variable 'nz' [-Wunused-variable]
  int nz = Ap.back();
      ^
In file included from model_module.cpp:1:
In file included from ../inst/include/glmmr.h:3:
In file included from ../inst/include/glmmr/general.h:37:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/SparseChol.h:4:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable]
  double val;
         ^
In file included from model_module.cpp:1:
In file included from ../inst/include/glmmr.h:3:
../inst/include/glmmr/general.h:257:11: warning: unused variable 'a' [-Wunused-variable]
    float a = std::stod(s);
          ^
In file included from model_module.cpp:1:
In file included from ../inst/include/glmmr.h:5:
In file included from ../inst/include/glmmr/formula.hpp:6:
../inst/include/glmmr/formulaparse.h:207:19: warning: variable 'variable_in_data' set but not used [-Wunused-but-set-variable]
  bool add_check, variable_in_data;
                  ^
In file included from model_module.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:4:
In file included from ../inst/include/glmmr/modelbits.hpp:6:
../inst/include/glmmr/nngpcovariance.hpp:379:14: warning: unused variable 'av' [-Wunused-variable]
  double au, av, qf;
             ^
In file included from model_module.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:8:
In file included from ../inst/include/glmmr/modeloptim.hpp:12:
../inst/include/glmmr/optim/optim.h:354:12: warning: unused variable 'result' [-Wunused-variable]
    double result = newuoa_closure( &closure, dim, control.npt, current_values.data(), control.rhobeg, control.rhoend, control.maxfun, w.data(), &fn_counter);
           ^
../inst/include/glmmr/optim/optim.h:503:16: warning: unused variable 'a' [-Wunused-variable]
        double a = eval(current_values, g);
               ^
In file included from model_module.cpp:1:
In file included from ../inst/include/glmmr.h:3:
In file included from ../inst/include/glmmr/general.h:10:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include/RcppEigen.h:26:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/Rcpp.h:46:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::ModelBits<glmmr::Covariance, glmmr::LinearPredictor>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::ModelBits<glmmr::Covariance, glmmr::LinearPredictor>>' requested here
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
In file included from model_module.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:8:
In file included from ../inst/include/glmmr/modeloptim.hpp:12:
In file included from ../inst/include/glmmr/optim/optim.h:15:
In file included from ../inst/include/glmmr/optim/bobyqa_algo.h:201:
../inst/include/glmmr/optim/bobyqa_general.h:251:1: warning: unused function 'bobyqa' [-Wunused-function]
bobyqa(const INTEGER n, const INTEGER npt,
^
In file included from model_module.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:8:
In file included from ../inst/include/glmmr/modeloptim.hpp:12:
../inst/include/glmmr/optim/optim.h:413:20: warning: private field 'iter' is not used [-Wunused-private-field]
  int              iter = 0;
                   ^
18 warnings generated.


clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DRCPP_PARALLEL_USE_TBB=1 -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include' -I/opt/R/arm64/include    -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fPIC  -falign-functions=64 -Wall -g -O2  -c model_module_2.cpp -o model_module_2.o
In file included from model_module_2.cpp:1:
In file included from ../inst/include/glmmr.h:3:
../inst/include/glmmr/general.h:19:9: warning: 'EIGEN_DEFAULT_DENSE_INDEX_TYPE' macro redefined [-Wmacro-redefined]
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE int
        ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/Macros.h:33:9: note: previous definition is here
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE std::ptrdiff_t
        ^
In file included from model_module_2.cpp:1:
In file included from ../inst/include/glmmr.h:3:
In file included from ../inst/include/glmmr/general.h:37:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/SparseChol.h:3:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable]
  int x ;
      ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:415:10: warning: unused variable 'val' [-Wunused-variable]
  double val;
         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:625:10: warning: unused variable 'mem' [-Wunused-variable]
  double mem = 0;
         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:815:19: warning: unused variable 'ilast' [-Wunused-variable]
  int deg, inext, ilast;
                  ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:626:7: warning: unused variable 'nz' [-Wunused-variable]
  int nz = Ap.back();
      ^
In file included from model_module_2.cpp:1:
In file included from ../inst/include/glmmr.h:3:
In file included from ../inst/include/glmmr/general.h:37:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/SparseChol.h:4:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable]
  double val;
         ^
In file included from model_module_2.cpp:1:
In file included from ../inst/include/glmmr.h:3:
../inst/include/glmmr/general.h:257:11: warning: unused variable 'a' [-Wunused-variable]
    float a = std::stod(s);
          ^
In file included from model_module_2.cpp:1:
In file included from ../inst/include/glmmr.h:5:
In file included from ../inst/include/glmmr/formula.hpp:6:
../inst/include/glmmr/formulaparse.h:207:19: warning: variable 'variable_in_data' set but not used [-Wunused-but-set-variable]
  bool add_check, variable_in_data;
                  ^
In file included from model_module_2.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:4:
In file included from ../inst/include/glmmr/modelbits.hpp:6:
../inst/include/glmmr/nngpcovariance.hpp:379:14: warning: unused variable 'av' [-Wunused-variable]
  double au, av, qf;
             ^
In file included from model_module_2.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:8:
In file included from ../inst/include/glmmr/modeloptim.hpp:12:
../inst/include/glmmr/optim/optim.h:354:12: warning: unused variable 'result' [-Wunused-variable]
    double result = newuoa_closure( &closure, dim, control.npt, current_values.data(), control.rhobeg, control.rhoend, control.maxfun, w.data(), &fn_counter);
           ^
../inst/include/glmmr/optim/optim.h:503:16: warning: unused variable 'a' [-Wunused-variable]
        double a = eval(current_values, g);
               ^
In file included from model_module_2.cpp:1:
In file included from ../inst/include/glmmr.h:3:
In file included from ../inst/include/glmmr/general.h:10:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include/RcppEigen.h:26:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/Rcpp.h:46:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
In file included from model_module_2.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:8:
In file included from ../inst/include/glmmr/modeloptim.hpp:12:
../inst/include/glmmr/optim/optim.h:413:20: warning: private field 'iter' is not used [-Wunused-private-field]
  int              iter = 0;
                   ^
16 warnings generated.


clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DRCPP_PARALLEL_USE_TBB=1 -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include' -I/opt/R/arm64/include    -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fPIC  -falign-functions=64 -Wall -g -O2  -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/glmmr.h:3:
../inst/include/glmmr/general.h:19:9: warning: 'EIGEN_DEFAULT_DENSE_INDEX_TYPE' macro redefined [-Wmacro-redefined]
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE int
        ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/Macros.h:33:9: note: previous definition is here
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE std::ptrdiff_t
        ^
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/glmmr.h:3:
In file included from ../inst/include/glmmr/general.h:37:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/SparseChol.h:3:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable]
  int x ;
      ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:415:10: warning: unused variable 'val' [-Wunused-variable]
  double val;
         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:625:10: warning: unused variable 'mem' [-Wunused-variable]
  double mem = 0;
         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:815:19: warning: unused variable 'ilast' [-Wunused-variable]
  int deg, inext, ilast;
                  ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:626:7: warning: unused variable 'nz' [-Wunused-variable]
  int nz = Ap.back();
      ^
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/glmmr.h:3:
In file included from ../inst/include/glmmr/general.h:37:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/SparseChol.h:4:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable]
  double val;
         ^
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/glmmr.h:3:
../inst/include/glmmr/general.h:257:11: warning: unused variable 'a' [-Wunused-variable]
    float a = std::stod(s);
          ^
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/glmmr.h:5:
In file included from ../inst/include/glmmr/formula.hpp:6:
../inst/include/glmmr/formulaparse.h:207:19: warning: variable 'variable_in_data' set but not used [-Wunused-but-set-variable]
  bool add_check, variable_in_data;
                  ^
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:4:
In file included from ../inst/include/glmmr/modelbits.hpp:6:
../inst/include/glmmr/nngpcovariance.hpp:379:14: warning: unused variable 'av' [-Wunused-variable]
  double au, av, qf;
             ^
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:8:
In file included from ../inst/include/glmmr/modeloptim.hpp:12:
../inst/include/glmmr/optim/optim.h:354:12: warning: unused variable 'result' [-Wunused-variable]
    double result = newuoa_closure( &closure, dim, control.npt, current_values.data(), control.rhobeg, control.rhoend, control.maxfun, w.data(), &fn_counter);
           ^
../inst/include/glmmr/optim/optim.h:503:16: warning: unused variable 'a' [-Wunused-variable]
        double a = eval(current_values, g);
               ^
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/glmmr.h:3:
In file included from ../inst/include/glmmr/general.h:10:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include/RcppEigen.h:26:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/Rcpp.h:46:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::nngpCovariance' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::nngpCovariance>' requested here
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/Rcpp/XPtr.h:31:5: warning: delete called on non-final 'glmmr::hsgpCovariance' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/Rcpp/XPtr.h:54:26: note: in instantiation of function template specialization 'Rcpp::standard_delete_finalizer<glmmr::hsgpCovariance>' requested here
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:8:
In file included from ../inst/include/glmmr/modeloptim.hpp:12:
In file included from ../inst/include/glmmr/optim/optim.h:15:
In file included from ../inst/include/glmmr/optim/bobyqa_algo.h:201:
../inst/include/glmmr/optim/bobyqa_general.h:251:1: warning: unused function 'bobyqa' [-Wunused-function]
bobyqa(const INTEGER n, const INTEGER npt,
^
In file included from model_module_extension.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:8:
In file included from ../inst/include/glmmr/modeloptim.hpp:12:
../inst/include/glmmr/optim/optim.h:413:20: warning: private field 'iter' is not used [-Wunused-private-field]
  int              iter = 0;
                   ^
19 warnings generated.


clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DRCPP_PARALLEL_USE_TBB=1 -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include' -I/opt/R/arm64/include    -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fPIC  -falign-functions=64 -Wall -g -O2  -c openmp_utils.cpp -o openmp_utils.o
In file included from openmp_utils.cpp:1:
In file included from ../inst/include/glmmr.h:3:
../inst/include/glmmr/general.h:19:9: warning: 'EIGEN_DEFAULT_DENSE_INDEX_TYPE' macro redefined [-Wmacro-redefined]
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE int
        ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/Macros.h:33:9: note: previous definition is here
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE std::ptrdiff_t
        ^
In file included from openmp_utils.cpp:1:
In file included from ../inst/include/glmmr.h:3:
In file included from ../inst/include/glmmr/general.h:37:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/SparseChol.h:3:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable]
  int x ;
      ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:415:10: warning: unused variable 'val' [-Wunused-variable]
  double val;
         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:625:10: warning: unused variable 'mem' [-Wunused-variable]
  double mem = 0;
         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:815:19: warning: unused variable 'ilast' [-Wunused-variable]
  int deg, inext, ilast;
                  ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:626:7: warning: unused variable 'nz' [-Wunused-variable]
  int nz = Ap.back();
      ^
In file included from openmp_utils.cpp:1:
In file included from ../inst/include/glmmr.h:3:
In file included from ../inst/include/glmmr/general.h:37:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/SparseChol.h:4:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable]
  double val;
         ^
In file included from openmp_utils.cpp:1:
In file included from ../inst/include/glmmr.h:3:
../inst/include/glmmr/general.h:257:11: warning: unused variable 'a' [-Wunused-variable]
    float a = std::stod(s);
          ^
In file included from openmp_utils.cpp:1:
In file included from ../inst/include/glmmr.h:5:
In file included from ../inst/include/glmmr/formula.hpp:6:
../inst/include/glmmr/formulaparse.h:207:19: warning: variable 'variable_in_data' set but not used [-Wunused-but-set-variable]
  bool add_check, variable_in_data;
                  ^
In file included from openmp_utils.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:4:
In file included from ../inst/include/glmmr/modelbits.hpp:6:
../inst/include/glmmr/nngpcovariance.hpp:379:14: warning: unused variable 'av' [-Wunused-variable]
  double au, av, qf;
             ^
In file included from openmp_utils.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:8:
In file included from ../inst/include/glmmr/modeloptim.hpp:12:
../inst/include/glmmr/optim/optim.h:354:12: warning: unused variable 'result' [-Wunused-variable]
    double result = newuoa_closure( &closure, dim, control.npt, current_values.data(), control.rhobeg, control.rhoend, control.maxfun, w.data(), &fn_counter);
           ^
../inst/include/glmmr/optim/optim.h:503:16: warning: unused variable 'a' [-Wunused-variable]
        double a = eval(current_values, g);
               ^
openmp_utils.cpp:18:9: warning: variable 'a' set but not used [-Wunused-but-set-variable]
    int a, b; // needed for defines on machines without openmp
        ^
In file included from openmp_utils.cpp:1:
In file included from ../inst/include/glmmr.h:3:
In file included from ../inst/include/glmmr/general.h:10:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include/RcppEigen.h:26:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/Rcpp.h:46:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
In file included from openmp_utils.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:8:
In file included from ../inst/include/glmmr/modeloptim.hpp:12:
In file included from ../inst/include/glmmr/optim/optim.h:15:
In file included from ../inst/include/glmmr/optim/bobyqa_algo.h:201:
../inst/include/glmmr/optim/bobyqa_general.h:251:1: warning: unused function 'bobyqa' [-Wunused-function]
bobyqa(const INTEGER n, const INTEGER npt,
^
In file included from openmp_utils.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:8:
In file included from ../inst/include/glmmr/modeloptim.hpp:12:
../inst/include/glmmr/optim/optim.h:413:20: warning: private field 'iter' is not used [-Wunused-private-field]
  int              iter = 0;
                   ^
18 warnings generated.


clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DRCPP_PARALLEL_USE_TBB=1 -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include' -I/opt/R/arm64/include    -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fPIC  -falign-functions=64 -Wall -g -O2  -c other_functions.cpp -o other_functions.o
In file included from other_functions.cpp:1:
In file included from ../inst/include/glmmr.h:3:
../inst/include/glmmr/general.h:19:9: warning: 'EIGEN_DEFAULT_DENSE_INDEX_TYPE' macro redefined [-Wmacro-redefined]
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE int
        ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/Macros.h:33:9: note: previous definition is here
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE std::ptrdiff_t
        ^
In file included from other_functions.cpp:1:
In file included from ../inst/include/glmmr.h:3:
In file included from ../inst/include/glmmr/general.h:37:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/SparseChol.h:3:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:145:7: warning: unused variable 'x' [-Wunused-variable]
  int x ;
      ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:415:10: warning: unused variable 'val' [-Wunused-variable]
  double val;
         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:625:10: warning: unused variable 'mem' [-Wunused-variable]
  double mem = 0;
         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:815:19: warning: unused variable 'ilast' [-Wunused-variable]
  int deg, inext, ilast;
                  ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/sparsematrix.h:626:7: warning: unused variable 'nz' [-Wunused-variable]
  int nz = Ap.back();
      ^
In file included from other_functions.cpp:1:
In file included from ../inst/include/glmmr.h:3:
In file included from ../inst/include/glmmr/general.h:37:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/SparseChol.h:4:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include/operators.h:14:10: warning: unused variable 'val' [-Wunused-variable]
  double val;
         ^
In file included from other_functions.cpp:1:
In file included from ../inst/include/glmmr.h:3:
../inst/include/glmmr/general.h:257:11: warning: unused variable 'a' [-Wunused-variable]
    float a = std::stod(s);
          ^
In file included from other_functions.cpp:1:
In file included from ../inst/include/glmmr.h:5:
In file included from ../inst/include/glmmr/formula.hpp:6:
../inst/include/glmmr/formulaparse.h:207:19: warning: variable 'variable_in_data' set but not used [-Wunused-but-set-variable]
  bool add_check, variable_in_data;
                  ^
In file included from other_functions.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:4:
In file included from ../inst/include/glmmr/modelbits.hpp:6:
../inst/include/glmmr/nngpcovariance.hpp:379:14: warning: unused variable 'av' [-Wunused-variable]
  double au, av, qf;
             ^
In file included from other_functions.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:8:
In file included from ../inst/include/glmmr/modeloptim.hpp:12:
../inst/include/glmmr/optim/optim.h:354:12: warning: unused variable 'result' [-Wunused-variable]
    double result = newuoa_closure( &closure, dim, control.npt, current_values.data(), control.rhobeg, control.rhoend, control.maxfun, w.data(), &fn_counter);
           ^
../inst/include/glmmr/optim/optim.h:503:16: warning: unused variable 'a' [-Wunused-variable]
        double a = eval(current_values, g);
               ^
In file included from other_functions.cpp:1:
In file included from ../inst/include/glmmr.h:3:
In file included from ../inst/include/glmmr/general.h:10:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include/RcppEigen.h:26:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/Rcpp.h:46:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
    delete obj;
    ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
    void Finalizer(T*) = standard_delete_finalizer<T>,
                         ^
In file included from other_functions.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:8:
In file included from ../inst/include/glmmr/modeloptim.hpp:12:
In file included from ../inst/include/glmmr/optim/optim.h:15:
In file included from ../inst/include/glmmr/optim/bobyqa_algo.h:201:
../inst/include/glmmr/optim/bobyqa_general.h:251:1: warning: unused function 'bobyqa' [-Wunused-function]
bobyqa(const INTEGER n, const INTEGER npt,
^
In file included from other_functions.cpp:1:
In file included from ../inst/include/glmmr.h:8:
In file included from ../inst/include/glmmr/model.hpp:8:
In file included from ../inst/include/glmmr/modeloptim.hpp:12:
../inst/include/glmmr/optim/optim.h:413:20: warning: private field 'iter' is not used [-Wunused-private-field]
  int              iter = 0;
                   ^
17 warnings generated.


clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DRCPP_PARALLEL_USE_TBB=1 -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include' -I/opt/R/arm64/include    -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fPIC  -falign-functions=64 -Wall -g -O2  -c stanExports_mcml_bernoulli.cc -o stanExports_mcml_bernoulli.o
In file included from stanExports_mcml_bernoulli.cc:5:
In file included from ./stanExports_mcml_bernoulli.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_mcml_bernoulli.cc:5:
In file included from ./stanExports_mcml_bernoulli.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_mcml_bernoulli.cc:5:
In file included from ./stanExports_mcml_bernoulli.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:43:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
class ops_partials_edge;
^~~~~
struct
In file included from stanExports_mcml_bernoulli.cc:5:
In file included from ./stanExports_mcml_bernoulli.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
    int ret = stan::services::error_codes::CONFIG;
        ^
In file included from stanExports_mcml_bernoulli.cc:5:
./stanExports_mcml_bernoulli.h:271:20: warning: unused variable 'jacobian__' [-Wunused-variable]
    constexpr bool jacobian__ = false;
                   ^
./stanExports_mcml_bernoulli.h:308:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
./stanExports_mcml_bernoulli.h:334:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_mcml_bernoulli.cc:5:
In file included from ./stanExports_mcml_bernoulli.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:43:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun.hpp:46:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun/choose.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include/boost/math/special_functions/binomial.hpp:15:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include/boost/math/special_functions/beta.hpp:1721:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable]
      const T x_extrema = 1 / (1 + a);
              ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
      temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 2);
      ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
               x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol);
                   ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
   rx = detail::ibeta_inv_imp(
                ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
   return ibeta_inv(a, b, p, static_cast<result_type*>(nullptr), pol);
          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
  return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
                      ^
8 warnings generated.


clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DRCPP_PARALLEL_USE_TBB=1 -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include' -I/opt/R/arm64/include    -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fPIC  -falign-functions=64 -Wall -g -O2  -c stanExports_mcml_beta.cc -o stanExports_mcml_beta.o
In file included from stanExports_mcml_beta.cc:5:
In file included from ./stanExports_mcml_beta.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_mcml_beta.cc:5:
In file included from ./stanExports_mcml_beta.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_mcml_beta.cc:5:
In file included from ./stanExports_mcml_beta.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:43:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
class ops_partials_edge;
^~~~~
struct
In file included from stanExports_mcml_beta.cc:5:
In file included from ./stanExports_mcml_beta.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
    int ret = stan::services::error_codes::CONFIG;
        ^
In file included from stanExports_mcml_beta.cc:5:
./stanExports_mcml_beta.h:262:20: warning: unused variable 'jacobian__' [-Wunused-variable]
    constexpr bool jacobian__ = false;
                   ^
./stanExports_mcml_beta.h:313:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
./stanExports_mcml_beta.h:339:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_mcml_beta.cc:5:
In file included from ./stanExports_mcml_beta.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:43:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun.hpp:46:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun/choose.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include/boost/math/special_functions/binomial.hpp:15:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include/boost/math/special_functions/beta.hpp:1721:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable]
      const T x_extrema = 1 / (1 + a);
              ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
      temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 2);
      ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
               x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol);
                   ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
   rx = detail::ibeta_inv_imp(
                ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
   return ibeta_inv(a, b, p, static_cast<result_type*>(nullptr), pol);
          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
  return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
                      ^
8 warnings generated.


clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DRCPP_PARALLEL_USE_TBB=1 -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include' -I/opt/R/arm64/include    -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fPIC  -falign-functions=64 -Wall -g -O2  -c stanExports_mcml_binomial.cc -o stanExports_mcml_binomial.o
In file included from stanExports_mcml_binomial.cc:5:
In file included from ./stanExports_mcml_binomial.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_mcml_binomial.cc:5:
In file included from ./stanExports_mcml_binomial.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_mcml_binomial.cc:5:
In file included from ./stanExports_mcml_binomial.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:43:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
class ops_partials_edge;
^~~~~
struct
In file included from stanExports_mcml_binomial.cc:5:
In file included from ./stanExports_mcml_binomial.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
    int ret = stan::services::error_codes::CONFIG;
        ^
In file included from stanExports_mcml_binomial.cc:5:
./stanExports_mcml_binomial.h:282:20: warning: unused variable 'jacobian__' [-Wunused-variable]
    constexpr bool jacobian__ = false;
                   ^
./stanExports_mcml_binomial.h:319:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
./stanExports_mcml_binomial.h:345:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_mcml_binomial.cc:5:
In file included from ./stanExports_mcml_binomial.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:43:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun.hpp:46:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun/choose.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include/boost/math/special_functions/binomial.hpp:15:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include/boost/math/special_functions/beta.hpp:1721:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable]
      const T x_extrema = 1 / (1 + a);
              ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
      temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 2);
      ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
               x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol);
                   ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
   rx = detail::ibeta_inv_imp(
                ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
   return ibeta_inv(a, b, p, static_cast<result_type*>(nullptr), pol);
          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
  return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
                      ^
8 warnings generated.


clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DRCPP_PARALLEL_USE_TBB=1 -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include' -I/opt/R/arm64/include    -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fPIC  -falign-functions=64 -Wall -g -O2  -c stanExports_mcml_gamma.cc -o stanExports_mcml_gamma.o
In file included from stanExports_mcml_gamma.cc:5:
In file included from ./stanExports_mcml_gamma.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_mcml_gamma.cc:5:
In file included from ./stanExports_mcml_gamma.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_mcml_gamma.cc:5:
In file included from ./stanExports_mcml_gamma.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:43:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
class ops_partials_edge;
^~~~~
struct
In file included from stanExports_mcml_gamma.cc:5:
In file included from ./stanExports_mcml_gamma.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
    int ret = stan::services::error_codes::CONFIG;
        ^
In file included from stanExports_mcml_gamma.cc:5:
./stanExports_mcml_gamma.h:276:20: warning: unused variable 'jacobian__' [-Wunused-variable]
    constexpr bool jacobian__ = false;
                   ^
./stanExports_mcml_gamma.h:313:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
./stanExports_mcml_gamma.h:339:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_mcml_gamma.cc:5:
In file included from ./stanExports_mcml_gamma.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:43:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun.hpp:46:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun/choose.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include/boost/math/special_functions/binomial.hpp:15:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include/boost/math/special_functions/beta.hpp:1721:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable]
      const T x_extrema = 1 / (1 + a);
              ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
      temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 2);
      ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
               x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol);
                   ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
   rx = detail::ibeta_inv_imp(
                ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
   return ibeta_inv(a, b, p, static_cast<result_type*>(nullptr), pol);
          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
  return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
                      ^
8 warnings generated.


clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DRCPP_PARALLEL_USE_TBB=1 -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include' -I/opt/R/arm64/include    -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fPIC  -falign-functions=64 -Wall -g -O2  -c stanExports_mcml_gaussian.cc -o stanExports_mcml_gaussian.o
In file included from stanExports_mcml_gaussian.cc:5:
In file included from ./stanExports_mcml_gaussian.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_mcml_gaussian.cc:5:
In file included from ./stanExports_mcml_gaussian.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_mcml_gaussian.cc:5:
In file included from ./stanExports_mcml_gaussian.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:43:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
class ops_partials_edge;
^~~~~
struct
In file included from stanExports_mcml_gaussian.cc:5:
In file included from ./stanExports_mcml_gaussian.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
    int ret = stan::services::error_codes::CONFIG;
        ^
In file included from stanExports_mcml_gaussian.cc:5:
./stanExports_mcml_gaussian.h:265:20: warning: unused variable 'jacobian__' [-Wunused-variable]
    constexpr bool jacobian__ = false;
                   ^
./stanExports_mcml_gaussian.h:302:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
./stanExports_mcml_gaussian.h:328:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_mcml_gaussian.cc:5:
In file included from ./stanExports_mcml_gaussian.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:43:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun.hpp:46:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun/choose.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include/boost/math/special_functions/binomial.hpp:15:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include/boost/math/special_functions/beta.hpp:1721:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable]
      const T x_extrema = 1 / (1 + a);
              ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
      temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 2);
      ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
               x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol);
                   ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
   rx = detail::ibeta_inv_imp(
                ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
   return ibeta_inv(a, b, p, static_cast<result_type*>(nullptr), pol);
          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
  return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
                      ^
8 warnings generated.


clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DRCPP_PARALLEL_USE_TBB=1 -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include' -I/opt/R/arm64/include    -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fPIC  -falign-functions=64 -Wall -g -O2  -c stanExports_mcml_poisson.cc -o stanExports_mcml_poisson.o
In file included from stanExports_mcml_poisson.cc:5:
In file included from ./stanExports_mcml_poisson.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_mcml_poisson.cc:5:
In file included from ./stanExports_mcml_poisson.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_mcml_poisson.cc:5:
In file included from ./stanExports_mcml_poisson.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:43:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
class ops_partials_edge;
^~~~~
struct
In file included from stanExports_mcml_poisson.cc:5:
In file included from ./stanExports_mcml_poisson.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
    int ret = stan::services::error_codes::CONFIG;
        ^
In file included from stanExports_mcml_poisson.cc:5:
./stanExports_mcml_poisson.h:235:20: warning: unused variable 'jacobian__' [-Wunused-variable]
    constexpr bool jacobian__ = false;
                   ^
./stanExports_mcml_poisson.h:272:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
./stanExports_mcml_poisson.h:298:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_mcml_poisson.cc:5:
In file included from ./stanExports_mcml_poisson.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:43:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun.hpp:46:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun/choose.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include/boost/math/special_functions/binomial.hpp:15:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include/boost/math/special_functions/beta.hpp:1721:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable]
      const T x_extrema = 1 / (1 + a);
              ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
      temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 2);
      ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
               x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol);
                   ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
   rx = detail::ibeta_inv_imp(
                ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
   return ibeta_inv(a, b, p, static_cast<result_type*>(nullptr), pol);
          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
  return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
                      ^
8 warnings generated.


clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DRCPP_PARALLEL_USE_TBB=1 -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/SparseChol/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include' -I/opt/R/arm64/include    -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fPIC  -falign-functions=64 -Wall -g -O2  -c stanExports_mcml_quantile.cc -o stanExports_mcml_quantile.o
In file included from stanExports_mcml_quantile.cc:5:
In file included from ./stanExports_mcml_quantile.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_mcml_quantile.cc:5:
In file included from ./stanExports_mcml_quantile.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_mcml_quantile.cc:5:
In file included from ./stanExports_mcml_quantile.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:43:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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]
struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
class ops_partials_edge;
^~~~~
struct
In file included from stanExports_mcml_quantile.cc:5:
In file included from ./stanExports_mcml_quantile.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
    int ret = stan::services::error_codes::CONFIG;
        ^
In file included from stanExports_mcml_quantile.cc:5:
./stanExports_mcml_quantile.h:400:20: warning: unused variable 'jacobian__' [-Wunused-variable]
    constexpr bool jacobian__ = false;
                   ^
./stanExports_mcml_quantile.h:437:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
./stanExports_mcml_quantile.h:463:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_mcml_quantile.cc:5:
In file included from ./stanExports_mcml_quantile.h:23:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/rstan/include/rstan/stan_fit.hpp:43:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun.hpp:46:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/StanHeaders/include/stan/math/prim/fun/choose.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include/boost/math/special_functions/binomial.hpp:15:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include/boost/math/special_functions/beta.hpp:1721:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable]
      const T x_extrema = 1 / (1 + a);
              ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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
      temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 2);
      ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
               x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol);
                   ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' requested here
   rx = detail::ibeta_inv_imp(
                ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
   return ibeta_inv(a, b, p, static_cast<result_type*>(nullptr), pol);
          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/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::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
  return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
                      ^
8 warnings generated.
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o glmmrBase.so RcppExports.o covariance_module.o heckman.o linpred_module.o model_module.o model_module_2.o model_module_extension.o openmp_utils.o other_functions.o stanExports_mcml_bernoulli.o stanExports_mcml_beta.o stanExports_mcml_binomial.o stanExports_mcml_gamma.o stanExports_mcml_gaussian.o stanExports_mcml_poisson.o stanExports_mcml_quantile.o -L/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/lib -ltbb -ltbbmalloc -L/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/lib/ -Wl,-rpath,/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppParallel/lib/ -ltbb -ltbbmalloc -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lemutls_w -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: could not create compact unwind for ___emutls_get_address: registers 23 and 24 not saved contiguously in frame
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.3/glmmrBase.Rcheck/00LOCK-glmmrBase/00new/glmmrBase/libs
** generating debug symbols (dSYM)
** 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 (glmmrBase)