* installing *source* package ‘RcppArmadillo’ ...
** this is package ‘RcppArmadillo’ version ‘15.2.6-1’
** package ‘RcppArmadillo’ successfully unpacked and MD5 sums checked
** using staged installation
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C++... yes
checking whether clang++ -arch arm64 -std=gnu++20 accepts -g... yes
checking for clang++ -arch arm64 -std=gnu++20 option to enable C++11 features... -std=gnu++11
checking how to run the C++ preprocessor... clang++ -arch arm64 -std=gnu++20 -std=gnu++11 -E
checking whether the compiler supports GNU C++... (cached) yes
checking whether clang++ -arch arm64 -std=gnu++20 -std=gnu++11 accepts -g... (cached) yes
checking for clang++ -arch arm64 -std=gnu++20 -std=gnu++11 option to enable C++11 features... (cached) -std=gnu++11
checking what system we are on... running Darwin on arm64
checking whether we have a suitable tempdir... /Volumes/Temp/tmp
checking whether on Linux... no
checking whether on macOS... yes
checking whether R CMD SHLIB can compile OpenMP programs using '-Xclang -fopenmp'... yes
checking for OpenMP... found and suitable
configure: creating ./config.status
config.status: creating inst/include/RcppArmadillo/config/RcppArmadilloConfigGenerated.h
config.status: creating src/Makevars
** libs
using C++ compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’
using SDK: ‘MacOSX14.5.sdk’
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -DARMA_USE_CURRENT -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include' -I/opt/R/arm64/include -Xclang -fopenmp -fPIC -falign-functions=64 -Wall -g -O2 -c RcppArmadillo.cpp -o RcppArmadillo.o
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -DARMA_USE_CURRENT -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include' -I/opt/R/arm64/include -Xclang -fopenmp -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -DARMA_USE_CURRENT -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include' -I/opt/R/arm64/include -Xclang -fopenmp -fPIC -falign-functions=64 -Wall -g -O2 -c fastLm.cpp -o fastLm.o
In file included from RcppArmadillo.cpp:21:
In file included from ../inst/include/RcppArmadillo/Lighter:40:
In file included from /Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include/Rcpp/Lighter:25:
In file included from /Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include/Rcpp/Light:25:
In file included from /Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include/Rcpp/Rcpp:21:
In file included from /Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include/Rcpp.h:49:
/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include/Rcpp/Function.h:75:65: error: use of undeclared identifier 'R_NamespaceRegistry'
75 | Shield<SEXP> env(R_getVarEx(Rf_install(ns.c_str()), R_NamespaceRegistryIn file included from RcppExports.cpp:4:
In file included from , FAL./../inst/include/RcppArmadillo.h:32:
SE, R_UIn file included from /Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include/Rcpp.h:49:
/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include/Rcpp/Function.h:75:65: nboundVaerror: use of undeclared identifier 'R_NamespaceRegistry'
In file included from l 75 | Shield<SEXP> env(R_getVarEfastLm.cpp:22:
In file included from x(Rf_inst../inst/include/RcppArmadillo/Lighterue));
| ^
:40:
In file included from /Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include/Rcpp/Lighter:25:
In file included from /Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include/Rcpp/Light:25:
In file included from /Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include/Rcpp/Rcpp:21:
In file included from /Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include/Rcpp.hall:49(n:
/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include/Rcpp/Function.h:75:65: error: use of undeclared identifier 'R_NamespaceRegistry'
s 75 | Shi.c_str()), R_Nameld<SEXPespaceRegist> env(R_getVry, FALSE, R_arEx(Rf_install(nUnboundValue));
| ^
s.c_str()), R_NamespaceRegistry, FALSE, R_UnboundValue));
| ^
1 error generated.
make: *** [RcppArmadillo.o] Error 1
make: *** Waiting for unfinished jobs....
1 error generated.
make: *** [RcppExports.o] Error 1
1 error generated.
make: *** [fastLm.o] Error 1
ERROR: compilation failed for package ‘RcppArmadillo’
* removing ‘/Volumes/Builds/packages/sonoma-arm64/results/4.6/RcppArmadillo.Rcheck/RcppArmadillo’