* installing *source* package 'RcppML' ... ** this is package 'RcppML' version '1.0.0' ** using staged installation ********************************************** WARNING: this package has a configure script It probably needs manual configuration ********************************************** ** libs using C++ compiler: 'g++.exe (GCC) 14.3.0' g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DEIGEN_INITIALIZE_MATRICES_BY_ZERO -DEIGEN_NO_DEBUG -DSPARSEPRESS_USE_R -DFACTORNET_USE_R -Wa,-mbig-obj -Wno-ignored-attributes -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DEIGEN_INITIALIZE_MATRICES_BY_ZERO -DEIGEN_NO_DEBUG -DSPARSEPRESS_USE_R -DFACTORNET_USE_R -Wa,-mbig-obj -Wno-ignored-attributes -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppFunctions_graph.cpp -o RcppFunctions_graph.o In file included from ../inst/include/FactorNet/nmf/fit.hpp:40, from ../inst/include/FactorNet/graph/fit.hpp:33, from ../inst/include/FactorNet/graph/builder.hpp:20, from ../inst/include/FactorNet/graph/graph_all.hpp:31, from RcppFunctions_graph.cpp:10: ../inst/include/FactorNet/nmf/fit_cv.hpp: In instantiation of 'FactorNet::NMFResult FactorNet::nmf::nmf_fit_cv(const MatrixType&, const FactorNet::NMFConfig&, DenseMatrix*, DenseMatrix*) [with Resource = FactorNet::primitives::CPU; Scalar = float; MatrixType = Eigen::Matrix; DenseMatrix = Eigen::Matrix]': ../inst/include/FactorNet/nmf/fit.hpp:317:54: required from 'FactorNet::NMFResult FactorNet::nmf::nmf(const MatrixType&, const FactorNet::NMFConfig&, DenseMatrix*, DenseMatrix*) [with Scalar = float; MatrixType = Eigen::Matrix; DenseMatrix = Eigen::Matrix]' 317 | result = nmf::nmf_fit_cv( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 318 | A, config, W_init, H_init); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/FactorNet/graph/fit.hpp:294:55: required from 'FactorNet::graph::GraphResult FactorNet::graph::fit_deep(const FactorGraph&, const MatrixType&) [with Scalar = float; MatrixType = Eigen::SparseMatrix]' 294 | auto init_result = FactorNet::nmf::nmf(input_mat, cfg, nullptr, nullptr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/FactorNet/graph/fit.hpp:409:24: required from 'FactorNet::graph::GraphResult FactorNet::graph::fit(const FactorGraph&, const MatrixType&, FactorNet::DenseMatrix*) [with Scalar = float; MatrixType = Eigen::SparseMatrix; FactorNet::DenseMatrix = Eigen::Matrix]' 409 | return fit_deep(graph, data); | ~~~~~~~~^~~~~~~~~~~~~ RcppFunctions_graph.cpp:275:25: required from here 275 | result = fit(graph, instance.concatenated_sparse(), w_init_ptr); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/FactorNet/nmf/fit_cv.hpp:361:15: warning: unused variable 'n_threads' [-Wunused-variable] 361 | const int n_threads = config.threads > 0 ? config.threads : 1; | ^~~~~~~~~ ../inst/include/FactorNet/nmf/fit_cv.hpp: In instantiation of 'FactorNet::NMFResult FactorNet::nmf::nmf_fit_cv(const MatrixType&, const FactorNet::NMFConfig&, DenseMatrix*, DenseMatrix*) [with Resource = FactorNet::primitives::CPU; Scalar = float; MatrixType = Eigen::SparseMatrix; DenseMatrix = Eigen::Matrix]': ../inst/include/FactorNet/nmf/fit.hpp:206:63: required from 'FactorNet::NMFResult FactorNet::nmf::detail::dispatch_cv(const MatrixType&, const FactorNet::NMFConfig&, FactorNet::ResourcePlan, FactorNet::nmf::DenseMatrix*, FactorNet::nmf::DenseMatrix*) [with Scalar = float; MatrixType = Eigen::SparseMatrix; FactorNet::nmf::DenseMatrix = Eigen::Matrix]' 206 | auto result = nmf::nmf_fit_cv( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | A, config, W_init, H_init); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/FactorNet/nmf/fit.hpp:314:41: required from 'FactorNet::NMFResult FactorNet::nmf::nmf(const MatrixType&, const FactorNet::NMFConfig&, DenseMatrix*, DenseMatrix*) [with Scalar = float; MatrixType = Eigen::SparseMatrix; DenseMatrix = Eigen::Matrix]' 314 | result = detail::dispatch_cv(A, config, plan, W_init, H_init); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/FactorNet/graph/fit.hpp:224:50: required from 'FactorNet::graph::GraphResult FactorNet::graph::fit_single_layer(const FactorGraph&, const MatrixType&, FactorNet::DenseMatrix*) [with Scalar = float; MatrixType = Eigen::SparseMatrix; FactorNet::DenseMatrix = Eigen::Matrix]' 224 | auto nmf_result = FactorNet::nmf::nmf(data, cfg, W_init, nullptr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/FactorNet/graph/fit.hpp:407:32: required from 'FactorNet::graph::GraphResult FactorNet::graph::fit(const FactorGraph&, const MatrixType&, FactorNet::DenseMatrix*) [with Scalar = float; MatrixType = Eigen::SparseMatrix; FactorNet::DenseMatrix = Eigen::Matrix]' 407 | return fit_single_layer(graph, data, W_init); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ RcppFunctions_graph.cpp:275:25: required from here 275 | result = fit(graph, instance.concatenated_sparse(), w_init_ptr); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/FactorNet/nmf/fit_cv.hpp:361:15: warning: unused variable 'n_threads' [-Wunused-variable] 361 | const int n_threads = config.threads > 0 ? config.threads : 1; | ^~~~~~~~~ g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DEIGEN_INITIALIZE_MATRICES_BY_ZERO -DEIGEN_NO_DEBUG -DSPARSEPRESS_USE_R -DFACTORNET_USE_R -Wa,-mbig-obj -Wno-ignored-attributes -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppFunctions_nmf.cpp -o RcppFunctions_nmf.o In file included from ../inst/include/FactorNet/nmf/fit.hpp:40, from RcppFunctions_nmf.cpp:8: ../inst/include/FactorNet/nmf/fit_cv.hpp: In instantiation of 'FactorNet::NMFResult FactorNet::nmf::nmf_fit_cv(const MatrixType&, const FactorNet::NMFConfig&, DenseMatrix*, DenseMatrix*) [with Resource = FactorNet::primitives::CPU; Scalar = float; MatrixType = Eigen::Matrix; DenseMatrix = Eigen::Matrix]': ../inst/include/FactorNet/nmf/fit.hpp:317:54: required from 'FactorNet::NMFResult FactorNet::nmf::nmf(const MatrixType&, const FactorNet::NMFConfig&, DenseMatrix*, DenseMatrix*) [with Scalar = float; MatrixType = Eigen::Matrix; DenseMatrix = Eigen::Matrix]' 317 | result = nmf::nmf_fit_cv( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 318 | A, config, W_init, H_init); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ RcppFunctions_nmf.cpp:455:49: required from here 455 | auto result = FactorNet::nmf::nmf(A_f, fconfig, W_init_f_ptr, H_init_f_ptr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/FactorNet/nmf/fit_cv.hpp:361:15: warning: unused variable 'n_threads' [-Wunused-variable] 361 | const int n_threads = config.threads > 0 ? config.threads : 1; | ^~~~~~~~~ ../inst/include/FactorNet/nmf/fit_cv.hpp: In instantiation of 'FactorNet::NMFResult FactorNet::nmf::nmf_fit_cv(const MatrixType&, const FactorNet::NMFConfig&, DenseMatrix*, DenseMatrix*) [with Resource = FactorNet::primitives::CPU; Scalar = float; MatrixType = Eigen::SparseMatrix; DenseMatrix = Eigen::Matrix]': ../inst/include/FactorNet/nmf/fit.hpp:206:63: required from 'FactorNet::NMFResult FactorNet::nmf::detail::dispatch_cv(const MatrixType&, const FactorNet::NMFConfig&, FactorNet::ResourcePlan, FactorNet::nmf::DenseMatrix*, FactorNet::nmf::DenseMatrix*) [with Scalar = float; MatrixType = Eigen::SparseMatrix; FactorNet::nmf::DenseMatrix = Eigen::Matrix]' 206 | auto result = nmf::nmf_fit_cv( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | A, config, W_init, H_init); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/FactorNet/nmf/fit.hpp:314:41: required from 'FactorNet::NMFResult FactorNet::nmf::nmf(const MatrixType&, const FactorNet::NMFConfig&, DenseMatrix*, DenseMatrix*) [with Scalar = float; MatrixType = Eigen::SparseMatrix; DenseMatrix = Eigen::Matrix]' 314 | result = detail::dispatch_cv(A, config, plan, W_init, H_init); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RcppFunctions_nmf.cpp:450:49: required from here 450 | auto result = FactorNet::nmf::nmf(A_f, fconfig, W_init_f_ptr, H_init_f_ptr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/FactorNet/nmf/fit_cv.hpp:361:15: warning: unused variable 'n_threads' [-Wunused-variable] 361 | const int n_threads = config.threads > 0 ? config.threads : 1; | ^~~~~~~~~ g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DEIGEN_INITIALIZE_MATRICES_BY_ZERO -DEIGEN_NO_DEBUG -DSPARSEPRESS_USE_R -DFACTORNET_USE_R -Wa,-mbig-obj -Wno-ignored-attributes -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppFunctions_svd.cpp -o RcppFunctions_svd.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DEIGEN_INITIALIZE_MATRICES_BY_ZERO -DEIGEN_NO_DEBUG -DSPARSEPRESS_USE_R -DFACTORNET_USE_R -Wa,-mbig-obj -Wno-ignored-attributes -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppFunctions_utils.cpp -o RcppFunctions_utils.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DEIGEN_INITIALIZE_MATRICES_BY_ZERO -DEIGEN_NO_DEBUG -DSPARSEPRESS_USE_R -DFACTORNET_USE_R -Wa,-mbig-obj -Wno-ignored-attributes -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c gpu_stubs.cpp -o gpu_stubs.o g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../inst/include/ -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppEigen/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DEIGEN_INITIALIZE_MATRICES_BY_ZERO -DEIGEN_NO_DEBUG -DSPARSEPRESS_USE_R -DFACTORNET_USE_R -Wa,-mbig-obj -Wno-ignored-attributes -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c sparsepress_bridge.cpp -o sparsepress_bridge.o In file included from ../inst/include/streampress/sparsepress.hpp:17, from sparsepress_bridge.cpp:12: In member function 'double streampress::DensityModel::density_at(uint32_t) const', inlined from 'int32_t streampress::DensityModel::predict_gap(uint32_t) const' at ../inst/include/streampress/model/predictor.hpp:73:30, inlined from 'streampress::CSCMatrix streampress::decompress(const std::vector&, CompressStats*)' at ../inst/include/streampress/sparsepress.hpp:562:66: ../inst/include/streampress/model/predictor.hpp:67:9: warning: 'density_model.streampress::DensityModel::n_blocks' may be used uninitialized [-Wmaybe-uninitialized] 67 | if (b >= n_blocks) b = n_blocks - 1; | ^~ ../inst/include/streampress/sparsepress.hpp: In function 'streampress::CSCMatrix streampress::decompress(const std::vector&, CompressStats*)': ../inst/include/streampress/sparsepress.hpp:486:18: note: 'density_model.streampress::DensityModel::n_blocks' was declared here 486 | DensityModel density_model; | ^~~~~~~~~~~~~ In member function 'double streampress::DensityModel::density_at(uint32_t) const', inlined from 'int32_t streampress::DensityModel::predict_gap(uint32_t) const' at ../inst/include/streampress/model/predictor.hpp:73:30, inlined from 'streampress::CSCMatrix streampress::decompress(const std::vector&, CompressStats*)' at ../inst/include/streampress/sparsepress.hpp:562:66: ../inst/include/streampress/model/predictor.hpp:66:18: warning: 'density_model.streampress::DensityModel::block_size' may be used uninitialized [-Wmaybe-uninitialized] 66 | uint32_t b = row / block_size; | ^ ../inst/include/streampress/sparsepress.hpp: In function 'streampress::CSCMatrix streampress::decompress(const std::vector&, CompressStats*)': ../inst/include/streampress/sparsepress.hpp:486:18: note: 'density_model.streampress::DensityModel::block_size' was declared here 486 | DensityModel density_model; | ^~~~~~~~~~~~~ In member function 'uint32_t streampress::ValuePredictor::predict(uint32_t, uint32_t) const', inlined from 'streampress::CSCMatrix streampress::decompress(const std::vector&, CompressStats*)' at ../inst/include/streampress/sparsepress.hpp:630:60: ../inst/include/streampress/model/predictor.hpp:145:16: warning: 'value_pred.streampress::ValuePredictor::global_col_mean' may be used uninitialized [-Wmaybe-uninitialized] 145 | double col_ratio = static_cast(col_nnz) / global_col_mean; | ^~~~~~~~~ ../inst/include/streampress/sparsepress.hpp: In function 'streampress::CSCMatrix streampress::decompress(const std::vector&, CompressStats*)': ../inst/include/streampress/sparsepress.hpp:487:20: note: 'value_pred.streampress::ValuePredictor::global_col_mean' was declared here 487 | ValuePredictor value_pred; | ^~~~~~~~~~ g++ -std=gnu++20 -shared -s -static-libgcc -o RcppML.dll tmp.def RcppExports.o RcppFunctions_graph.o RcppFunctions_nmf.o RcppFunctions_svd.o RcppFunctions_utils.o gpu_stubs.o sparsepress_bridge.o -fopenmp -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -lgfortran -lquadmath -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-RcppML/00new/RcppML/libs/x64 ** R ** data *** moving datasets to lazyload DB ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (RcppML)