* installing *source* package ‘MTS’ ...
** this is package ‘MTS’ version ‘1.2.1’
** package ‘MTS’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++ (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/MTS/src'
g++ -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 -c RcppExports.cpp -o RcppExports.o
g++ -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 -c varma.cpp -o varma.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/include/c++/15/x86_64-redhat-linux/bits/c++allocator.h:33,
from /usr/include/c++/15/bits/allocator.h:46,
from /usr/include/c++/15/vector:65,
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/include/c++/15/bits/alloc_traits.h:649:23,
inlined from ‘void std::_Vector_base<_Tp, _Alloc>::_M_deallocate(pointer, std::size_t) [with _Tp = double; _Alloc = std::allocator<double>]’ at /usr/include/c++/15/bits/stl_vector.h:396:19,
inlined from ‘void std::_Vector_base<_Tp, _Alloc>::_M_deallocate(pointer, std::size_t) [with _Tp = double; _Alloc = std::allocator<double>]’ at /usr/include/c++/15/bits/stl_vector.h:392:7,
inlined from ‘std::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp = double; _Alloc = std::allocator<double>]’ at /usr/include/c++/15/bits/stl_vector.h:375:15,
inlined from ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = double; _Alloc = std::allocator<double>]’ at /usr/include/c++/15/bits/stl_vector.h:805:7,
inlined from ‘CMatrix::CMatrix(double, int, int)’ at varma.cpp:58:4:
/usr/include/c++/15/bits/new_allocator.h:172:66: 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/include/c++/15/bits/alloc_traits.h:614: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/include/c++/15/bits/stl_vector.h:387:33,
inlined from ‘void std::_Vector_base<_Tp, _Alloc>::_M_create_storage(std::size_t) [with _Tp = double; _Alloc = std::allocator<double>]’ at /usr/include/c++/15/bits/stl_vector.h:405: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/include/c++/15/bits/stl_vector.h:341:26,
inlined from ‘std::vector<_Tp, _Alloc>::vector(size_type, const allocator_type&) [with _Tp = double; _Alloc = std::allocator<double>]’ at /usr/include/c++/15/bits/stl_vector.h:587:47,
inlined from ‘CMatrix::CMatrix(double, int, int)’ at varma.cpp:55:41:
/usr/include/c++/15/bits/new_allocator.h:151:73: note: returned from ‘void* operator new(std::size_t)’
151 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp)));
| ^
g++ -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 -c varmaResiduals.cpp -o varmaResiduals.o
'LdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
'RcppLdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
g++ -std=gnu++17 -shared -L/usr/local/lib64 -o MTS.so RcppExports.o varma.o varmaResiduals.o
'LdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
'RcppLdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
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'
'LdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
'RcppLdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
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)