* using log directory 'd:/Rcompile/CRANpkg/local/4.3/rmi.Rcheck' * using R version 4.3.3 (2024-02-29 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'rmi/DESCRIPTION' ... OK * this is package 'rmi' version '0.1.1' * 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 'rmi' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.3/rmi.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'rmi' ... ** package 'rmi' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 12.3.0' using C++11 make[1]: Entering directory '/d/temp/2024_12_20_01_50_00_19051/RtmpQZHMWu/R.INSTALL1a518e6471d6/rmi/src' g++ -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.3/BH/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -I. -I.. -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.3/BH/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -I. -I.. -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c get_nearest_neighbors.cpp -o get_nearest_neighbors.o g++ -std=gnu++11 -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.3/BH/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -I. -I.. -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c knn_mi.cpp -o knn_mi.o In file included from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/special_functions/digamma.hpp:16, from knn_mi.cpp:3: D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/config.hpp:28:6: warning: #warning "Boost.Math requires C++14" [-Wcpp] 28 | # warning "Boost.Math requires C++14" | ^~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/special_functions/digamma.hpp:17: D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:208:12: error: 'is_final' has not been declared in 'std' 208 | using std::is_final; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:259:12: error: 'remove_cv_t' has not been declared in 'std' 259 | using std::remove_cv_t; | ^~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:261:12: error: 'remove_const_t' has not been declared in 'std' 261 | using std::remove_const_t; | ^~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:263:12: error: 'remove_volatile_t' has not been declared in 'std' 263 | using std::remove_volatile_t; | ^~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:265:12: error: 'add_cv_t' has not been declared in 'std' 265 | using std::add_cv_t; | ^~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:267:12: error: 'add_const_t' has not been declared in 'std' 267 | using std::add_const_t; | ^~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:269:12: error: 'add_volatile_t' has not been declared in 'std' 269 | using std::add_volatile_t; | ^~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:273:12: error: 'remove_reference_t' has not been declared in 'std' 273 | using std::remove_reference_t; | ^~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:275:12: error: 'add_lvalue_reference_t' has not been declared in 'std' 275 | using std::add_lvalue_reference_t; | ^~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:277:12: error: 'add_rvalue_reference_t' has not been declared in 'std' 277 | using std::add_rvalue_reference_t; | ^~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:281:12: error: 'remove_pointer_t' has not been declared in 'std' 281 | using std::remove_pointer_t; | ^~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:283:12: error: 'add_pointer_t' has not been declared in 'std' 283 | using std::add_pointer_t; | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:287:12: error: 'make_signed_t' has not been declared in 'std' 287 | using std::make_signed_t; | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:289:12: error: 'make_unsigned_t' has not been declared in 'std' 289 | using std::make_unsigned_t; | ^~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:293:12: error: 'remove_extent_t' has not been declared in 'std' 293 | using std::remove_extent_t; | ^~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:295:12: error: 'remove_all_extents_t' has not been declared in 'std' 295 | using std::remove_all_extents_t; | ^~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:299:12: error: 'decay_t' has not been declared in 'std' 299 | using std::decay_t; | ^~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:301:12: error: 'enable_if_t' has not been declared in 'std' 301 | using std::enable_if_t; | ^~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:303:12: error: 'conditional_t' has not been declared in 'std' 303 | using std::conditional_t; | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:305:12: error: 'common_type_t' has not been declared in 'std' 305 | using std::common_type_t; | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:307:12: error: 'underlying_type_t' has not been declared in 'std' 307 | using std::underlying_type_t; | ^~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:315:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 315 | BOOST_MATH_INLINE_CONSTEXPR bool is_void_v = boost::math::is_void::value; | ^~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:318:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 318 | BOOST_MATH_INLINE_CONSTEXPR bool is_null_pointer_v = boost::math::is_null_pointer::value; | ^~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:321:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 321 | BOOST_MATH_INLINE_CONSTEXPR bool is_integral_v = boost::math::is_integral::value; | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:324:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 324 | BOOST_MATH_INLINE_CONSTEXPR bool is_floating_point_v = boost::math::is_floating_point::value; | ^~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:327:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 327 | BOOST_MATH_INLINE_CONSTEXPR bool is_array_v = boost::math::is_array::value; | ^~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:330:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 330 | BOOST_MATH_INLINE_CONSTEXPR bool is_enum_v = boost::math::is_enum::value; | ^~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:333:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 333 | BOOST_MATH_INLINE_CONSTEXPR bool is_union_v = boost::math::is_union::value; | ^~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:336:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 336 | BOOST_MATH_INLINE_CONSTEXPR bool is_class_v = boost::math::is_class::value; | ^~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:339:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 339 | BOOST_MATH_INLINE_CONSTEXPR bool is_function_v = boost::math::is_function::value; | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:342:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 342 | BOOST_MATH_INLINE_CONSTEXPR bool is_pointer_v = boost::math::is_pointer::value; | ^~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:345:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 345 | BOOST_MATH_INLINE_CONSTEXPR bool is_lvalue_reference_v = boost::math::is_lvalue_reference::value; | ^~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:348:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 348 | BOOST_MATH_INLINE_CONSTEXPR bool is_rvalue_reference_v = boost::math::is_rvalue_reference::value; | ^~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:351:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 351 | BOOST_MATH_INLINE_CONSTEXPR bool is_member_object_pointer_v = boost::math::is_member_object_pointer::value; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:354:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 354 | BOOST_MATH_INLINE_CONSTEXPR bool is_member_function_pointer_v = boost::math::is_member_function_pointer::value; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:357:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 357 | BOOST_MATH_INLINE_CONSTEXPR bool is_fundamental_v = boost::math::is_fundamental::value; | ^~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:360:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 360 | BOOST_MATH_INLINE_CONSTEXPR bool is_arithmetic_v = boost::math::is_arithmetic::value; | ^~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:363:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 363 | BOOST_MATH_INLINE_CONSTEXPR bool is_scalar_v = boost::math::is_scalar::value; | ^~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:366:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 366 | BOOST_MATH_INLINE_CONSTEXPR bool is_object_v = boost::math::is_object::value; | ^~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:369:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 369 | BOOST_MATH_INLINE_CONSTEXPR bool is_compound_v = boost::math::is_compound::value; | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:372:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 372 | BOOST_MATH_INLINE_CONSTEXPR bool is_reference_v = boost::math::is_reference::value; | ^~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:375:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 375 | BOOST_MATH_INLINE_CONSTEXPR bool is_member_pointer_v = boost::math::is_member_pointer::value; | ^~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:378:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 378 | BOOST_MATH_INLINE_CONSTEXPR bool is_const_v = boost::math::is_const::value; | ^~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:381:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 381 | BOOST_MATH_INLINE_CONSTEXPR bool is_volatile_v = boost::math::is_volatile::value; | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:384:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 384 | BOOST_MATH_INLINE_CONSTEXPR bool is_trivial_v = boost::math::is_trivial::value; | ^~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:387:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 387 | BOOST_MATH_INLINE_CONSTEXPR bool is_trivially_copyable_v = boost::math::is_trivially_copyable::value; | ^~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:390:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 390 | BOOST_MATH_INLINE_CONSTEXPR bool is_standard_layout_v = boost::math::is_standard_layout::value; | ^~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:393:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 393 | BOOST_MATH_INLINE_CONSTEXPR bool is_empty_v = boost::math::is_empty::value; | ^~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:396:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 396 | BOOST_MATH_INLINE_CONSTEXPR bool is_polymorphic_v = boost::math::is_polymorphic::value; | ^~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:399:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 399 | BOOST_MATH_INLINE_CONSTEXPR bool is_abstract_v = boost::math::is_abstract::value; | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:402:60: error: 'is_final' is not a member of 'boost::math'; did you mean 'is_final_v'? 402 | BOOST_MATH_INLINE_CONSTEXPR bool is_final_v = boost::math::is_final::value; | ^~~~~~~~ | is_final_v D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:402:70: error: expected primary-expression before '>' token 402 | BOOST_MATH_INLINE_CONSTEXPR bool is_final_v = boost::math::is_final::value; | ^ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:402:73: error: '::value' has not been declared; did you mean 'arma::fill::value'? 402 | BOOST_MATH_INLINE_CONSTEXPR bool is_final_v = boost::math::is_final::value; | ^~~~~ | arma::fill::value In file included from D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include/armadillo:142, from D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:58, from D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include/RcppArmadillo.h:29, from knn_mi.cpp:1: D:/RCompile/CRANpkg/lib/4.3/RcppArmadillo/include/armadillo_bits/fill.hpp:109:3: note: 'arma::fill::value' declared here 109 | value(const scalar_type& in_scalar) | ^~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:402:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 402 | BOOST_MATH_INLINE_CONSTEXPR bool is_final_v = boost::math::is_final::value; | ^~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:405:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 405 | BOOST_MATH_INLINE_CONSTEXPR bool is_signed_v = boost::math::is_signed::value; | ^~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:408:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 408 | BOOST_MATH_INLINE_CONSTEXPR bool is_unsigned_v = boost::math::is_unsigned::value; | ^~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:411:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 411 | BOOST_MATH_INLINE_CONSTEXPR bool is_constructible_v = boost::math::is_constructible::value; | ^~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:414:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 414 | BOOST_MATH_INLINE_CONSTEXPR bool is_trivially_constructible_v = boost::math::is_trivially_constructible::value; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:417:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 417 | BOOST_MATH_INLINE_CONSTEXPR bool is_nothrow_constructible_v = boost::math::is_nothrow_constructible::value; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:420:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 420 | BOOST_MATH_INLINE_CONSTEXPR bool is_default_constructible_v = boost::math::is_default_constructible::value; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:423:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 423 | BOOST_MATH_INLINE_CONSTEXPR bool is_trivially_default_constructible_v = boost::math::is_trivially_default_constructible::value; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:426:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 426 | BOOST_MATH_INLINE_CONSTEXPR bool is_nothrow_default_constructible_v = boost::math::is_nothrow_default_constructible::value; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:429:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 429 | BOOST_MATH_INLINE_CONSTEXPR bool is_copy_constructible_v = boost::math::is_copy_constructible::value; | ^~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:432:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 432 | BOOST_MATH_INLINE_CONSTEXPR bool is_trivially_copy_constructible_v = boost::math::is_trivially_copy_constructible::value; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:435:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 435 | BOOST_MATH_INLINE_CONSTEXPR bool is_nothrow_copy_constructible_v = boost::math::is_nothrow_copy_constructible::value; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:438:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 438 | BOOST_MATH_INLINE_CONSTEXPR bool is_move_constructible_v = boost::math::is_move_constructible::value; | ^~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:441:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 441 | BOOST_MATH_INLINE_CONSTEXPR bool is_trivially_move_constructible_v = boost::math::is_trivially_move_constructible::value; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:444:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 444 | BOOST_MATH_INLINE_CONSTEXPR bool is_nothrow_move_constructible_v = boost::math::is_nothrow_move_constructible::value; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:447:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 447 | BOOST_MATH_INLINE_CONSTEXPR bool is_assignable_v = boost::math::is_assignable::value; | ^~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:450:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 450 | BOOST_MATH_INLINE_CONSTEXPR bool is_trivially_assignable_v = boost::math::is_trivially_assignable::value; | ^~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:453:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 453 | BOOST_MATH_INLINE_CONSTEXPR bool is_nothrow_assignable_v = boost::math::is_nothrow_assignable::value; | ^~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:456:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 456 | BOOST_MATH_INLINE_CONSTEXPR bool is_copy_assignable_v = boost::math::is_copy_assignable::value; | ^~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:459:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 459 | BOOST_MATH_INLINE_CONSTEXPR bool is_trivially_copy_assignable_v = boost::math::is_trivially_copy_assignable::value; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:462:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 462 | BOOST_MATH_INLINE_CONSTEXPR bool is_nothrow_copy_assignable_v = boost::math::is_nothrow_copy_assignable::value; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:465:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 465 | BOOST_MATH_INLINE_CONSTEXPR bool is_move_assignable_v = boost::math::is_move_assignable::value; | ^~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:468:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 468 | BOOST_MATH_INLINE_CONSTEXPR bool is_trivially_move_assignable_v = boost::math::is_trivially_move_assignable::value; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:471:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 471 | BOOST_MATH_INLINE_CONSTEXPR bool is_nothrow_move_assignable_v = boost::math::is_nothrow_move_assignable::value; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:474:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 474 | BOOST_MATH_INLINE_CONSTEXPR bool is_destructible_v = boost::math::is_destructible::value; | ^~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:477:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 477 | BOOST_MATH_INLINE_CONSTEXPR bool is_trivially_destructible_v = boost::math::is_trivially_destructible::value; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:480:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 480 | BOOST_MATH_INLINE_CONSTEXPR bool is_nothrow_destructible_v = boost::math::is_nothrow_destructible::value; | ^~~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:483:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 483 | BOOST_MATH_INLINE_CONSTEXPR bool has_virtual_destructor_v = boost::math::has_virtual_destructor::value; | ^~~~~~~~~~~~~~~~~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:486:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 486 | BOOST_MATH_INLINE_CONSTEXPR bool is_same_v = boost::math::is_same::value; | ^~~~~~~~~ D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/type_traits.hpp:489:34: warning: variable templates only available with '-std=c++14' or '-std=gnu++14' [-Wc++14-extensions] 489 | BOOST_MATH_INLINE_CONSTEXPR bool is_base_of_v = boost::math::is_base_of::value; | ^~~~~~~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/special_functions/digamma.hpp:19: D:/RCompile/CRANpkg/lib/4.3/BH/include/boost/math/tools/promotion.hpp:90:36: error: 'common_type_t' in namespace 'boost::math' does not name a template type; did you mean 'common_type'? 90 | using type = boost::math::common_type_t; | ^~~~~~~~~~~~~ | common_type knn_mi.cpp: In function 'double knn_mi(arma::mat, Rcpp::NumericVector, const Rcpp::List&)': knn_mi.cpp:70:23: warning: comparison of integer expressions of different signedness: 'int' and 'arma::uword' {aka 'unsigned int'} [-Wsign-compare] 70 | for (int i = 0; i < alpha.size(); i++) { | ~~^~~~~~~~~~~~~~ make[1]: *** [D:/RCompile/recent/R-4.3.3/etc/x64/Makeconf:272: knn_mi.o] Error 1 make[1]: Leaving directory '/d/temp/2024_12_20_01_50_00_19051/RtmpQZHMWu/R.INSTALL1a518e6471d6/rmi/src' ERROR: compilation failed for package 'rmi' * removing 'd:/Rcompile/CRANpkg/lib/4.3/rmi' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.3/rmi'