* installing *source* package 'multiScaleR' ... ** this is package 'multiScaleR' version '0.6.13' ** using staged installation ** libs specified C++17 using C compiler: 'gcc.exe (GCC) 14.3.0' using C++ compiler: 'g++.exe (GCC) 14.3.0' using C++17 g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -include multiScaleR_Rcpp_compat.h -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/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:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/locale_facets_nonio.h:2067, from D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/locale:43, from D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/iomanip:48, from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/RcppCommon.h:54, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:32, from RcppExports.cpp:4: D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/codecvt.h:218:52: error: macro "length" passed 4 arguments, but takes just 1 218 | const extern_type* __end, size_t __max) const | ^ In file included from ./multiScaleR_Rcpp_compat.h:13, from : D:/RCompile/recent/R/include/Rinternals.h:987:9: note: macro "length" defined here 987 | #define length(x) Rf_length(x) | ^~~~~~ In file included from D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/fstream:1360, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/current/armadillo:40, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57: D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/fstream.tcc:940:60: error: macro "length" passed 4 arguments, but takes just 1 940 | this->gptr() - this->eback()); | ^ D:/RCompile/recent/R/include/Rinternals.h:987:9: note: macro "length" defined here 987 | #define length(x) Rf_length(x) | ^~~~~~ D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/fstream.tcc:1056:74: error: macro "length" passed 4 arguments, but takes just 1 1056 | this->gptr() - this->eback()); | ^ D:/RCompile/recent/R/include/Rinternals.h:987:9: note: macro "length" defined here 987 | #define length(x) Rf_length(x) | ^~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/RcppCommon.h:29: D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/r/check_r_headers.h:35:21: note: '#pragma message: Rinternals.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410' 35 | #pragma message "Rinternals.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/codecvt.h:217:7: error: expected ';' at end of member declaration 217 | length(state_type& __state, const extern_type* __from, | ^~~~~~ | ; D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/codecvt.h:219:7: error: expected unqualified-id before '{' token 219 | { return this->do_length(__state, __from, __end, __max); } | ^ In file included from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:74, from D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include/RcppArmadillo.h:35: D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Nullable.h: In instantiation of 'bool Rcpp::Nullable::Rf_isNull() const [with T = Rcpp::Vector<14, Rcpp::PreserveStorage>]': D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Nullable.h:117:22: required from 'bool Rcpp::Nullable::isNotNull() const [with T = Rcpp::Vector<14, Rcpp::PreserveStorage>]' 956 | #define isNull Rf_isNull | ^~~~~~~~~ D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/sugar/functions/sample.h:403:24: required from here 403 | if (probs.isNotNull()) { | ~~~~~~~~~~~~~~~^~ D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Nullable.h:108:29: error: no matching function for call to 'Rcpp::Nullable >::Rf_isNull(SEXPREC* const&) const' 108 | return Rf_isNull(m_sexp); | ~~~~~~~~~^~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:956:33: note: candidate: 'bool Rcpp::Nullable::Rf_isNull() const [with T = Rcpp::Vector<14, Rcpp::PreserveStorage>]' 956 | #define isNull Rf_isNull | ^~~~~~~~~ D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Nullable.h:106:21: note: in expansion of macro 'isNull' 106 | inline bool isNull() const { | ^~~~~~ D:/RCompile/recent/R/include/Rinternals.h:956:33: note: candidate expects 0 arguments, 1 provided 956 | #define isNull Rf_isNull | ^~~~~~~~~ D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/Nullable.h:106:21: note: in expansion of macro 'isNull' 106 | inline bool isNull() const { | ^~~~~~ make: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: RcppExports.o] Error 1 ERROR: compilation failed for package 'multiScaleR' * removing 'd:/RCompile/CRANincoming/R-devel/lib/multiScaleR'