* installing *source* package ‘stringfish’ ...
** this is package ‘stringfish’ version ‘0.19.0’
** package ‘stringfish’ successfully unpacked and MD5 sums checked
** using staged installation
checking for pkg-config... /opt/R/arm64/bin/pkg-config
stringfish configure script
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
C++ compiler: clang++ -arch arm64 -std=gnu++20
R 4.6.0 detected -- using R default C++ standard
PCRE2 10.44 library detected -- skipping PCRE2 compilation
-L/opt/R/arm64/lib -lpcre2-8
-I/opt/R/arm64/include
configure: creating ./config.status
config.status: creating src/Makevars
** libs
specified C++17
using C++ compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’
using C++17
using SDK: ‘MacOSX14.5.sdk’
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DRCPP_USE_UNWIND_PROTECT -DRCPP_NO_RTTI -DPCRE2_CODE_UNIT_WIDTH=8 -DHAVE_CONFIG_H -I. -I/opt/R/arm64/include -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/RcppParallel/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DRCPP_USE_UNWIND_PROTECT -DRCPP_NO_RTTI -DPCRE2_CODE_UNIT_WIDTH=8 -DHAVE_CONFIG_H -I. -I/opt/R/arm64/include -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/RcppParallel/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c sf_functions.cpp -o sf_functions.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DRCPP_USE_UNWIND_PROTECT -DRCPP_NO_RTTI -DPCRE2_CODE_UNIT_WIDTH=8 -DHAVE_CONFIG_H -I. -I/opt/R/arm64/include -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/RcppParallel/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c PCRE2_wrapper/pcre2_wrapper.cpp -o PCRE2_wrapper/pcre2_wrapper.o
In file included from RcppExports.cpp:4:
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_NamespaceRegistry, FALSE, R_UnboundValue));
| ^
In file included from sf_functions.cpp:3:
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_NamespaceRegistry, FALSE, R_UnboundValue));
| ^
1 error generated.
make: *** [RcppExports.o] Error 1
make: *** Waiting for unfinished jobs....
1 error generated.
make: *** [sf_functions.o] Error 1
ERROR: compilation failed for package ‘stringfish’
* removing ‘/Volumes/Builds/packages/sonoma-arm64/results/4.6/stringfish.Rcheck/stringfish’