* installing *source* package ‘scalednap’ ... ** this is package ‘scalednap’ version ‘1.0.0’ ** package ‘scalednap’ 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++20 using SDK: ‘MacOSX11.3.1.sdk’ clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c rwrapper.cpp -o rwrapper.o In file included from rwrapper.cpp:22: ./my_exception.h:3:10: fatal error: 'format' file not found #include ^~~~~~~~ 1 error generated. make: *** [rwrapper.o] Error 1 ERROR: compilation failed for package ‘scalednap’ * removing ‘/Volumes/Builds/packages/big-sur-arm64/results/4.5/scalednap.Rcheck/scalednap’