* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* 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: ‘Debian clang version 21.1.6 (2)’
using C++11
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp4kTFu2/R.INSTALL1225e47fd1b94a/sirus/src'
clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DR_BUILD -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c AAA_check_cpp11.cpp -o AAA_check_cpp11.o
clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DR_BUILD -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Data.cpp -o Data.o
clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DR_BUILD -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c DataChar.cpp -o DataChar.o
clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DR_BUILD -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c DataFloat.cpp -o DataFloat.o
clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DR_BUILD -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c DataSparse.cpp -o DataSparse.o
In file included from DataSparse.cpp:29:
In file included from ./DataSparse.h:31:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:26:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/SparseCore:61:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
273 | Index count = 0;
| ^
In file included from DataSparse.cpp:29:
In file included from ./DataSparse.h:31:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/SparseLU:35:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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]
78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree
| ^
In file included from DataSparse.cpp:29:
In file included from ./DataSparse.h:31:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:31:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
72 | Index replacements = 0;
| ^
In file included from DataSparse.cpp:29:
In file included from ./DataSparse.h:31:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigen.h:25:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/RcppEigenForward.h:37:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
246 | int count = 0;
| ^
In file included from DataSparse.cpp:29:
./DataSparse.h:53:12: warning: unused variable 'col_permuted' [-Wunused-variable]
53 | size_t col_permuted = col;
| ^~~~~~~~~~~~
6 warnings generated.
clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DR_BUILD -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Forest.cpp -o Forest.o
clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DR_BUILD -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c ForestClassification.cpp -o ForestClassification.o
ForestClassification.cpp:41:9: error: call to 'make_unique' is ambiguous
41 | make_unique<TreeClassification>(forest_child_nodeIDs[i], forest_split_varIDs[i], forest_split_values[i],
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:1083:5: note: candidate function [with _Tp = sirus::TreeClassification, _Args = <std::vector<std::vector<unsigned long>> &, std::vector<unsigned long> &, std::vector<double> &, std::vector<double> *, std::vector<unsigned int> *>]
1083 | make_unique(_Args&&... __args)
| ^
./utility.h:521:48: note: candidate function [with T = sirus::TreeClassification, Args = <std::vector<std::vector<unsigned long>> &, std::vector<unsigned long> &, std::vector<double> &, std::vector<double> *, std::vector<unsigned int> *>]
521 | typename detail::_Unique_if<T>::_Single_object make_unique(Args&&... args) {
| ^
ForestClassification.cpp:101:9: error: call to 'make_unique' is ambiguous
101 | make_unique<TreeClassification>(&class_values, &response_classIDs, &sampleIDs_per_class, &class_weights));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:1083:5: note: candidate function [with _Tp = sirus::TreeClassification, _Args = <std::vector<double> *, std::vector<unsigned int> *, std::vector<std::vector<unsigned long>> *, std::vector<double> *>]
1083 | make_unique(_Args&&... __args)
| ^
./utility.h:521:48: note: candidate function [with T = sirus::TreeClassification, Args = <std::vector<double> *, std::vector<unsigned int> *, std::vector<std::vector<unsigned long>> *, std::vector<double> *>]
521 | typename detail::_Unique_if<T>::_Single_object make_unique(Args&&... args) {
| ^
ForestClassification.cpp:318:9: error: call to 'make_unique' is ambiguous
318 | make_unique<TreeClassification>(child_nodeIDs, split_varIDs, split_values, &class_values, &response_classIDs));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:1083:5: note: candidate function [with _Tp = sirus::TreeClassification, _Args = <std::vector<std::vector<unsigned long>> &, std::vector<unsigned long> &, std::vector<double> &, std::vector<double> *, std::vector<unsigned int> *>]
1083 | make_unique(_Args&&... __args)
| ^
./utility.h:521:48: note: candidate function [with T = sirus::TreeClassification, Args = <std::vector<std::vector<unsigned long>> &, std::vector<unsigned long> &, std::vector<double> &, std::vector<double> *, std::vector<unsigned int> *>]
521 | typename detail::_Unique_if<T>::_Single_object make_unique(Args&&... args) {
| ^
3 errors generated.
make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:209: ForestClassification.o] Error 1
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp4kTFu2/R.INSTALL1225e47fd1b94a/sirus/src'
ERROR: compilation failed for package ‘sirus’
* removing ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/sirus’