* installing *source* package ‘MTS’ ...
** package ‘MTS’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (GCC) 14.2.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/MTS/src'
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -DR_NO_REMAP -c varma.cpp -o varma.o
g++-14 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection  -DR_NO_REMAP -c varmaResiduals.cpp -o varmaResiduals.o
varma.cpp: In member function 'void CMatrix::append(std::vector<double>)':
varma.cpp:85:47: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   85 |    if (row.size()>0 && (ncol() == 0 || ncol() == row.size())){
      |                                        ~~~~~~~^~~~~~~~~~~~~
varma.cpp: In member function 'void CMatrix::transpose()':
varma.cpp:95:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   95 |       for (int j = 0; j < elements[0].size(); j++) {
      |                       ~~^~~~~~~~~~~~~~~~~~~~
varma.cpp:97:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<double> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   97 |          for (int i = 0; i < elements.size(); i++) {
      |                          ~~^~~~~~~~~~~~~~~~~
varma.cpp: In member function 'std::vector<double> CMatrix::operator()(int, bool)':
varma.cpp:116:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<double> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  116 |       for (int i = 0; i < elements.size(); i++){
      |                       ~~^~~~~~~~~~~~~~~~~
varma.cpp: In function 'CMatrix Cnegative(CMatrix&)':
varma.cpp:129:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<double> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  129 |       for (int i = 0; i < A.elements.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~~~~
varma.cpp:130:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  130 |          for (int j = 0; j < A.elements[0].size(); j++) {
      |                          ~~^~~~~~~~~~~~~~~~~~~~~~
varma.cpp: In function 'CMatrix Ctranspose(CMatrix&)':
varma.cpp:141:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  141 |       for (int j = 0; j < A.elements[0].size(); j++) {
      |                       ~~^~~~~~~~~~~~~~~~~~~~~~
varma.cpp:143:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<double> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  143 |          for (int i = 0; i < A.elements.size(); i++) {
      |                          ~~^~~~~~~~~~~~~~~~~~~
varma.cpp: In function 'CMatrix Cdiagonal(std::vector<double>&)':
varma.cpp:154:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  154 |    for (int i = 0; i < A.size(); i++){
      |                    ~~^~~~~~~~~~
varma.cpp: In function 'CMatrix as_matrix(std::vector<double>, bool)':
varma.cpp:215:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  215 |       for (int i = 0; i < x.size(); i++){
      |                       ~~^~~~~~~~~~
varma.cpp: In member function 'void Varma::compResiduals()':
varma.cpp:492:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  492 |       for (int r = 0; r < Estimate_ARMA.size(); r++){
      |                       ~~^~~~~~~~~~~~~~~~~~~~~~
varma.cpp: In member function 'void SVarma::compResiduals()':
varma.cpp:762:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  762 |       for (int r = 0; r < Estimate_ARMA.size(); r++){
      |                       ~~^~~~~~~~~~~~~~~~~~~~~~
varma.cpp: In constructor 'SVarma::SVarma(CMatrix&, CMatrix&, std::vector<double>&, bool, std::vector<int>, std::vector<int>, std::vector<int>, CMatrix, bool)':
varma.cpp:804:8: warning: variable 'i_start' set but not used [-Wunused-but-set-variable]
  804 |    int i_start = 0;
      |        ^~~~~~~
varma.cpp: In constructor 'VMADemean::VMADemean(CMatrix&, CMatrix&, std::vector<double>&, int, bool)':
varma.cpp:950:8: warning: variable 'i_start' set but not used [-Wunused-but-set-variable]
  950 |    int i_start = 0;
      |        ^~~~~~~
In file included from /usr/local/gcc14/include/c++/14.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
                 from /usr/local/gcc14/include/c++/14.2.0/bits/allocator.h:46,
                 from /usr/local/gcc14/include/c++/14.2.0/vector:63,
                 from varma.cpp:1:
In member function 'void std::__new_allocator<_Tp>::deallocate(_Tp*, size_type) [with _Tp = double]',
    inlined from 'static void std::allocator_traits<std::allocator<_Tp1> >::deallocate(allocator_type&, pointer, size_type) [with _Tp = double]' at /usr/local/gcc14/include/c++/14.2.0/bits/alloc_traits.h:513:23,
    inlined from 'void std::_Vector_base<_Tp, _Alloc>::_M_deallocate(pointer, std::size_t) [with _Tp = double; _Alloc = std::allocator<double>]' at /usr/local/gcc14/include/c++/14.2.0/bits/stl_vector.h:389:19,
    inlined from 'void std::_Vector_base<_Tp, _Alloc>::_M_deallocate(pointer, std::size_t) [with _Tp = double; _Alloc = std::allocator<double>]' at /usr/local/gcc14/include/c++/14.2.0/bits/stl_vector.h:385:7,
    inlined from 'std::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp = double; _Alloc = std::allocator<double>]' at /usr/local/gcc14/include/c++/14.2.0/bits/stl_vector.h:368:15,
    inlined from 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = double; _Alloc = std::allocator<double>]' at /usr/local/gcc14/include/c++/14.2.0/bits/stl_vector.h:738:7,
    inlined from 'CMatrix::CMatrix(double, int, int)' at varma.cpp:58:4:
/usr/local/gcc14/include/c++/14.2.0/bits/new_allocator.h:172:33: warning: 'void operator delete(void*, std::size_t)' called on pointer '<unknown>' with nonzero offset [8, 17179869176] [-Wfree-nonheap-object]
  172 |         _GLIBCXX_OPERATOR_DELETE(_GLIBCXX_SIZED_DEALLOC(__p, __n));
      |                                 ^
In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = double]',
    inlined from 'static _Tp* std::allocator_traits<std::allocator<_Tp1> >::allocate(allocator_type&, size_type) [with _Tp = double]' at /usr/local/gcc14/include/c++/14.2.0/bits/alloc_traits.h:478:28,
    inlined from 'std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(std::size_t) [with _Tp = double; _Alloc = std::allocator<double>]' at /usr/local/gcc14/include/c++/14.2.0/bits/stl_vector.h:380:33,
    inlined from 'void std::_Vector_base<_Tp, _Alloc>::_M_create_storage(std::size_t) [with _Tp = double; _Alloc = std::allocator<double>]' at /usr/local/gcc14/include/c++/14.2.0/bits/stl_vector.h:398:44,
    inlined from 'std::_Vector_base<_Tp, _Alloc>::_Vector_base(std::size_t, const allocator_type&) [with _Tp = double; _Alloc = std::allocator<double>]' at /usr/local/gcc14/include/c++/14.2.0/bits/stl_vector.h:334:26,
    inlined from 'std::vector<_Tp, _Alloc>::vector(size_type, const allocator_type&) [with _Tp = double; _Alloc = std::allocator<double>]' at /usr/local/gcc14/include/c++/14.2.0/bits/stl_vector.h:557:47,
    inlined from 'CMatrix::CMatrix(double, int, int)' at varma.cpp:55:41:
/usr/local/gcc14/include/c++/14.2.0/bits/new_allocator.h:151:55: note: returned from 'void* operator new(std::size_t)'
  151 |         return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp)));
      |                                                       ^
g++-14 -std=gnu++17 -shared -L/usr/local/gcc14/lib64 -L/usr/local/lib64 -o MTS.so RcppExports.o varma.o varmaResiduals.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/MTS/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/MTS/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/MTS/src'
installing to /data/gannet/ripley/R/packages/tests-devel/MTS.Rcheck/00LOCK-MTS/00new/MTS/libs
** R
** data
** 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 (MTS)