* installing *source* package ‘hmmTMB’ ...
** package ‘hmmTMB’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
/Library/Frameworks/R.framework/Resources/bin/Rscript --vanilla -e "invisible(TMB::compile('hmmTMB.cpp', safebounds = FALSE, safeunload = FALSE))"
using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/TMB/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include"   -DTMB_EIGEN_DISABLE_WARNINGS   -DTMB_LIB_INIT=R_init_hmmTMB  -DCPPAD_FRAMEWORK -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/TMB/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c hmmTMB.cpp -o hmmTMB.o
In file included from hmmTMB.cpp:2:
In file included from ./hmmTMB.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/TMB/include/TMB.hpp:46:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/TMB/include/Rstream.hpp:10:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/iostream:37:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/ios:215:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__locale:14:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/string:506:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/string_view:175:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__string:57:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643:
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on 'Dist<CppAD::AD<double>>' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor]
    delete __ptr;
    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete<Dist<CppAD::AD<double>>>::operator()' requested here
      __ptr_.second()(__tmp);
      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr<Dist<CppAD::AD<double>>>::reset' requested here
  ~unique_ptr() { reset(); }
                  ^
./hmmTMB.hpp:154:43: note: in instantiation of member function 'std::unique_ptr<Dist<CppAD::AD<double>>>::~unique_ptr' requested here
    std::unique_ptr<Dist<Type>> obsdist = dist_generator<Type>(distcode(var));
                                          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/TMB/include/tmb_core.hpp:1308:6: note: in instantiation of member function 'objective_function<CppAD::AD<double>>::operator()' requested here
    F(); // Run through user template (modifies reportvector)
     ^
In file included from hmmTMB.cpp:2:
In file included from ./hmmTMB.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/TMB/include/TMB.hpp:46:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/TMB/include/Rstream.hpp:10:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/iostream:37:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/ios:215:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__locale:14:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/string:506:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/string_view:175:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__string:57:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643:
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on 'Dist<double>' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor]
    delete __ptr;
    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete<Dist<double>>::operator()' requested here
      __ptr_.second()(__tmp);
      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr<Dist<double>>::reset' requested here
  ~unique_ptr() { reset(); }
                  ^
./hmmTMB.hpp:154:43: note: in instantiation of member function 'std::unique_ptr<Dist<double>>::~unique_ptr' requested here
    std::unique_ptr<Dist<Type>> obsdist = dist_generator<Type>(distcode(var));
                                          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/TMB/include/tmb_core.hpp:2031:34: note: in instantiation of member function 'objective_function<double>::operator()' requested here
      PROTECT( res = asSEXP( pf->operator()() ) );
                                 ^
In file included from hmmTMB.cpp:2:
In file included from ./hmmTMB.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/TMB/include/TMB.hpp:46:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/TMB/include/Rstream.hpp:10:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/iostream:37:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/ios:215:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__locale:14:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/string:506:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/string_view:175:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__string:57:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643:
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on 'Dist<CppAD::AD<CppAD::AD<double>>>' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor]
    delete __ptr;
    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete<Dist<CppAD::AD<CppAD::AD<double>>>>::operator()' requested here
      __ptr_.second()(__tmp);
      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr<Dist<CppAD::AD<CppAD::AD<double>>>>::reset' requested here
  ~unique_ptr() { reset(); }
                  ^
./hmmTMB.hpp:154:43: note: in instantiation of member function 'std::unique_ptr<Dist<CppAD::AD<CppAD::AD<double>>>>::~unique_ptr' requested here
    std::unique_ptr<Dist<Type>> obsdist = dist_generator<Type>(distcode(var));
                                          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/TMB/include/tmb_core.hpp:913:20: note: in instantiation of member function 'objective_function<CppAD::AD<CppAD::AD<double>>>::operator()' requested here
    Type ans=this->operator()();
                   ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/TMB/include/tmb_core.hpp:2112:10: note: in instantiation of member function 'objective_function<CppAD::AD<CppAD::AD<double>>>::evalUserTemplate' requested here
  y[0]=F.evalUserTemplate();
         ^
In file included from hmmTMB.cpp:2:
In file included from ./hmmTMB.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/TMB/include/TMB.hpp:46:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/TMB/include/Rstream.hpp:10:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/iostream:37:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/ios:215:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__locale:14:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/string:506:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/string_view:175:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__string:57:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/algorithm:643:
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2084:5: warning: delete called on 'Dist<CppAD::AD<CppAD::AD<CppAD::AD<double>>>>' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor]
    delete __ptr;
    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2345:7: note: in instantiation of member function 'std::default_delete<Dist<CppAD::AD<CppAD::AD<CppAD::AD<double>>>>>::operator()' requested here
      __ptr_.second()(__tmp);
      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/memory:2299:19: note: in instantiation of member function 'std::unique_ptr<Dist<CppAD::AD<CppAD::AD<CppAD::AD<double>>>>>::reset' requested here
  ~unique_ptr() { reset(); }
                  ^
./hmmTMB.hpp:154:43: note: in instantiation of member function 'std::unique_ptr<Dist<CppAD::AD<CppAD::AD<CppAD::AD<double>>>>>::~unique_ptr' requested here
    std::unique_ptr<Dist<Type>> obsdist = dist_generator<Type>(distcode(var));
                                          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/TMB/include/tmb_core.hpp:913:20: note: in instantiation of member function 'objective_function<CppAD::AD<CppAD::AD<CppAD::AD<double>>>>::operator()' requested here
    Type ans=this->operator()();
                   ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/TMB/include/tmb_core.hpp:2361:12: note: in instantiation of member function 'objective_function<CppAD::AD<CppAD::AD<CppAD::AD<double>>>>::evalUserTemplate' requested here
  y[0] = F.evalUserTemplate();
           ^
4 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 hmmTMB.so hmmTMB.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.4/hmmTMB.Rcheck/00LOCK-hmmTMB/00new/hmmTMB/libs
** generating debug symbols (dSYM)
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** 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 (hmmTMB)