* installing *source* package ‘sirus’ ...
** this is package ‘sirus’ version ‘0.3.3’
** package ‘sirus’ 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)’
using C++11
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/sirus/src'
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -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 AAA_check_cpp11.cpp -o AAA_check_cpp11.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -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 Data.cpp -o Data.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -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 DataChar.cpp -o DataChar.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -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 DataFloat.cpp -o DataFloat.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -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 DataSparse.cpp -o DataSparse.o
In file included from DataSparse.cpp:29:
DataSparse.h: In member function ‘virtual double sirus::DataSparse::get(size_t, size_t) const’:
DataSparse.h:53:12: warning: unused variable ‘col_permuted’ [-Wunused-variable]
53 | size_t col_permuted = col;
| ^~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -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 Forest.cpp -o Forest.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -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 ForestClassification.cpp -o ForestClassification.o
ForestClassification.cpp: In member function ‘void sirus::ForestClassification::loadForest(size_t, size_t, std::vector<std::vector<std::vector<long unsigned int> > >&, std::vector<std::vector<long unsigned int> >&, std::vector<std::vector<double> >&, std::vector<double>&, std::vector<bool>&)’:
ForestClassification.cpp:41:40: error: call of overloaded ‘make_unique<sirus::TreeClassification>(__gnu_cxx::__alloc_traits<std::allocator<std::vector<std::vector<long unsigned int> > >, std::vector<std::vector<long unsigned int> > >::value_type&, __gnu_cxx::__alloc_traits<std::allocator<std::vector<long unsigned int> >, std::vector<long unsigned int> >::value_type&, __gnu_cxx::__alloc_traits<std::allocator<std::vector<double> >, std::vector<double> >::value_type&, std::vector<double>*, std::vector<unsigned int>*)’ is ambiguous
41 | make_unique<TreeClassification>(forest_child_nodeIDs[i], forest_split_varIDs[i], forest_split_values[i],
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
42 | &this->class_values, &response_classIDs));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ForestClassification.cpp:41:40: note: there are 6 candidates
In file included from ForestClassification.cpp:20:
utility.h:521:48: note: candidate 1: ‘typename sirus::detail::_Unique_if<T>::_Single_object sirus::make_unique(Args&& ...) [with T = TreeClassification; Args = {std::vector<std::vector<long unsigned int, std::allocator<long unsigned int> >, std::allocator<std::vector<long unsigned int, std::allocator<long unsigned int> > > >&, std::vector<long unsigned int, std::allocator<long unsigned int> >&, std::vector<double, std::allocator<double> >&, std::vector<double, std::allocator<double> >*, std::vector<unsigned int, std::allocator<unsigned int> >*}; typename detail::_Unique_if<T>::_Single_object = std::unique_ptr<TreeClassification, std::default_delete<TreeClassification> >]’
521 | typename detail::_Unique_if<T>::_Single_object make_unique(Args&&... args) {
| ^~~~~~~~~~~
In file included from /usr/include/c++/15/memory:80,
from utility.h:23:
/usr/include/c++/15/bits/unique_ptr.h:1084:5: note: candidate 2: ‘std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = sirus::TreeClassification; _Args = {vector<vector<long unsigned int, allocator<long unsigned int> >, allocator<vector<long unsigned int, allocator<long unsigned int> > > >&, vector<long unsigned int, allocator<long unsigned int> >&, vector<double, allocator<double> >&, vector<double, allocator<double> >*, vector<unsigned int, allocator<unsigned int> >*}; __detail::__unique_ptr_t<_Tp> = __detail::__unique_ptr_t<sirus::TreeClassification>]’
1084 | make_unique(_Args&&... __args)
| ^~~~~~~~~~~
ForestClassification.cpp: In member function ‘virtual void sirus::ForestClassification::growInternal()’:
ForestClassification.cpp:101:40: error: call of overloaded ‘make_unique<sirus::TreeClassification>(std::vector<double>*, std::vector<unsigned int>*, std::vector<std::vector<long unsigned int> >*, std::vector<double>*)’ is ambiguous
101 | make_unique<TreeClassification>(&class_values, &response_classIDs, &sampleIDs_per_class, &class_weights));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ForestClassification.cpp:101:40: note: there are 6 candidates
utility.h:521:48: note: candidate 1: ‘typename sirus::detail::_Unique_if<T>::_Single_object sirus::make_unique(Args&& ...) [with T = TreeClassification; Args = {std::vector<double, std::allocator<double> >*, std::vector<unsigned int, std::allocator<unsigned int> >*, std::vector<std::vector<long unsigned int, std::allocator<long unsigned int> >, std::allocator<std::vector<long unsigned int, std::allocator<long unsigned int> > > >*, std::vector<double, std::allocator<double> >*}; typename detail::_Unique_if<T>::_Single_object = std::unique_ptr<TreeClassification, std::default_delete<TreeClassification> >]’
521 | typename detail::_Unique_if<T>::_Single_object make_unique(Args&&... args) {
| ^~~~~~~~~~~
/usr/include/c++/15/bits/unique_ptr.h:1084:5: note: candidate 2: ‘std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = sirus::TreeClassification; _Args = {vector<double, allocator<double> >*, vector<unsigned int, allocator<unsigned int> >*, vector<vector<long unsigned int, allocator<long unsigned int> >, allocator<vector<long unsigned int, allocator<long unsigned int> > > >*, vector<double, allocator<double> >*}; __detail::__unique_ptr_t<_Tp> = __detail::__unique_ptr_t<sirus::TreeClassification>]’
1084 | make_unique(_Args&&... __args)
| ^~~~~~~~~~~
ForestClassification.cpp: In member function ‘virtual void sirus::ForestClassification::loadFromFileInternal(std::ifstream&)’:
ForestClassification.cpp:318:40: error: call of overloaded ‘make_unique<sirus::TreeClassification>(std::vector<std::vector<long unsigned int> >&, std::vector<long unsigned int>&, std::vector<double>&, std::vector<double>*, std::vector<unsigned int>*)’ is ambiguous
318 | make_unique<TreeClassification>(child_nodeIDs, split_varIDs, split_values, &class_values, &response_classIDs));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ForestClassification.cpp:318:40: note: there are 6 candidates
utility.h:521:48: note: candidate 1: ‘typename sirus::detail::_Unique_if<T>::_Single_object sirus::make_unique(Args&& ...) [with T = TreeClassification; Args = {std::vector<std::vector<long unsigned int, std::allocator<long unsigned int> >, std::allocator<std::vector<long unsigned int, std::allocator<long unsigned int> > > >&, std::vector<long unsigned int, std::allocator<long unsigned int> >&, std::vector<double, std::allocator<double> >&, std::vector<double, std::allocator<double> >*, std::vector<unsigned int, std::allocator<unsigned int> >*}; typename detail::_Unique_if<T>::_Single_object = std::unique_ptr<TreeClassification, std::default_delete<TreeClassification> >]’
521 | typename detail::_Unique_if<T>::_Single_object make_unique(Args&&... args) {
| ^~~~~~~~~~~
/usr/include/c++/15/bits/unique_ptr.h:1084:5: note: candidate 2: ‘std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = sirus::TreeClassification; _Args = {vector<vector<long unsigned int, allocator<long unsigned int> >, allocator<vector<long unsigned int, allocator<long unsigned int> > > >&, vector<long unsigned int, allocator<long unsigned int> >&, vector<double, allocator<double> >&, vector<double, allocator<double> >*, vector<unsigned int, allocator<unsigned int> >*}; __detail::__unique_ptr_t<_Tp> = __detail::__unique_ptr_t<sirus::TreeClassification>]’
1084 | make_unique(_Args&&... __args)
| ^~~~~~~~~~~
make[1]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:209: ForestClassification.o] Error 1
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -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 ForestProbability.cpp -o ForestProbability.o
ForestProbability.cpp: In member function ‘void sirus::ForestProbability::loadForest(size_t, size_t, std::vector<std::vector<std::vector<long unsigned int> > >&, std::vector<std::vector<long unsigned int> >&, std::vector<std::vector<double> >&, std::vector<double>&, std::vector<std::vector<std::vector<double> > >&, std::vector<bool>&)’:
ForestProbability.cpp:36:37: error: call of overloaded ‘make_unique<sirus::TreeProbability>(__gnu_cxx::__alloc_traits<std::allocator<std::vector<std::vector<long unsigned int> > >, std::vector<std::vector<long unsigned int> > >::value_type&, __gnu_cxx::__alloc_traits<std::allocator<std::vector<long unsigned int> >, std::vector<long unsigned int> >::value_type&, __gnu_cxx::__alloc_traits<std::allocator<std::vector<double> >, std::vector<double> >::value_type&, std::vector<double>*, std::vector<unsigned int>*, __gnu_cxx::__alloc_traits<std::allocator<std::vector<std::vector<double> > >, std::vector<std::vector<double> > >::value_type&)’ is ambiguous
36 | make_unique<TreeProbability>(forest_child_nodeIDs[i], forest_split_varIDs[i], forest_split_values[i],
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | &this->class_values, &response_classIDs, forest_terminal_class_counts[i]));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ForestProbability.cpp:36:37: note: there are 6 candidates
In file included from ForestProbability.cpp:14:
utility.h:521:48: note: candidate 1: ‘typename sirus::detail::_Unique_if<T>::_Single_object sirus::make_unique(Args&& ...) [with T = TreeProbability; Args = {std::vector<std::vector<long unsigned int, std::allocator<long unsigned int> >, std::allocator<std::vector<long unsigned int, std::allocator<long unsigned int> > > >&, std::vector<long unsigned int, std::allocator<long unsigned int> >&, std::vector<double, std::allocator<double> >&, std::vector<double, std::allocator<double> >*, std::vector<unsigned int, std::allocator<unsigned int> >*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >&}; typename detail::_Unique_if<T>::_Single_object = std::unique_ptr<TreeProbability, std::default_delete<TreeProbability> >]’
521 | typename detail::_Unique_if<T>::_Single_object make_unique(Args&&... args) {
| ^~~~~~~~~~~
In file included from /usr/include/c++/15/memory:80,
from utility.h:23:
/usr/include/c++/15/bits/unique_ptr.h:1084:5: note: candidate 2: ‘std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = sirus::TreeProbability; _Args = {vector<vector<long unsigned int, allocator<long unsigned int> >, allocator<vector<long unsigned int, allocator<long unsigned int> > > >&, vector<long unsigned int, allocator<long unsigned int> >&, vector<double, allocator<double> >&, vector<double, allocator<double> >*, vector<unsigned int, allocator<unsigned int> >*, vector<vector<double, allocator<double> >, allocator<vector<double, allocator<double> > > >&}; __detail::__unique_ptr_t<_Tp> = __detail::__unique_ptr_t<sirus::TreeProbability>]’
1084 | make_unique(_Args&&... __args)
| ^~~~~~~~~~~
ForestProbability.cpp: In member function ‘virtual void sirus::ForestProbability::growInternal()’:
ForestProbability.cpp:106:37: error: call of overloaded ‘make_unique<sirus::TreeProbability>(std::vector<double>*, std::vector<unsigned int>*, std::vector<std::vector<long unsigned int> >*, std::vector<double>*)’ is ambiguous
106 | make_unique<TreeProbability>(&class_values, &response_classIDs, &sampleIDs_per_class, &class_weights));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ForestProbability.cpp:106:37: note: there are 6 candidates
utility.h:521:48: note: candidate 1: ‘typename sirus::detail::_Unique_if<T>::_Single_object sirus::make_unique(Args&& ...) [with T = TreeProbability; Args = {std::vector<double, std::allocator<double> >*, std::vector<unsigned int, std::allocator<unsigned int> >*, std::vector<std::vector<long unsigned int, std::allocator<long unsigned int> >, std::allocator<std::vector<long unsigned int, std::allocator<long unsigned int> > > >*, std::vector<double, std::allocator<double> >*}; typename detail::_Unique_if<T>::_Single_object = std::unique_ptr<TreeProbability, std::default_delete<TreeProbability> >]’
521 | typename detail::_Unique_if<T>::_Single_object make_unique(Args&&... args) {
| ^~~~~~~~~~~
/usr/include/c++/15/bits/unique_ptr.h:1084:5: note: candidate 2: ‘std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = sirus::TreeProbability; _Args = {vector<double, allocator<double> >*, vector<unsigned int, allocator<unsigned int> >*, vector<vector<long unsigned int, allocator<long unsigned int> >, allocator<vector<long unsigned int, allocator<long unsigned int> > > >*, vector<double, allocator<double> >*}; __detail::__unique_ptr_t<_Tp> = __detail::__unique_ptr_t<sirus::TreeProbability>]’
1084 | make_unique(_Args&&... __args)
| ^~~~~~~~~~~
ForestProbability.cpp: In member function ‘virtual void sirus::ForestProbability::loadFromFileInternal(std::ifstream&)’:
ForestProbability.cpp:325:37: error: call of overloaded ‘make_unique<sirus::TreeProbability>(std::vector<std::vector<long unsigned int> >&, std::vector<long unsigned int>&, std::vector<double>&, std::vector<double>*, std::vector<unsigned int>*, std::vector<std::vector<double> >&)’ is ambiguous
325 | make_unique<TreeProbability>(child_nodeIDs, split_varIDs, split_values, &class_values, &response_classIDs,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
326 | terminal_class_counts));
| ~~~~~~~~~~~~~~~~~~~~~~
ForestProbability.cpp:325:37: note: there are 6 candidates
utility.h:521:48: note: candidate 1: ‘typename sirus::detail::_Unique_if<T>::_Single_object sirus::make_unique(Args&& ...) [with T = TreeProbability; Args = {std::vector<std::vector<long unsigned int, std::allocator<long unsigned int> >, std::allocator<std::vector<long unsigned int, std::allocator<long unsigned int> > > >&, std::vector<long unsigned int, std::allocator<long unsigned int> >&, std::vector<double, std::allocator<double> >&, std::vector<double, std::allocator<double> >*, std::vector<unsigned int, std::allocator<unsigned int> >*, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >&}; typename detail::_Unique_if<T>::_Single_object = std::unique_ptr<TreeProbability, std::default_delete<TreeProbability> >]’
521 | typename detail::_Unique_if<T>::_Single_object make_unique(Args&&... args) {
| ^~~~~~~~~~~
/usr/include/c++/15/bits/unique_ptr.h:1084:5: note: candidate 2: ‘std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = sirus::TreeProbability; _Args = {vector<vector<long unsigned int, allocator<long unsigned int> >, allocator<vector<long unsigned int, allocator<long unsigned int> > > >&, vector<long unsigned int, allocator<long unsigned int> >&, vector<double, allocator<double> >&, vector<double, allocator<double> >*, vector<unsigned int, allocator<unsigned int> >*, vector<vector<double, allocator<double> >, allocator<vector<double, allocator<double> > > >&}; __detail::__unique_ptr_t<_Tp> = __detail::__unique_ptr_t<sirus::TreeProbability>]’
1084 | make_unique(_Args&&... __args)
| ^~~~~~~~~~~
make[1]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:209: ForestProbability.o] Error 1
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -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 ForestRegression.cpp -o ForestRegression.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -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 ForestSurvival.cpp -o ForestSurvival.o
ForestSurvival.cpp: In member function ‘void sirus::ForestSurvival::loadForest(size_t, size_t, std::vector<std::vector<std::vector<long unsigned int> > >&, std::vector<std::vector<long unsigned int> >&, std::vector<std::vector<double> >&, size_t, std::vector<std::vector<std::vector<double> > >&, std::vector<double>&, std::vector<bool>&)’:
ForestSurvival.cpp:40:34: error: call of overloaded ‘make_unique<sirus::TreeSurvival>(__gnu_cxx::__alloc_traits<std::allocator<std::vector<std::vector<long unsigned int> > >, std::vector<std::vector<long unsigned int> > >::value_type&, __gnu_cxx::__alloc_traits<std::allocator<std::vector<long unsigned int> >, std::vector<long unsigned int> >::value_type&, __gnu_cxx::__alloc_traits<std::allocator<std::vector<double> >, std::vector<double> >::value_type&, __gnu_cxx::__alloc_traits<std::allocator<std::vector<std::vector<double> > >, std::vector<std::vector<double> > >::value_type&, std::vector<double>*, std::vector<long unsigned int>*)’ is ambiguous
40 | make_unique<TreeSurvival>(forest_child_nodeIDs[i], forest_split_varIDs[i], forest_split_values[i],
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41 | forest_chf[i], &this->unique_timepoints, &response_timepointIDs));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ForestSurvival.cpp:40:34: note: there are 6 candidates
In file included from ForestSurvival.cpp:18:
utility.h:521:48: note: candidate 1: ‘typename sirus::detail::_Unique_if<T>::_Single_object sirus::make_unique(Args&& ...) [with T = TreeSurvival; Args = {std::vector<std::vector<long unsigned int, std::allocator<long unsigned int> >, std::allocator<std::vector<long unsigned int, std::allocator<long unsigned int> > > >&, std::vector<long unsigned int, std::allocator<long unsigned int> >&, std::vector<double, std::allocator<double> >&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >&, std::vector<double, std::allocator<double> >*, std::vector<long unsigned int, std::allocator<long unsigned int> >*}; typename detail::_Unique_if<T>::_Single_object = std::unique_ptr<TreeSurvival, std::default_delete<TreeSurvival> >]’
521 | typename detail::_Unique_if<T>::_Single_object make_unique(Args&&... args) {
| ^~~~~~~~~~~
In file included from /usr/include/c++/15/memory:80,
from utility.h:23:
/usr/include/c++/15/bits/unique_ptr.h:1084:5: note: candidate 2: ‘std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = sirus::TreeSurvival; _Args = {vector<vector<long unsigned int, allocator<long unsigned int> >, allocator<vector<long unsigned int, allocator<long unsigned int> > > >&, vector<long unsigned int, allocator<long unsigned int> >&, vector<double, allocator<double> >&, vector<vector<double, allocator<double> >, allocator<vector<double, allocator<double> > > >&, vector<double, allocator<double> >*, vector<long unsigned int, allocator<long unsigned int> >*}; __detail::__unique_ptr_t<_Tp> = __detail::__unique_ptr_t<sirus::TreeSurvival>]’
1084 | make_unique(_Args&&... __args)
| ^~~~~~~~~~~
ForestSurvival.cpp: In member function ‘virtual void sirus::ForestSurvival::growInternal()’:
ForestSurvival.cpp:108:46: error: call of overloaded ‘make_unique<sirus::TreeSurvival>(std::vector<double>*, size_t&, std::vector<long unsigned int>*)’ is ambiguous
108 | trees.push_back(make_unique<TreeSurvival>(&unique_timepoints, status_varID, &response_timepointIDs));
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ForestSurvival.cpp:108:46: note: there are 6 candidates
utility.h:521:48: note: candidate 1: ‘typename sirus::detail::_Unique_if<T>::_Single_object sirus::make_unique(Args&& ...) [with T = TreeSurvival; Args = {std::vector<double, std::allocator<double> >*, long unsigned int&, std::vector<long unsigned int, std::allocator<long unsigned int> >*}; typename detail::_Unique_if<T>::_Single_object = std::unique_ptr<TreeSurvival, std::default_delete<TreeSurvival> >]’
521 | typename detail::_Unique_if<T>::_Single_object make_unique(Args&&... args) {
| ^~~~~~~~~~~
/usr/include/c++/15/bits/unique_ptr.h:1084:5: note: candidate 2: ‘std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = sirus::TreeSurvival; _Args = {vector<double, allocator<double> >*, long unsigned int&, vector<long unsigned int, allocator<long unsigned int> >*}; __detail::__unique_ptr_t<_Tp> = __detail::__unique_ptr_t<sirus::TreeSurvival>]’
1084 | make_unique(_Args&&... __args)
| ^~~~~~~~~~~
ForestSurvival.cpp: In member function ‘virtual void sirus::ForestSurvival::loadFromFileInternal(std::ifstream&)’:
ForestSurvival.cpp:345:34: error: call of overloaded ‘make_unique<sirus::TreeSurvival>(std::vector<std::vector<long unsigned int> >&, std::vector<long unsigned int>&, std::vector<double>&, std::vector<std::vector<double> >&, std::vector<double>*, std::vector<long unsigned int>*)’ is ambiguous
345 | make_unique<TreeSurvival>(child_nodeIDs, split_varIDs, split_values, chf, &unique_timepoints,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
346 | &response_timepointIDs));
| ~~~~~~~~~~~~~~~~~~~~~~~
ForestSurvival.cpp:345:34: note: there are 6 candidates
utility.h:521:48: note: candidate 1: ‘typename sirus::detail::_Unique_if<T>::_Single_object sirus::make_unique(Args&& ...) [with T = TreeSurvival; Args = {std::vector<std::vector<long unsigned int, std::allocator<long unsigned int> >, std::allocator<std::vector<long unsigned int, std::allocator<long unsigned int> > > >&, std::vector<long unsigned int, std::allocator<long unsigned int> >&, std::vector<double, std::allocator<double> >&, std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >&, std::vector<double, std::allocator<double> >*, std::vector<long unsigned int, std::allocator<long unsigned int> >*}; typename detail::_Unique_if<T>::_Single_object = std::unique_ptr<TreeSurvival, std::default_delete<TreeSurvival> >]’
521 | typename detail::_Unique_if<T>::_Single_object make_unique(Args&&... args) {
| ^~~~~~~~~~~
/usr/include/c++/15/bits/unique_ptr.h:1084:5: note: candidate 2: ‘std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = sirus::TreeSurvival; _Args = {vector<vector<long unsigned int, allocator<long unsigned int> >, allocator<vector<long unsigned int, allocator<long unsigned int> > > >&, vector<long unsigned int, allocator<long unsigned int> >&, vector<double, allocator<double> >&, vector<vector<double, allocator<double> >, allocator<vector<double, allocator<double> > > >&, vector<double, allocator<double> >*, vector<long unsigned int, allocator<long unsigned int> >*}; __detail::__unique_ptr_t<_Tp> = __detail::__unique_ptr_t<sirus::TreeSurvival>]’
1084 | make_unique(_Args&&... __args)
| ^~~~~~~~~~~
ForestRegression.cpp: In member function ‘void sirus::ForestRegression::loadForest(size_t, size_t, std::vector<std::vector<std::vector<long unsigned int> > >&, std::vector<std::vector<long unsigned int> >&, std::vector<std::vector<double> >&, std::vector<bool>&)’:
ForestRegression.cpp:36:36: error: call of overloaded ‘make_unique<sirus::TreeRegression>(__gnu_cxx::__alloc_traits<std::allocator<std::vector<std::vector<long unsigned int> > >, std::vector<std::vector<long unsigned int> > >::value_type&, __gnu_cxx::__alloc_traits<std::allocator<std::vector<long unsigned int> >, std::vector<long unsigned int> >::value_type&, __gnu_cxx::__alloc_traits<std::allocator<std::vector<double> >, std::vector<double> >::value_type&)’ is ambiguous
36 | make_unique<TreeRegression>(forest_child_nodeIDs[i], forest_split_varIDs[i], forest_split_values[i]));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ForestRegression.cpp:36:36: note: there are 6 candidates
In file included from ForestRegression.cpp:16:
utility.h:521:48: note: candidate 1: ‘typename sirus::detail::_Unique_if<T>::_Single_object sirus::make_unique(Args&& ...) [with T = TreeRegression; Args = {std::vector<std::vector<long unsigned int, std::allocator<long unsigned int> >, std::allocator<std::vector<long unsigned int, std::allocator<long unsigned int> > > >&, std::vector<long unsigned int, std::allocator<long unsigned int> >&, std::vector<double, std::allocator<double> >&}; typename detail::_Unique_if<T>::_Single_object = std::unique_ptr<TreeRegression, std::default_delete<TreeRegression> >]’
521 | typename detail::_Unique_if<T>::_Single_object make_unique(Args&&... args) {
| ^~~~~~~~~~~
In file included from /usr/include/c++/15/memory:80,
from utility.h:23:
/usr/include/c++/15/bits/unique_ptr.h:1084:5: note: candidate 2: ‘std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = sirus::TreeRegression; _Args = {vector<vector<long unsigned int, allocator<long unsigned int> >, allocator<vector<long unsigned int, allocator<long unsigned int> > > >&, vector<long unsigned int, allocator<long unsigned int> >&, vector<double, allocator<double> >&}; __detail::__unique_ptr_t<_Tp> = __detail::__unique_ptr_t<sirus::TreeRegression>]’
1084 | make_unique(_Args&&... __args)
| ^~~~~~~~~~~
ForestRegression.cpp: In member function ‘virtual void sirus::ForestRegression::loadFromFileInternal(std::ifstream&)’:
ForestRegression.cpp:239:48: error: call of overloaded ‘make_unique<sirus::TreeRegression>(std::vector<std::vector<long unsigned int> >&, std::vector<long unsigned int>&, std::vector<double>&)’ is ambiguous
239 | trees.push_back(make_unique<TreeRegression>(child_nodeIDs, split_varIDs, split_values));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ForestRegression.cpp:239:48: note: there are 6 candidates
utility.h:521:48: note: candidate 1: ‘typename sirus::detail::_Unique_if<T>::_Single_object sirus::make_unique(Args&& ...) [with T = TreeRegression; Args = {std::vector<std::vector<long unsigned int, std::allocator<long unsigned int> >, std::allocator<std::vector<long unsigned int, std::allocator<long unsigned int> > > >&, std::vector<long unsigned int, std::allocator<long unsigned int> >&, std::vector<double, std::allocator<double> >&}; typename detail::_Unique_if<T>::_Single_object = std::unique_ptr<TreeRegression, std::default_delete<TreeRegression> >]’
521 | typename detail::_Unique_if<T>::_Single_object make_unique(Args&&... args) {
| ^~~~~~~~~~~
/usr/include/c++/15/bits/unique_ptr.h:1084:5: note: candidate 2: ‘std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = sirus::TreeRegression; _Args = {vector<vector<long unsigned int, allocator<long unsigned int> >, allocator<vector<long unsigned int, allocator<long unsigned int> > > >&, vector<long unsigned int, allocator<long unsigned int> >&, vector<double, allocator<double> >&}; __detail::__unique_ptr_t<_Tp> = __detail::__unique_ptr_t<sirus::TreeRegression>]’
1084 | make_unique(_Args&&... __args)
| ^~~~~~~~~~~
make[1]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:209: ForestSurvival.o] Error 1
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -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
make[1]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:209: ForestRegression.o] Error 1
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -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 Tree.cpp -o Tree.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -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 TreeClassification.cpp -o TreeClassification.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -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 TreeProbability.cpp -o TreeProbability.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -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 TreeRegression.cpp -o TreeRegression.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -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 TreeSurvival.cpp -o TreeSurvival.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -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 rangerCpp.cpp -o rangerCpp.o
rangerCpp.cpp: In function ‘Rcpp::List rangerCpp(uint, std::string, Rcpp::NumericMatrix&, std::vector<std::__cxx11::basic_string<char> >, uint, uint, bool, uint, uint, bool, uint, uint, std::vector<std::vector<double> >&, bool, std::vector<std::__cxx11::basic_string<char> >&, bool, std::string, bool, Rcpp::List, Rcpp::RawMatrix, bool, bool, std::vector<std::__cxx11::basic_string<char> >&, bool, bool, uint, std::vector<double>&, bool, std::vector<double>&, bool, bool, std::vector<double>&, double, double, bool, uint, uint, bool, bool, uint, std::vector<std::vector<long unsigned int> >&, bool)’:
rangerCpp.cpp:97:33: error: call of overloaded ‘make_unique<sirus::DataRcpp>(Rcpp::NumericMatrix&, std::vector<std::__cxx11::basic_string<char> >&, size_t&, size_t&)’ is ambiguous
97 | data = make_unique<DataRcpp>(input_data, variable_names, num_rows,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
98 | num_cols);
| ~~~~~~~~~
rangerCpp.cpp:97:33: note: there are 6 candidates
In file included from DataRcpp.h:34,
from rangerCpp.cpp:41:
utility.h:521:48: note: candidate 1: ‘typename sirus::detail::_Unique_if<T>::_Single_object sirus::make_unique(Args&& ...) [with T = DataRcpp; Args = {Rcpp::Matrix<14, Rcpp::PreserveStorage>&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, long unsigned int&, long unsigned int&}; typename detail::_Unique_if<T>::_Single_object = std::unique_ptr<DataRcpp, std::default_delete<DataRcpp> >]’
521 | typename detail::_Unique_if<T>::_Single_object make_unique(Args&&... args) {
| ^~~~~~~~~~~
In file included from /usr/include/c++/15/memory:80,
from rangerCpp.cpp:30:
/usr/include/c++/15/bits/unique_ptr.h:1084:5: note: candidate 2: ‘std::__detail::__unique_ptr_t<_Tp> std::make_unique(_Args&& ...) [with _Tp = sirus::DataRcpp; _Args = {Rcpp::Matrix<14, Rcpp::PreserveStorage>&, vector<__cxx11::basic_string<char, char_traits<char>, allocator<char> >, allocator<__cxx11::basic_string<char, char_traits<char>, allocator<char> > > >&, long unsigned int&, long unsigned int&}; __detail::__unique_ptr_t<_Tp> = __detail::__unique_ptr_t<sirus::DataRcpp>]’
1084 | make_unique(_Args&&... __args)
| ^~~~~~~~~~~
make[1]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:209: rangerCpp.o] Error 1
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -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 utility.cpp -o utility.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DR_BUILD -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 utilityRcpp.cpp -o utilityRcpp.o
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/sirus/src'
ERROR: compilation failed for package ‘sirus’
* removing ‘/data/gannet/ripley/R/packages/tests-devel/sirus.Rcheck/sirus’