* installing *source* package ‘openxlsx2’ ...
** this is package ‘openxlsx2’ version ‘1.26’
** package ‘openxlsx2’ 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)’
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 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I../inst/include/pugixml -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I../inst/include/pugixml -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c date.cpp -o date.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I../inst/include/pugixml -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c helper_functions.cpp -o helper_functions.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I../inst/include/pugixml -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c load_workbook.cpp -o load_workbook.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I../inst/include/pugixml -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c pugi.cpp -o pugi.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I../inst/include/pugixml -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c strings_xml.cpp -o strings_xml.o
date.cpp:32:14: error: use of overloaded operator '==' is ambiguous (with operand types 'char *' and 'Rcpp::Vector<16>::Proxy' (aka 'string_proxy<16, Rcpp::PreserveStorage>'))
if (endp == x[i] || !R_finite(val)) {
~~~~ ^ ~~~~
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/string_proxy.h:190:8: note: candidate function (with reversed parameter order)
bool operator==( const char* other) const {
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/String.h:717:17: note: candidate function (with reversed parameter order)
inline bool operator==(const String::StringProxy& lhs, const String& rhs) {
^
date.cpp:32:14: note: built-in candidate operator==(char *, char *)
if (endp == x[i] || !R_finite(val)) {
^
date.cpp:32:14: note: built-in candidate operator==(const char *, const char *)
date.cpp:32:14: note: built-in candidate operator==(volatile char *, volatile char *)
date.cpp:32:14: note: built-in candidate operator==(const volatile char *, const volatile char *)
1 error generated.
make: *** [date.o] Error 1
make: *** Waiting for unfinished jobs....
ERROR: compilation failed for package ‘openxlsx2’
* removing ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.6/openxlsx2.Rcheck/openxlsx2’