* installing *source* package ‘QuickJSR’ ...
** this is package ‘QuickJSR’ version ‘1.9.2’
** package ‘QuickJSR’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
Warning in system2("xcrun", "--show-sdk-version", TRUE, TRUE) :
  running command ''xcrun' --show-sdk-version 2>&1' had status 1
using SDK: ‘NA’
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"include" -I"quickjs" -D_GNU_SOURCE  -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -funsigned-char -std=gnu11 -c libquickjs.c
In file included from libquickjs.c:5:
./quickjs/quickjs.c:5949:17: warning: variable 's' set but not used [-Wunused-but-set-variable]
    JSMapState *s;
                ^
./quickjs/quickjs.c:8014:10: warning: variable 'atom1_is_integer' set but not used [-Wunused-but-set-variable]
    bool atom1_is_integer, atom2_is_integer;
         ^
./quickjs/quickjs.c:8014:28: warning: variable 'atom2_is_integer' set but not used [-Wunused-but-set-variable]
    bool atom1_is_integer, atom2_is_integer;
                           ^
3 warnings generated.
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"include" -I"quickjs" -D_GNU_SOURCE  -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c quickjsr.cpp -o quickjsr.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"include" -I"quickjs" -D_GNU_SOURCE  -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c init.cpp -o init.o
In file included from quickjsr.cpp:1:
In file included from include/cpp11.hpp:5:
include/cpp11/R.hpp:130:10: error: use of undeclared identifier 'R_getRegisteredNamespace'
  return R_getRegisteredNamespace(name);
         ^
1 error generated.
make: *** [quickjsr.o] Error 1
ERROR: compilation failed for package ‘QuickJSR’
* removing ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.6/QuickJSR.Rcheck/QuickJSR’