* installing *source* package ‘clustTMB’ ...
** this is package ‘clustTMB’ version ‘0.1.0’
** package ‘clustTMB’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
Warning in system2("xcrun", "--show-sdk-version", TRUE, TRUE) :
running command ''xcrun' --show-sdk-version 2>&1' had status 1
using SDK: ‘NA’
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include' -I/opt/R/x86_64/include -DTMBAD_FRAMEWORK -DTMB_EIGEN_DISABLE_WARNINGS -fPIC -falign-functions=64 -Wall -g -O2 -c clustTMB.cpp -o clustTMB.o
"/Library/Frameworks/R.framework/Resources/bin/Rscript" -e "cat(as.character(packageVersion('TMB')), '\n', sep="", file='../inst/TMB-version')"
"/Library/Frameworks/R.framework/Resources/bin/Rscript" -e "cat(as.character(packageVersion('Matrix')), '\n', sep="", file='../inst/Matrix-version')"
In file included from clustTMB.cpp:2:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMB.hpp:96:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppEigen/include/Eigen/Sparse:26:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppEigen/include/Eigen/SparseCore:61:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
Index count = 0;
^
In file included from clustTMB.cpp:2:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMB.hpp:96:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppEigen/include/Eigen/Sparse:29:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppEigen/include/Eigen/SparseLU:35:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
Index nsuper_et = 0; // Number of relaxed snodes in the original etree
^
In file included from clustTMB.cpp:2:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMB.hpp:96:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppEigen/include/Eigen/Sparse:28:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppEigen/include/Eigen/SparseCholesky:34:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppEigen/include/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h:150:12: warning: ISO C++20 considers use of overloaded operator '==' (with operand types 'Eigen::SimplicialCholeskyBase<Eigen::SimplicialLLT<Eigen::SparseMatrix<atomic::tiny_ad::variable<1, 1>, 0>, 1, Eigen::AMDOrdering<int>>>::RealScalar' (aka 'atomic::tiny_ad::variable<1, 1>') and 'Eigen::SimplicialCholeskyBase<Eigen::SimplicialLLT<Eigen::SparseMatrix<atomic::tiny_ad::variable<1, 1>, 0>, 1, Eigen::AMDOrdering<int>>>::RealScalar') to be ambiguous despite there being a unique best viable function [-Wambiguous-reversed-operator]
if(d == RealScalar(0))
~ ^ ~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppEigen/include/Eigen/src/SparseCholesky/SimplicialCholesky.h:210:7: note: in instantiation of function template specialization 'Eigen::SimplicialCholeskyBase<Eigen::SimplicialLLT<Eigen::SparseMatrix<atomic::tiny_ad::variable<1, 1>, 0>, 1, Eigen::AMDOrdering<int>>>::factorize_preordered<false>' requested here
factorize_preordered<DoLDLT>(*pmat);
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppEigen/include/Eigen/src/SparseCholesky/SimplicialCholesky.h:374:22: note: in instantiation of function template specialization 'Eigen::SimplicialCholeskyBase<Eigen::SimplicialLLT<Eigen::SparseMatrix<atomic::tiny_ad::variable<1, 1>, 0>, 1, Eigen::AMDOrdering<int>>>::compute<false>' requested here
Base::template compute<false>(matrix);
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppEigen/include/Eigen/src/SparseCholesky/SimplicialCholesky.h:97:17: note: in instantiation of member function 'Eigen::SimplicialLLT<Eigen::SparseMatrix<atomic::tiny_ad::variable<1, 1>, 0>, 1, Eigen::AMDOrdering<int>>::compute' requested here
derived().compute(matrix);
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppEigen/include/Eigen/src/SparseCholesky/SimplicialCholesky.h:357:11: note: in instantiation of member function 'Eigen::SimplicialCholeskyBase<Eigen::SimplicialLLT<Eigen::SparseMatrix<atomic::tiny_ad::variable<1, 1>, 0>, 1, Eigen::AMDOrdering<int>>>::SimplicialCholeskyBase' requested here
: Base(matrix) {}
^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:1935:9: note: in instantiation of member function 'Eigen::SimplicialLLT<Eigen::SparseMatrix<atomic::tiny_ad::variable<1, 1>, 0>, 1, Eigen::AMDOrdering<int>>::SimplicialLLT' requested here
: __value_(_VSTD::forward<_Args>(_VSTD::get<_Indexes>(__args))...) {}
^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:4038:26: note: (skipping 10 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/tmbutils/newton.hpp:1332:46: note: in instantiation of function template specialization 'TMBad::global::Complete<newton::LogDetOperator<>>::Complete<Eigen::SparseMatrix<double, 0>, std::shared_ptr<Eigen::SimplicialLLT<Eigen::SparseMatrix<double, 0>, 1, Eigen::AMDOrdering<int>>>>' requested here
TMBad::global::Complete<LogDetOperator<> > LD(pattern<double>(H), ptr->llt);
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/tmbutils/newton.hpp:1452:12: note: in instantiation of function template specialization 'newton::log_determinant<TMBad::global::ad_aug>' requested here
.5 * log_determinant( hessian(),
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/tmbutils/newton.hpp:1555:18: note: in instantiation of member function 'newton::NewtonSolver<newton::slice<>, TMBad::global::ad_aug, newton::jacobian_sparse_t<>>::Laplace' requested here
return opt.Laplace();
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/tmbutils/newton.hpp:1600:11: note: in instantiation of function template specialization 'newton::Laplace<newton::slice<>, TMBad::global::ad_aug>' requested here
T y = Laplace(*this, start, cfg);
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/tmbutils/newton.hpp:1610:12: note: in instantiation of member function 'newton::slice<>::Laplace_' requested here
return S.Laplace_(cfg);
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/tiny_ad/tiny_ad/tiny_ad.hpp:69:5: note: ambiguity is between a regular call to this operator and a call with the argument order reversed
COMPARISON_OPERATOR(==)
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/tiny_ad/tiny_ad/tiny_ad.hpp:62:10: note: expanded from macro 'COMPARISON_OPERATOR'
bool operator OP (const other &x) const{ \
^
In file included from clustTMB.cpp:2:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMB.hpp:128:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/TMBad.hpp:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/graph_transform.hpp:10:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/integrate.hpp:146:50: warning: ISO C++20 considers use of overloaded operator '!=' (with operand types 'TMBad::adaptive<TMBad::global::ad_aug>' and 'TMBad::adaptive<TMBad::global::ad_aug>') to be ambiguous despite there being a unique best viable function with non-reversed arguments [-Wambiguous-reversed-operator]
if (*ier != 0 || (*abserr <= errbnd && *abserr != resabs) || *abserr == 0.)
~~~~~~~ ^ ~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/integrate.hpp:72:3: note: in instantiation of function template specialization 'TMBad::rdqagie<TMBad::adaptive<TMBad::global::ad_aug>, TMBad::Integral<TMBad::logIntegrate_t<>>::vectorized_integrand>' requested here
rdqagie(f, ex, bound, inf, epsabs, epsrel, limit, result, abserr, neval, ier,
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/integrate.hpp:1076:7: note: in instantiation of function template specialization 'TMBad::Rdqagi<TMBad::adaptive<TMBad::global::ad_aug>, TMBad::Integral<TMBad::logIntegrate_t<>>::vectorized_integrand>' requested here
Rdqagi(fn, NULL, &bound, &inf, &epsabs, &epsrel, &result, &abserr, &neval,
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/integrate.hpp:1117:10: note: in instantiation of member function 'TMBad::Integral<TMBad::logIntegrate_t<>>::operator()' requested here
return I();
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/graph_transform.hpp:296:15: note: in instantiation of function template specialization 'TMBad::integrate<TMBad::logIntegrate_t<>>' requested here
Float I = integrate(*this);
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/graph_transform.hpp:391:21: note: in instantiation of member function 'TMBad::logIntegrate_t<>::operator()' requested here
taped_integral(boundary_vars2)[0].Dependent();
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/graph_transform.hpp:398:7: note: in instantiation of member function 'TMBad::integrate_subgraph<TMBad::ADFun<>>::try_integrate_variable' requested here
try_integrate_variable(random[i]);
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/TMBad.hpp:963:20: note: in instantiation of member function 'TMBad::integrate_subgraph<TMBad::ADFun<>>::gk' requested here
ans.glob = i_s.gk();
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/tmb_core.hpp:1585:19: note: in instantiation of member function 'TMBad::ADFun<>::marginal_gk' requested here
*pf = pf -> marginal_gk(random, cfg);
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/global.hpp:3092:8: note: candidate function with non-reversed arguments
bool operator!=(const T &other) const {
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/global.hpp:3089:8: note: ambiguous candidate function with reversed arguments
bool operator==(const T &other) const {
^
In file included from clustTMB.cpp:2:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMB.hpp:128:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/TMBad.hpp:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/graph_transform.hpp:10:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/integrate.hpp:185:18: warning: ISO C++20 considers use of overloaded operator '==' (with operand types 'TMBad::adaptive<TMBad::global::ad_aug>' and 'TMBad::adaptive<TMBad::global::ad_aug>') to be ambiguous despite there being a unique best viable function [-Wambiguous-reversed-operator]
if (!(defab1 == error1 || defab2 == error2)) {
~~~~~~ ^ ~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/global.hpp:3089:8: note: ambiguity is between a regular call to this operator and a call with the argument order reversed
bool operator==(const T &other) const {
^
In file included from clustTMB.cpp:2:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMB.hpp:128:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/TMBad.hpp:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/graph_transform.hpp:10:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/integrate.hpp:185:38: warning: ISO C++20 considers use of overloaded operator '==' (with operand types 'TMBad::adaptive<TMBad::global::ad_aug>' and 'TMBad::adaptive<TMBad::global::ad_aug>') to be ambiguous despite there being a unique best viable function [-Wambiguous-reversed-operator]
if (!(defab1 == error1 || defab2 == error2)) {
~~~~~~ ^ ~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/global.hpp:3089:8: note: ambiguity is between a regular call to this operator and a call with the argument order reversed
bool operator==(const T &other) const {
^
In file included from clustTMB.cpp:2:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMB.hpp:128:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/TMBad.hpp:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/graph_transform.hpp:10:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/integrate.hpp:303:15: warning: ISO C++20 considers use of overloaded operator '==' (with operand types 'TMBad::adaptive<TMBad::global::ad_aug>' and 'TMBad::adaptive<TMBad::global::ad_aug>') to be ambiguous despite there being a unique best viable function [-Wambiguous-reversed-operator]
if (*abserr == oflow) {
~~~~~~~ ^ ~~~~~
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/global.hpp:3089:8: note: ambiguity is between a regular call to this operator and a call with the argument order reversed
bool operator==(const T &other) const {
^
In file included from clustTMB.cpp:2:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMB.hpp:128:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/TMBad.hpp:6:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/graph_transform.hpp:285:29: warning: ISO C++20 considers use of overloaded operator '!=' (with operand types 'TMBad::adaptive<TMBad::global::ad_aug>' and 'TMBad::adaptive<TMBad::global::ad_aug>') to be ambiguous despite there being a unique best viable function with non-reversed arguments [-Wambiguous-reversed-operator]
if (cfg.nan2zero && ans != ans) ans = 0;
~~~ ^ ~~~
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/integrate.hpp:1019:42: note: in instantiation of member function 'TMBad::logIntegrate_t<>::operator()' requested here
for (int i = 0; i < n; i++) x[i] = f(x[i]);
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/integrate.hpp:657:3: note: in instantiation of member function 'TMBad::Integral<TMBad::logIntegrate_t<>>::vectorized_integrand::operator()' requested here
f(vec, 15, ex);
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/integrate.hpp:136:3: note: in instantiation of function template specialization 'TMBad::rdqk15i<TMBad::adaptive<TMBad::global::ad_aug>, TMBad::Integral<TMBad::logIntegrate_t<>>::vectorized_integrand>' requested here
rdqk15i(f, ex, &boun, inf, &c_b6, &c_b7, result, abserr, &defabs, &resabs);
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/integrate.hpp:72:3: note: in instantiation of function template specialization 'TMBad::rdqagie<TMBad::adaptive<TMBad::global::ad_aug>, TMBad::Integral<TMBad::logIntegrate_t<>>::vectorized_integrand>' requested here
rdqagie(f, ex, bound, inf, epsabs, epsrel, limit, result, abserr, neval, ier,
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/integrate.hpp:1076:7: note: in instantiation of function template specialization 'TMBad::Rdqagi<TMBad::adaptive<TMBad::global::ad_aug>, TMBad::Integral<TMBad::logIntegrate_t<>>::vectorized_integrand>' requested here
Rdqagi(fn, NULL, &bound, &inf, &epsabs, &epsrel, &result, &abserr, &neval,
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/integrate.hpp:1117:10: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
return I();
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/graph_transform.hpp:296:15: note: in instantiation of function template specialization 'TMBad::integrate<TMBad::logIntegrate_t<>>' requested here
Float I = integrate(*this);
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/graph_transform.hpp:391:21: note: in instantiation of member function 'TMBad::logIntegrate_t<>::operator()' requested here
taped_integral(boundary_vars2)[0].Dependent();
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/graph_transform.hpp:398:7: note: in instantiation of member function 'TMBad::integrate_subgraph<TMBad::ADFun<>>::try_integrate_variable' requested here
try_integrate_variable(random[i]);
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/TMBad.hpp:963:20: note: in instantiation of member function 'TMBad::integrate_subgraph<TMBad::ADFun<>>::gk' requested here
ans.glob = i_s.gk();
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/tmb_core.hpp:1585:19: note: in instantiation of member function 'TMBad::ADFun<>::marginal_gk' requested here
*pf = pf -> marginal_gk(random, cfg);
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/global.hpp:3092:8: note: candidate function with non-reversed arguments
bool operator!=(const T &other) const {
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/global.hpp:3089:8: note: ambiguous candidate function with reversed arguments
bool operator==(const T &other) const {
^
In file included from clustTMB.cpp:2:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMB.hpp:128:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/TMBad.hpp:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/graph_transform.hpp:10:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/integrate.hpp:428:50: warning: ISO C++20 considers use of overloaded operator '!=' (with operand types 'TMBad::adaptive<TMBad::global::ad_aug>' and 'TMBad::adaptive<TMBad::global::ad_aug>') to be ambiguous despite there being a unique best viable function with non-reversed arguments [-Wambiguous-reversed-operator]
if (*ier != 0 || (*abserr <= errbnd && *abserr != resabs) || *abserr == 0.)
~~~~~~~ ^ ~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/integrate.hpp:366:3: note: in instantiation of function template specialization 'TMBad::rdqagse<TMBad::adaptive<TMBad::global::ad_aug>, TMBad::Integral<TMBad::logIntegrate_t<>>::vectorized_integrand>' requested here
rdqagse(f, ex, a, b, epsabs, epsrel, limit, result, abserr, neval, ier, work,
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/integrate.hpp:1079:7: note: in instantiation of function template specialization 'TMBad::Rdqags<TMBad::adaptive<TMBad::global::ad_aug>, TMBad::Integral<TMBad::logIntegrate_t<>>::vectorized_integrand>' requested here
Rdqags(fn, NULL, &a, &b, &epsabs, &epsrel, &result, &abserr, &neval, &ier,
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/integrate.hpp:1117:10: note: in instantiation of member function 'TMBad::Integral<TMBad::logIntegrate_t<>>::operator()' requested here
return I();
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/graph_transform.hpp:296:15: note: in instantiation of function template specialization 'TMBad::integrate<TMBad::logIntegrate_t<>>' requested here
Float I = integrate(*this);
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/graph_transform.hpp:391:21: note: in instantiation of member function 'TMBad::logIntegrate_t<>::operator()' requested here
taped_integral(boundary_vars2)[0].Dependent();
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/graph_transform.hpp:398:7: note: in instantiation of member function 'TMBad::integrate_subgraph<TMBad::ADFun<>>::try_integrate_variable' requested here
try_integrate_variable(random[i]);
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/TMBad.hpp:963:20: note: in instantiation of member function 'TMBad::integrate_subgraph<TMBad::ADFun<>>::gk' requested here
ans.glob = i_s.gk();
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/tmb_core.hpp:1585:19: note: in instantiation of member function 'TMBad::ADFun<>::marginal_gk' requested here
*pf = pf -> marginal_gk(random, cfg);
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/global.hpp:3092:8: note: candidate function with non-reversed arguments
bool operator!=(const T &other) const {
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/global.hpp:3089:8: note: ambiguous candidate function with reversed arguments
bool operator==(const T &other) const {
^
In file included from clustTMB.cpp:2:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMB.hpp:128:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/TMBad.hpp:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/graph_transform.hpp:10:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/integrate.hpp:464:18: warning: ISO C++20 considers use of overloaded operator '==' (with operand types 'TMBad::adaptive<TMBad::global::ad_aug>' and 'TMBad::adaptive<TMBad::global::ad_aug>') to be ambiguous despite there being a unique best viable function [-Wambiguous-reversed-operator]
if (!(defab1 == error1 || defab2 == error2)) {
~~~~~~ ^ ~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/global.hpp:3089:8: note: ambiguity is between a regular call to this operator and a call with the argument order reversed
bool operator==(const T &other) const {
^
In file included from clustTMB.cpp:2:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMB.hpp:128:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/TMBad.hpp:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/graph_transform.hpp:10:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/integrate.hpp:464:38: warning: ISO C++20 considers use of overloaded operator '==' (with operand types 'TMBad::adaptive<TMBad::global::ad_aug>' and 'TMBad::adaptive<TMBad::global::ad_aug>') to be ambiguous despite there being a unique best viable function [-Wambiguous-reversed-operator]
if (!(defab1 == error1 || defab2 == error2)) {
~~~~~~ ^ ~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/global.hpp:3089:8: note: ambiguity is between a regular call to this operator and a call with the argument order reversed
bool operator==(const T &other) const {
^
In file included from clustTMB.cpp:2:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMB.hpp:128:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/TMBad.hpp:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/graph_transform.hpp:10:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/integrate.hpp:578:15: warning: ISO C++20 considers use of overloaded operator '==' (with operand types 'TMBad::adaptive<TMBad::global::ad_aug>' and 'TMBad::adaptive<TMBad::global::ad_aug>') to be ambiguous despite there being a unique best viable function [-Wambiguous-reversed-operator]
if (*abserr == oflow) goto L115;
~~~~~~~ ^ ~~~~~
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/TMB/include/TMBad/global.hpp:3089:8: note: ambiguity is between a regular call to this operator and a call with the argument order reversed
bool operator==(const T &other) const {
^
13 warnings generated.
clang++ -arch x86_64 -std=gnu++20 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o clustTMB.so clustTMB.o -F/Library/Frameworks/R.framework/.. -framework R
installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.6/clustTMB.Rcheck/00LOCK-clustTMB/00new/clustTMB/libs
** generating debug symbols (dSYM)
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** 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 (clustTMB)