* installing *source* package ‘RcppML’ ... ** this is package ‘RcppML’ version ‘1.0.0’ ** using staged installation === Configuring RcppML === CUDA: not found (GPU features will be unavailable) Generating src/Makevars... === Configuration complete === ** libs using C++ compiler: ‘Debian clang version 21.1.8 (3+b1)’ clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DEIGEN_INITIALIZE_MATRICES_BY_ZERO -DEIGEN_NO_DEBUG -DSPARSEPRESS_USE_R -DFACTORNET_USE_R -fpic -g -O3 -Wall -pedantic -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from ./../inst/include/RcppML.h:9: In file included from ./../inst/include/FactorNet.h:26: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/Dense:1: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/Core:294: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:313:9: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] 313 | if(size_changed) EIGEN_INITIALIZE_COEFFS_IF_THAT_OPTION_IS_ENABLED | ^ /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:310:7: note: previous statement is here 310 | else | ^ In file included from RcppExports.cpp:4: In file included from ./../inst/include/RcppML.h:9: In file included from ./../inst/include/FactorNet.h:27: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:26: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseCore:61: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/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 RcppExports.cpp:4: In file included from ./../inst/include/RcppML.h:9: In file included from ./../inst/include/FactorNet.h:27: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:29: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseLU:35: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/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/lib/R/Library/4.6/x86_64-linux-gnu/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 RcppExports.cpp:5: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:31: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/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 RcppExports.cpp:5: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:37: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/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; | ^ 6 warnings generated. clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DEIGEN_INITIALIZE_MATRICES_BY_ZERO -DEIGEN_NO_DEBUG -DSPARSEPRESS_USE_R -DFACTORNET_USE_R -fpic -g -O3 -Wall -pedantic -c RcppFunctions_graph.cpp -o RcppFunctions_graph.o In file included from RcppFunctions_graph.cpp:9: In file included from ./RcppFunctions_common.h:7: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:28: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/Dense:1: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/Core:294: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:313:9: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] 313 | if(size_changed) EIGEN_INITIALIZE_COEFFS_IF_THAT_OPTION_IS_ENABLED | ^ /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:310:7: note: previous statement is here 310 | else | ^ In file included from RcppFunctions_graph.cpp:9: In file included from ./RcppFunctions_common.h:7: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:26: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseCore:61: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/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 RcppFunctions_graph.cpp:9: In file included from ./RcppFunctions_common.h:7: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:29: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseLU:35: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/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/lib/R/Library/4.6/x86_64-linux-gnu/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 RcppFunctions_graph.cpp:9: In file included from ./RcppFunctions_common.h:7: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:31: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/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 RcppFunctions_graph.cpp:9: In file included from ./RcppFunctions_common.h:7: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:37: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/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 RcppFunctions_graph.cpp:10: In file included from ./../inst/include/FactorNet/graph/graph_all.hpp:31: In file included from ../inst/include/FactorNet/graph/builder.hpp:20: In file included from ../inst/include/FactorNet/graph/fit.hpp:33: In file included from ../inst/include/FactorNet/nmf/fit.hpp:39: In file included from ../inst/include/FactorNet/nmf/fit_cpu.hpp:54: ../inst/include/FactorNet/primitives/cpu/fused_nnls.hpp:96:9: warning: unused variable 'n_threads' [-Wunused-variable] 96 | int n_threads = 1; | ^~~~~~~~~ ../inst/include/FactorNet/primitives/cpu/fused_nnls.hpp:177:9: warning: unused variable 'n_threads' [-Wunused-variable] 177 | int n_threads = 1; | ^~~~~~~~~ In file included from RcppFunctions_graph.cpp:10: In file included from ./../inst/include/FactorNet/graph/graph_all.hpp:31: In file included from ../inst/include/FactorNet/graph/builder.hpp:20: In file included from ../inst/include/FactorNet/graph/fit.hpp:33: In file included from ../inst/include/FactorNet/nmf/fit.hpp:39: In file included from ../inst/include/FactorNet/nmf/fit_cpu.hpp:71: In file included from ../inst/include/FactorNet/svd/lanczos.hpp:37: ../inst/include/FactorNet/svd/spmv.hpp:399:15: warning: unused variable 'n' [-Wunused-variable] 399 | const int n = static_cast(A.cols()); | ^ ../inst/include/FactorNet/svd/spmv.hpp:530:15: warning: unused variable 'n' [-Wunused-variable] 530 | const int n = static_cast(A.cols()); | ^ In file included from RcppFunctions_graph.cpp:10: In file included from ./../inst/include/FactorNet/graph/graph_all.hpp:31: In file included from ../inst/include/FactorNet/graph/builder.hpp:20: In file included from ../inst/include/FactorNet/graph/fit.hpp:33: In file included from ../inst/include/FactorNet/nmf/fit.hpp:40: ../inst/include/FactorNet/nmf/fit_cv.hpp:367:15: warning: unused variable 'actual_threads' [-Wunused-variable] 367 | const int actual_threads = 1; | ^~~~~~~~~~~~~~ ../inst/include/FactorNet/nmf/fit_cv.hpp:376:66: warning: unused variable 't_conv_us' [-Wunused-variable] 376 | int64_t t_h_update_us = 0, t_w_update_us = 0, t_loss_us = 0, t_conv_us = 0; | ^~~~~~~~~ In file included from RcppFunctions_graph.cpp:11: In file included from ./../inst/include/FactorNet/nmf/fit_streaming_spz.hpp:21: In file included from ../inst/include/FactorNet/io/spz_loader.hpp:22: ../inst/include/streampress/sparsepress_v2.hpp:964:9: warning: variable 'num_threads' set but not used [-Wunused-but-set-variable] 964 | int num_threads = cfg.num_threads; | ^ In file included from RcppFunctions_graph.cpp:11: In file included from ./../inst/include/FactorNet/nmf/fit_streaming_spz.hpp:21: ../inst/include/FactorNet/io/spz_loader.hpp:306:18: warning: unused variable 'trans_section_size' [-Wunused-variable] 306 | uint64_t trans_section_size = trans_end - trans_start; | ^~~~~~~~~~~~~~~~~~ In file included from RcppFunctions_graph.cpp:11: In file included from ./../inst/include/FactorNet/nmf/fit_streaming_spz.hpp:22: ../inst/include/FactorNet/io/dense_spz_loader.hpp:55:24: warning: field 'trans_idx_' will be initialized after field 'in_core_' [-Wreorder-ctor] 55 | : fwd_idx_(0), trans_idx_(0), in_core_(false) | ~~~~~~~~~~ ^~~~~~~~~~~~ ~~~~~~~~~~~~~~ | in_core_(false fwd_idx_(0 trans_idx_(0 /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:1084:34: note: in instantiation of member function 'FactorNet::io::DenseSpzLoader::DenseSpzLoader' requested here 1084 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^ ./../inst/include/FactorNet/nmf/fit_streaming_spz.hpp:81:27: note: in instantiation of function template specialization 'std::make_unique, const std::basic_string &, bool>' requested here 81 | loader_ptr = std::make_unique>( | ^ RcppFunctions_graph.cpp:255:32: note: in instantiation of function template specialization 'FactorNet::nmf::nmf_streaming_spz' requested here 255 | auto nmf_result = nmf::nmf_streaming_spz( | ^ In file included from RcppFunctions_graph.cpp:11: In file included from ./../inst/include/FactorNet/nmf/fit_streaming_spz.hpp:21: ../inst/include/FactorNet/io/spz_loader.hpp:58:24: warning: field 'trans_idx_' will be initialized after field 'in_core_' [-Wreorder-ctor] 58 | : fwd_idx_(0), trans_idx_(0), in_core_(false) | ~~~~~~~~~~ ^~~~~~~~~~~~ ~~~~~~~~~~~~~~ | in_core_(false fwd_idx_(0 trans_idx_(0 /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:1084:34: note: in instantiation of member function 'FactorNet::io::SpzLoader::SpzLoader' requested here 1084 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^ ./../inst/include/FactorNet/nmf/fit_streaming_spz.hpp:86:27: note: in instantiation of function template specialization 'std::make_unique, const std::basic_string &, bool>' requested here 86 | loader_ptr = std::make_unique>( | ^ RcppFunctions_graph.cpp:255:32: note: in instantiation of function template specialization 'FactorNet::nmf::nmf_streaming_spz' requested here 255 | auto nmf_result = nmf::nmf_streaming_spz( | ^ In file included from RcppFunctions_graph.cpp:10: In file included from ./../inst/include/FactorNet/graph/graph_all.hpp:31: In file included from ../inst/include/FactorNet/graph/builder.hpp:20: In file included from ../inst/include/FactorNet/graph/fit.hpp:33: In file included from ../inst/include/FactorNet/nmf/fit.hpp:40: In file included from ../inst/include/FactorNet/nmf/fit_cv.hpp:71: In file included from ../inst/include/FactorNet/nmf/cv_detail.hpp:33: ../inst/include/FactorNet/nmf/speckled_cv.hpp:87:74: warning: implicit conversion from 'unsigned long long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-const-int-float-conversion] 87 | uint64_t threshold = static_cast(col_subsample_frac_ * 0xFFFFFFFFFFFFFFFFULL); | ~ ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/FactorNet/nmf/speckled_cv.hpp:148:43: note: in instantiation of member function 'FactorNet::nmf::LazySpeckledMask::is_col_in_subsample' requested here 148 | if (col_subsample_frac_ < 1.0 && !is_col_in_subsample(static_cast(j))) | ^ ../inst/include/FactorNet/nmf/fit_chunked.hpp:267:61: note: in instantiation of member function 'FactorNet::nmf::LazySpeckledMask::is_holdout' requested here 267 | if (!excl && has_cv && cv_mask->is_holdout(it.row(), gj)) | ^ ./../inst/include/FactorNet/nmf/fit_streaming_spz.hpp:221:28: note: in instantiation of function template specialization 'FactorNet::nmf::nmf_chunked' requested here 221 | return FactorNet::nmf::nmf_chunked(loader_ref, config, | ^ RcppFunctions_graph.cpp:255:32: note: in instantiation of function template specialization 'FactorNet::nmf::nmf_streaming_spz' requested here 255 | auto nmf_result = nmf::nmf_streaming_spz( | ^ In file included from RcppFunctions_graph.cpp:10: In file included from ./../inst/include/FactorNet/graph/graph_all.hpp:31: In file included from ../inst/include/FactorNet/graph/builder.hpp:20: In file included from ../inst/include/FactorNet/graph/fit.hpp:33: In file included from ../inst/include/FactorNet/nmf/fit.hpp:40: In file included from ../inst/include/FactorNet/nmf/fit_cv.hpp:71: In file included from ../inst/include/FactorNet/nmf/cv_detail.hpp:33: ../inst/include/FactorNet/nmf/speckled_cv.hpp:101:74: warning: implicit conversion from 'unsigned long long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-const-int-float-conversion] 101 | uint64_t threshold = static_cast(row_subsample_frac_ * 0xFFFFFFFFFFFFFFFFULL); | ~ ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/FactorNet/nmf/speckled_cv.hpp:150:43: note: in instantiation of member function 'FactorNet::nmf::LazySpeckledMask::is_row_in_subsample' requested here 150 | if (row_subsample_frac_ < 1.0 && !is_row_in_subsample(static_cast(i))) | ^ ../inst/include/FactorNet/nmf/fit_chunked.hpp:267:61: note: in instantiation of member function 'FactorNet::nmf::LazySpeckledMask::is_holdout' requested here 267 | if (!excl && has_cv && cv_mask->is_holdout(it.row(), gj)) | ^ ./../inst/include/FactorNet/nmf/fit_streaming_spz.hpp:221:28: note: in instantiation of function template specialization 'FactorNet::nmf::nmf_chunked' requested here 221 | return FactorNet::nmf::nmf_chunked(loader_ref, config, | ^ RcppFunctions_graph.cpp:255:32: note: in instantiation of function template specialization 'FactorNet::nmf::nmf_streaming_spz' requested here 255 | auto nmf_result = nmf::nmf_streaming_spz( | ^ In file included from RcppFunctions_graph.cpp:11: In file included from ./../inst/include/FactorNet/nmf/fit_streaming_spz.hpp:21: In file included from ../inst/include/FactorNet/io/spz_loader.hpp:22: ../inst/include/streampress/sparsepress_v2.hpp:1648:20: warning: private field 'data_' is not used [-Wunused-private-field] 1648 | const uint8_t* data_; | ^ ../inst/include/streampress/sparsepress_v2.hpp:1649:12: warning: private field 'data_size_' is not used [-Wunused-private-field] 1649 | size_t data_size_; | ^ 20 warnings generated. clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DEIGEN_INITIALIZE_MATRICES_BY_ZERO -DEIGEN_NO_DEBUG -DSPARSEPRESS_USE_R -DFACTORNET_USE_R -fpic -g -O3 -Wall -pedantic -c RcppFunctions_nmf.cpp -o RcppFunctions_nmf.o In file included from RcppFunctions_nmf.cpp:7: In file included from ./RcppFunctions_common.h:7: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:28: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/Dense:1: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/Core:294: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:313:9: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] 313 | if(size_changed) EIGEN_INITIALIZE_COEFFS_IF_THAT_OPTION_IS_ENABLED | ^ /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:310:7: note: previous statement is here 310 | else | ^ In file included from RcppFunctions_nmf.cpp:7: In file included from ./RcppFunctions_common.h:7: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:26: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseCore:61: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/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 RcppFunctions_nmf.cpp:7: In file included from ./RcppFunctions_common.h:7: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:29: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseLU:35: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/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/lib/R/Library/4.6/x86_64-linux-gnu/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 RcppFunctions_nmf.cpp:7: In file included from ./RcppFunctions_common.h:7: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:31: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/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 RcppFunctions_nmf.cpp:7: In file included from ./RcppFunctions_common.h:7: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:37: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/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 RcppFunctions_nmf.cpp:8: In file included from ./../inst/include/FactorNet/nmf/fit.hpp:39: In file included from ../inst/include/FactorNet/nmf/fit_cpu.hpp:54: ../inst/include/FactorNet/primitives/cpu/fused_nnls.hpp:96:9: warning: unused variable 'n_threads' [-Wunused-variable] 96 | int n_threads = 1; | ^~~~~~~~~ ../inst/include/FactorNet/primitives/cpu/fused_nnls.hpp:177:9: warning: unused variable 'n_threads' [-Wunused-variable] 177 | int n_threads = 1; | ^~~~~~~~~ In file included from RcppFunctions_nmf.cpp:8: In file included from ./../inst/include/FactorNet/nmf/fit.hpp:39: In file included from ../inst/include/FactorNet/nmf/fit_cpu.hpp:71: In file included from ../inst/include/FactorNet/svd/lanczos.hpp:37: ../inst/include/FactorNet/svd/spmv.hpp:399:15: warning: unused variable 'n' [-Wunused-variable] 399 | const int n = static_cast(A.cols()); | ^ ../inst/include/FactorNet/svd/spmv.hpp:530:15: warning: unused variable 'n' [-Wunused-variable] 530 | const int n = static_cast(A.cols()); | ^ In file included from RcppFunctions_nmf.cpp:8: In file included from ./../inst/include/FactorNet/nmf/fit.hpp:40: ../inst/include/FactorNet/nmf/fit_cv.hpp:367:15: warning: unused variable 'actual_threads' [-Wunused-variable] 367 | const int actual_threads = 1; | ^~~~~~~~~~~~~~ ../inst/include/FactorNet/nmf/fit_cv.hpp:376:66: warning: unused variable 't_conv_us' [-Wunused-variable] 376 | int64_t t_h_update_us = 0, t_w_update_us = 0, t_loss_us = 0, t_conv_us = 0; | ^~~~~~~~~ In file included from RcppFunctions_nmf.cpp:9: In file included from ./../inst/include/FactorNet/nmf/fit_streaming_spz.hpp:21: In file included from ../inst/include/FactorNet/io/spz_loader.hpp:22: ../inst/include/streampress/sparsepress_v2.hpp:964:9: warning: variable 'num_threads' set but not used [-Wunused-but-set-variable] 964 | int num_threads = cfg.num_threads; | ^ In file included from RcppFunctions_nmf.cpp:9: In file included from ./../inst/include/FactorNet/nmf/fit_streaming_spz.hpp:21: ../inst/include/FactorNet/io/spz_loader.hpp:306:18: warning: unused variable 'trans_section_size' [-Wunused-variable] 306 | uint64_t trans_section_size = trans_end - trans_start; | ^~~~~~~~~~~~~~~~~~ In file included from RcppFunctions_nmf.cpp:8: In file included from ./../inst/include/FactorNet/nmf/fit.hpp:40: In file included from ../inst/include/FactorNet/nmf/fit_cv.hpp:71: In file included from ../inst/include/FactorNet/nmf/cv_detail.hpp:33: ../inst/include/FactorNet/nmf/speckled_cv.hpp:87:74: warning: implicit conversion from 'unsigned long long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-const-int-float-conversion] 87 | uint64_t threshold = static_cast(col_subsample_frac_ * 0xFFFFFFFFFFFFFFFFULL); | ~ ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/FactorNet/nmf/speckled_cv.hpp:148:43: note: in instantiation of member function 'FactorNet::nmf::LazySpeckledMask::is_col_in_subsample' requested here 148 | if (col_subsample_frac_ < 1.0 && !is_col_in_subsample(static_cast(j))) | ^ ../inst/include/FactorNet/nmf/fit_cv.hpp:896:30: note: in instantiation of member function 'FactorNet::nmf::LazySpeckledMask::is_holdout' requested here 896 | if (mask.is_holdout(i, j)) { | ^ ./../inst/include/FactorNet/nmf/fit.hpp:206:36: note: in instantiation of function template specialization 'FactorNet::nmf::nmf_fit_cv>' requested here 206 | auto result = nmf::nmf_fit_cv( | ^ ./../inst/include/FactorNet/nmf/fit.hpp:314:30: note: in instantiation of function template specialization 'FactorNet::nmf::detail::dispatch_cv>' requested here 314 | result = detail::dispatch_cv(A, config, plan, W_init, H_init); | ^ RcppFunctions_nmf.cpp:450:39: note: in instantiation of function template specialization 'FactorNet::nmf::nmf>' requested here 450 | auto result = FactorNet::nmf::nmf(A_f, fconfig, W_init_f_ptr, H_init_f_ptr); | ^ In file included from RcppFunctions_nmf.cpp:8: In file included from ./../inst/include/FactorNet/nmf/fit.hpp:40: In file included from ../inst/include/FactorNet/nmf/fit_cv.hpp:71: In file included from ../inst/include/FactorNet/nmf/cv_detail.hpp:33: ../inst/include/FactorNet/nmf/speckled_cv.hpp:101:74: warning: implicit conversion from 'unsigned long long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-const-int-float-conversion] 101 | uint64_t threshold = static_cast(row_subsample_frac_ * 0xFFFFFFFFFFFFFFFFULL); | ~ ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/FactorNet/nmf/speckled_cv.hpp:150:43: note: in instantiation of member function 'FactorNet::nmf::LazySpeckledMask::is_row_in_subsample' requested here 150 | if (row_subsample_frac_ < 1.0 && !is_row_in_subsample(static_cast(i))) | ^ ../inst/include/FactorNet/nmf/fit_cv.hpp:896:30: note: in instantiation of member function 'FactorNet::nmf::LazySpeckledMask::is_holdout' requested here 896 | if (mask.is_holdout(i, j)) { | ^ ./../inst/include/FactorNet/nmf/fit.hpp:206:36: note: in instantiation of function template specialization 'FactorNet::nmf::nmf_fit_cv>' requested here 206 | auto result = nmf::nmf_fit_cv( | ^ ./../inst/include/FactorNet/nmf/fit.hpp:314:30: note: in instantiation of function template specialization 'FactorNet::nmf::detail::dispatch_cv>' requested here 314 | result = detail::dispatch_cv(A, config, plan, W_init, H_init); | ^ RcppFunctions_nmf.cpp:450:39: note: in instantiation of function template specialization 'FactorNet::nmf::nmf>' requested here 450 | auto result = FactorNet::nmf::nmf(A_f, fconfig, W_init_f_ptr, H_init_f_ptr); | ^ In file included from RcppFunctions_nmf.cpp:9: In file included from ./../inst/include/FactorNet/nmf/fit_streaming_spz.hpp:22: ../inst/include/FactorNet/io/dense_spz_loader.hpp:55:24: warning: field 'trans_idx_' will be initialized after field 'in_core_' [-Wreorder-ctor] 55 | : fwd_idx_(0), trans_idx_(0), in_core_(false) | ~~~~~~~~~~ ^~~~~~~~~~~~ ~~~~~~~~~~~~~~ | in_core_(false fwd_idx_(0 trans_idx_(0 /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:1084:34: note: in instantiation of member function 'FactorNet::io::DenseSpzLoader::DenseSpzLoader' requested here 1084 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^ ./../inst/include/FactorNet/nmf/fit_streaming_spz.hpp:81:27: note: in instantiation of function template specialization 'std::make_unique, const std::basic_string &, bool>' requested here 81 | loader_ptr = std::make_unique>( | ^ RcppFunctions_nmf.cpp:579:35: note: in instantiation of function template specialization 'FactorNet::nmf::nmf_streaming_spz' requested here 579 | auto result = FactorNet::nmf::nmf_streaming_spz(path, config); | ^ In file included from RcppFunctions_nmf.cpp:9: In file included from ./../inst/include/FactorNet/nmf/fit_streaming_spz.hpp:21: ../inst/include/FactorNet/io/spz_loader.hpp:58:24: warning: field 'trans_idx_' will be initialized after field 'in_core_' [-Wreorder-ctor] 58 | : fwd_idx_(0), trans_idx_(0), in_core_(false) | ~~~~~~~~~~ ^~~~~~~~~~~~ ~~~~~~~~~~~~~~ | in_core_(false fwd_idx_(0 trans_idx_(0 /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:1084:34: note: in instantiation of member function 'FactorNet::io::SpzLoader::SpzLoader' requested here 1084 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^ ./../inst/include/FactorNet/nmf/fit_streaming_spz.hpp:86:27: note: in instantiation of function template specialization 'std::make_unique, const std::basic_string &, bool>' requested here 86 | loader_ptr = std::make_unique>( | ^ RcppFunctions_nmf.cpp:579:35: note: in instantiation of function template specialization 'FactorNet::nmf::nmf_streaming_spz' requested here 579 | auto result = FactorNet::nmf::nmf_streaming_spz(path, config); | ^ In file included from RcppFunctions_nmf.cpp:9: In file included from ./../inst/include/FactorNet/nmf/fit_streaming_spz.hpp:21: In file included from ../inst/include/FactorNet/io/spz_loader.hpp:22: ../inst/include/streampress/sparsepress_v2.hpp:1648:20: warning: private field 'data_' is not used [-Wunused-private-field] 1648 | const uint8_t* data_; | ^ ../inst/include/streampress/sparsepress_v2.hpp:1649:12: warning: private field 'data_size_' is not used [-Wunused-private-field] 1649 | size_t data_size_; | ^ 20 warnings generated. clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I../inst/include/ -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DEIGEN_INITIALIZE_MATRICES_BY_ZERO -DEIGEN_NO_DEBUG -DSPARSEPRESS_USE_R -DFACTORNET_USE_R -fpic -g -O3 -Wall -pedantic -c RcppFunctions_svd.cpp -o RcppFunctions_svd.o In file included from RcppFunctions_svd.cpp:6: In file included from ./RcppFunctions_common.h:7: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:28: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/Dense:1: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/Core:294: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:313:9: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] 313 | if(size_changed) EIGEN_INITIALIZE_COEFFS_IF_THAT_OPTION_IS_ENABLED | ^ /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:310:7: note: previous statement is here 310 | else | ^ In file included from RcppFunctions_svd.cpp:6: In file included from ./RcppFunctions_common.h:7: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:26: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseCore:61: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/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 RcppFunctions_svd.cpp:6: In file included from ./RcppFunctions_common.h:7: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:29: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseLU:35: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/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/lib/R/Library/4.6/x86_64-linux-gnu/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 RcppFunctions_svd.cpp:6: In file included from ./RcppFunctions_common.h:7: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:31: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/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 RcppFunctions_svd.cpp:6: In file included from ./RcppFunctions_common.h:7: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:37: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/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 RcppFunctions_svd.cpp:7: In file included from ./../inst/include/FactorNet/svd/gateway.hpp:32: In file included from ../inst/include/FactorNet/svd/deflation.hpp:23: ../inst/include/FactorNet/svd/spmv.hpp:399:15: warning: unused variable 'n' [-Wunused-variable] 399 | const int n = static_cast(A.cols()); | ^ ../inst/include/FactorNet/svd/spmv.hpp:530:15: warning: unused variable 'n' [-Wunused-variable] 530 | const int n = static_cast(A.cols()); | ^ In file included from RcppFunctions_svd.cpp:7: In file included from ./../inst/include/FactorNet/svd/gateway.hpp:32: ../inst/include/FactorNet/svd/deflation.hpp:622:9: warning: variable 'k_computed' set but not used [-Wunused-but-set-variable] 622 | int k_computed = 0; | ^ In file included from RcppFunctions_svd.cpp:7: In file included from ./../inst/include/FactorNet/svd/gateway.hpp:36: ../inst/include/FactorNet/svd/krylov.hpp:231:56: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] 231 | DenseMatrix R_w = qr_w.matrixQR().template topRows(k) | ^ ../inst/include/FactorNet/svd/krylov.hpp:236:56: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] 236 | DenseMatrix R_h = qr_h.matrixQR().template topRows(k) | ^ In file included from RcppFunctions_svd.cpp:7: In file included from ./../inst/include/FactorNet/svd/gateway.hpp:37: In file included from ../inst/include/FactorNet/svd/streaming_matvec.hpp:27: ../inst/include/streampress/sparsepress_v2.hpp:964:9: warning: variable 'num_threads' set but not used [-Wunused-but-set-variable] 964 | int num_threads = cfg.num_threads; | ^ In file included from RcppFunctions_svd.cpp:7: In file included from ./../inst/include/FactorNet/svd/gateway.hpp:32: In file included from ../inst/include/FactorNet/svd/deflation.hpp:24: In file included from ../inst/include/FactorNet/svd/test_entries.hpp:18: ../inst/include/FactorNet/nmf/speckled_cv.hpp:87:74: warning: implicit conversion from 'unsigned long long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-const-int-float-conversion] 87 | uint64_t threshold = static_cast(col_subsample_frac_ * 0xFFFFFFFFFFFFFFFFULL); | ~ ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/FactorNet/nmf/speckled_cv.hpp:148:43: note: in instantiation of member function 'FactorNet::nmf::LazySpeckledMask::is_col_in_subsample' requested here 148 | if (col_subsample_frac_ < 1.0 && !is_col_in_subsample(static_cast(j))) | ^ ../inst/include/FactorNet/svd/deflation.hpp:522:34: note: in instantiation of member function 'FactorNet::nmf::LazySpeckledMask::is_holdout' requested here 522 | if (mask.is_holdout(it.row(), j)) { | ^ ./../inst/include/FactorNet/svd/gateway.hpp:148:16: note: in instantiation of function template specialization 'FactorNet::svd::deflation_svd, float>' requested here 148 | return deflation_svd(A, config); | ^ RcppFunctions_svd.cpp:135:29: note: in instantiation of function template specialization 'FactorNet::svd::svd_gateway, float>' requested here 135 | FactorNet::svd::svd_gateway(A_f, config, method)); | ^ In file included from RcppFunctions_svd.cpp:7: In file included from ./../inst/include/FactorNet/svd/gateway.hpp:32: In file included from ../inst/include/FactorNet/svd/deflation.hpp:24: In file included from ../inst/include/FactorNet/svd/test_entries.hpp:18: ../inst/include/FactorNet/nmf/speckled_cv.hpp:101:74: warning: implicit conversion from 'unsigned long long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-const-int-float-conversion] 101 | uint64_t threshold = static_cast(row_subsample_frac_ * 0xFFFFFFFFFFFFFFFFULL); | ~ ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/FactorNet/nmf/speckled_cv.hpp:150:43: note: in instantiation of member function 'FactorNet::nmf::LazySpeckledMask::is_row_in_subsample' requested here 150 | if (row_subsample_frac_ < 1.0 && !is_row_in_subsample(static_cast(i))) | ^ ../inst/include/FactorNet/svd/deflation.hpp:522:34: note: in instantiation of member function 'FactorNet::nmf::LazySpeckledMask::is_holdout' requested here 522 | if (mask.is_holdout(it.row(), j)) { | ^ ./../inst/include/FactorNet/svd/gateway.hpp:148:16: note: in instantiation of function template specialization 'FactorNet::svd::deflation_svd, float>' requested here 148 | return deflation_svd(A, config); | ^ RcppFunctions_svd.cpp:135:29: note: in instantiation of function template specialization 'FactorNet::svd::svd_gateway, float>' requested here 135 | FactorNet::svd::svd_gateway(A_f, config, method)); | ^ In file included from RcppFunctions_svd.cpp:7: In file included from ./../inst/include/FactorNet/svd/gateway.hpp:37: In file included from ../inst/include/FactorNet/svd/streaming_matvec.hpp:27: ../inst/include/streampress/sparsepress_v2.hpp:1648:20: warning: private field 'data_' is not used [-Wunused-private-field] 1648 | const uint8_t* data_; | ^ ../inst/include/streampress/sparsepress_v2.hpp:1649:12: warning: private field 'data_size_' is not used [-Wunused-private-field] 1649 | size_t data_size_; | ^ 14 warnings and 2 errors generated. make: *** [/home/hornik/tmp/R-d-clang-21/etc/Makeconf:197: RcppFunctions_svd.o] Error 1 ERROR: compilation failed for package ‘RcppML’ * removing ‘/srv/hornik/tmp/CRAN_pretest/RcppML.Rcheck/RcppML’