* using log directory 'd:/Rcompile/CRANpkg/local/4.6/flan.Rcheck' * using R version 4.6.0 RC (2026-04-22 r89945 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-23 08:22:40 UTC * checking for file 'flan/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'flan' version '1.0' * 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 'flan' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/flan.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'flan' ... ** this is package 'flan' version '1.0' ** package 'flan' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 14.3.0' using C++ compiler: 'g++.exe (GCC) 14.3.0' make[1]: Entering directory '/d/temp/2026_04_23_01_50_00_23431/RtmpsNG2fD/R.INSTALL4f044998214e/flan/src' g++ -std=gnu++20 -I"D:/RCompile/recent/R/include" -DNDEBUG -Wall -pedantic -I/include -I. -I../inst/include -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/RcppGSL/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -std=c++0x -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c FLAN_Clone.cpp -o FLAN_Clone.o In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/armadillo:27, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:51, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:29, from MATH_Function.h:5, from FLAN_Clone.h:25, from FLAN_Clone.cpp:24: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/armadillo_bits/compiler_check.hpp:82:4: error: #error "*** C++14 compiler required; enable C++14 mode in your compiler, or use an earlier version of Armadillo" 82 | #error "*** C++14 compiler required; enable C++14 mode in your compiler, or use an earlier version of Armadillo" | ^~~~~ In file included from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/armadillo:501: D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/armadillo_bits/fn_accu.hpp:27:1: error: 'accu' function uses 'auto' type specifier without trailing return type 27 | auto | ^~~~ D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/armadillo_bits/fn_accu.hpp:27:1: note: deduced return type only available with '-std=c++14' or '-std=gnu++14' D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/armadillo_bits/fn_accu.hpp:42:1: error: 'accu' function uses 'auto' type specifier without trailing return type 42 | auto | ^~~~ D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/armadillo_bits/fn_accu.hpp:42:1: note: deduced return type only available with '-std=c++14' or '-std=gnu++14' D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/armadillo_bits/fn_accu.hpp:57:1: error: 'accu' function uses 'auto' type specifier without trailing return type 57 | auto | ^~~~ D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/armadillo_bits/fn_accu.hpp:57:1: note: deduced return type only available with '-std=c++14' or '-std=gnu++14' make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: FLAN_Clone.o] Error 1 make[1]: Leaving directory '/d/temp/2026_04_23_01_50_00_23431/RtmpsNG2fD/R.INSTALL4f044998214e/flan/src' ERROR: compilation failed for package 'flan' * removing 'd:/Rcompile/CRANpkg/lib/4.6/flan' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/flan'