* using log directory 'd:/Rcompile/CRANpkg/local/4.6/RcppPlanc.Rcheck' * using R version 4.6.0 beta (2026-04-16 r89899 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-04-17 05:02:13 UTC * checking for file 'RcppPlanc/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'RcppPlanc' version '2.0.15' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'RcppPlanc' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/RcppPlanc.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'RcppPlanc' ... ** this is package 'RcppPlanc' version '2.0.15' ** package 'RcppPlanc' successfully unpacked and MD5 sums checked ** using staged installation -- Building for: Unix Makefiles -- The C compiler identification is GNU 14.3.0 -- The CXX compiler identification is GNU 14.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: D:/rtools45/x86_64-w64-mingw32.static.posix/bin/gcc.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: D:/rtools45/x86_64-w64-mingw32.static.posix/bin/g++.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done This is libplanc 1.0.2 containing component nmflib 1.0.1 -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") -- Found R: D:/RCompile/recent/R/bin/x64/R.exe (found version "4.6.0") -- Could NOT find MKL (missing: MKL_DIR) -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found R_HighFive: D:/RCompile/CRANpkg/lib/4.6/HighFive -- Found HDF5: hdf5-static (found version "1.12.1") found components: C -- Performing Test HDF5_LINKS -- Performing Test HDF5_LINKS - Success -- Found R_Rcpp: D:/RCompile/CRANpkg/lib/4.6/Rcpp -- Found R_RcppArmadillo: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo -- Found R_RcppProgress: D:/RCompile/CRANpkg/lib/4.6/RcppProgress -- Performing Test UNSAFE_MATH -- Performing Test UNSAFE_MATH - Success -- Performing Test FINITE_MATH -- Performing Test FINITE_MATH - Success -- Performing Test TRAPPING_MATH -- Performing Test TRAPPING_MATH - Success -- Performing Test ERRNO_MATH -- Performing Test ERRNO_MATH - Success -- Performing Test UNSIGNED_ZERO -- Performing Test UNSIGNED_ZERO - Success -- Performing Test RECIPROCAL_MATH -- Performing Test RECIPROCAL_MATH - Success -- Performing Test ARCH_AVX -- Performing Test ARCH_AVX - Success -- Performing Test HAS_POPCNT -- Performing Test HAS_POPCNT - Success -- Looking for cblas.h -- Looking for cblas.h - found -- A cache variable, namely HWLOC_DIR, has been set to specify the install directory of HWLOC -- Checking for one of the modules 'hwloc' -- Looking for HWLOC - not found using PkgConfig. Perhaps you should add the directory containing hwloc.pc to the PKG_CONFIG_PATH environment variable. -- Looking for HWLOC - PkgConfig not used -- Looking for hwloc -- hwloc.h not found -- Looking for hwloc -- lib hwloc not found -- Could NOT find HWLOC (missing: HWLOC_LIBRARIES HWLOC_WORKS) -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- NNLS_SOURCE_DIR = D:/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/planc/nnls -- NMF_SOURCE_DIR = D:/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/planc/nmf -- NMFLIB_COMMON = D:/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/planc/common -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- Configuring done (47.2s) -- Generating done (0.2s) -- Build files have been written to: D:/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/build ./configure.ucrt: line 36: _deps/highfive-src/include/highfive/bits/H5Friends.hpp: No such file or directory gmake.exe[1]: Entering directory 'D:/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/build' D:/rtools45/x86_64-w64-mingw32.static.posix/bin/cmake.exe -SD:/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/planc -BD:/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/build --check-build-system CMakeFiles/Makefile.cmake 0 D:/rtools45/x86_64-w64-mingw32.static.posix/bin/cmake.exe -E cmake_progress_start D:/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/build/CMakeFiles D:/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/build//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[2]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/build' make -f CMakeFiles/utils.dir/build.make CMakeFiles/utils.dir/depend make[3]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/build' D:/rtools45/x86_64-w64-mingw32.static.posix/bin/cmake.exe -E cmake_depends "Unix Makefiles" D:/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/planc D:/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/planc D:/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/build D:/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/build D:/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/build/CMakeFiles/utils.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/build' make -f CMakeFiles/utils.dir/build.make CMakeFiles/utils.dir/build make[3]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/build' [ 5%] Building CXX object CMakeFiles/utils.dir/common/utils.cpp.obj D:/rtools45/x86_64-w64-mingw32.static.posix/bin/g++.exe -std=gnu++20 -DUSING_R @CMakeFiles/utils.dir/includes_CXX.rsp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -O2 -g -DNDEBUG -std=gnu++17 -fno-keep-inline-dllexport -fopenmp -MD -MT CMakeFiles/utils.dir/common/utils.cpp.obj -MF CMakeFiles/utils.dir/common/utils.cpp.obj.d -o CMakeFiles/utils.dir/common/utils.cpp.obj -c D:/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/planc/common/utils.cpp In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:49, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:35, from D:/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/planc/common/config.h:32, from D:/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/planc/common/utils.h:2, from D:/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/planc/common/utils.hpp:6, from D:/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/planc/common/utils.cpp:4: D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Function.h: In constructor 'Rcpp::Function_Impl::Function_Impl(const std::string&, const std::string&)': D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Function.h:75:65: error: 'R_NamespaceRegistry' was not declared in this scope 75 | Shield env(R_getVarEx(Rf_install(ns.c_str()), R_NamespaceRegistry, FALSE, R_UnboundValue)); | ^~~~~~~~~~~~~~~~~~~ D:/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/planc/common/utils.hpp: In instantiation of 'void makeSparse(double, T*) [with T = arma::Mat]': D:/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/planc/common/utils.cpp:69:30: required from here 69 | makeSparse(sparsity, &W); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ D:/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/planc/common/utils.hpp:81:23: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const long long unsigned int'} [-Wsign-compare] 81 | for (int j = 0; j < X->n_cols; j++) { | ~~^~~~~~~~~~~ make[3]: *** [CMakeFiles/utils.dir/build.make:83: CMakeFiles/utils.dir/common/utils.cpp.obj] Error 1 make[3]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/build' make[2]: *** [CMakeFiles/Makefile2:121: CMakeFiles/utils.dir/all] Error 2 make[2]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/build' gmake.exe[1]: *** [Makefile:139: all] Error 2 gmake.exe[1]: Leaving directory 'D:/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/build' -- Install configuration: "RelWithDebInfo" CMake Error at cmake_install.cmake:66 (file): file INSTALL cannot find "D:/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src/build/nmf/libnmflib.dll": No error. ** libs specified C++17 using C++ compiler: 'g++.exe (GCC) 14.3.0' using C++17 make[1]: Entering directory '/d/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -Iplanc/common -Iplanc/nmf -Iplanc/nnls -Ibuild/_deps/highfive-src/include -Ibuild/nmf -DUSING_R -DHIGHFIVE_HAS_CONCEPTS=0 -DMPI_NO_CPPBIND -DRcppPlanc_EXPORTS -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppProgress/include' -I'D:/RCompile/CRANpkg/lib/4.6/HighFive/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:49, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:35, from ../inst/include/RcppPlanc.h:5, from RcppExports.cpp:4: D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Function.h: In constructor 'Rcpp::Function_Impl::Function_Impl(const std::string&, const std::string&)': D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Function.h:75:65: error: 'R_NamespaceRegistry' was not declared in this scope 75 | Shield env(R_getVarEx(Rf_install(ns.c_str()), R_NamespaceRegistry, FALSE, R_UnboundValue)); | ^~~~~~~~~~~~~~~~~~~ make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: RcppExports.o] Error 1 make[1]: Leaving directory '/d/temp/2026_04_17_01_50_00_1722/RtmpS0jz8t/R.INSTALL77402d595d2f/RcppPlanc/src' ERROR: compilation failed for package 'RcppPlanc' * removing 'd:/Rcompile/CRANpkg/lib/4.6/RcppPlanc' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/RcppPlanc'