* installing *source* package ‘RcppSpdlog’ ... ** this is package ‘RcppSpdlog’ version ‘0.0.23’ ** package ‘RcppSpdlog’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘Apple clang version 17.0.0 (clang-1700.6.3.2)’ using SDK: ‘MacOSX26.2.sdk’ clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from ./../inst/include/RcppSpdlog.h:7: In file included from ./../inst/include/RcppSpdlog_RcppExports.h:7: In file included from ./../inst/include/RcppSpdlog_types.h:4: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Lightest:26: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Lighter:25: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Light:25: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Rcpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ 1 warning generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c exampleRsink.cpp -o exampleRsink.o In file included from exampleRsink.cpp:4: In file included from ../inst/include/RcppSpdlog:21: In file included from ../inst/include/RcppSpdlog_types.h:4: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Lightest:26: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Lighter:25: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Light:25: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Rcpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ 1 warning generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c formatter.cpp -o formatter.o In file included from formatter.cpp:4: In file included from ../inst/include/RcppSpdlog:21: In file included from ../inst/include/RcppSpdlog_types.h:4: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Lightest:26: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Lighter:25: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Light:25: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Rcpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ formatter.cpp:64:36: error: call to consteval function 'fmt::fstring<>::fstring' is not a constant expression 64 | case 0: return fmt::format(s); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1902:12: note: function parameter 's' with unknown value cannot be used in a constant expression 1902 | return __rep_.__s.__is_long_; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:2043:12: note: in call to 'this->__is_long()' 2043 | return __is_long() ? __get_long_pointer() : __get_short_pointer(); | ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1731:30: note: in call to 'this->__get_pointer()' 1731 | return std::__to_address(__get_pointer()); | ^~~~~~~~~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:554:15: note: in call to 's.data()' 554 | : data_(s.data()), size_(s.size()) {} | ^~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:2753:57: note: in call to 'basic_string_view(s)' 2753 | FMT_CONSTEVAL FMT_ALWAYS_INLINE fstring(const S& s) : str(s) { | ^~~~~~ formatter.cpp:64:36: note: in call to 'fstring(s)' 64 | case 0: return fmt::format(s); | ^ formatter.cpp:39:41: note: declared here 39 | std::string formatter(const std::string s, std::vector v) { | ^ formatter.cpp:65:36: error: call to consteval function 'fmt::fstring::fstring' is not a constant expression 65 | case 1: return fmt::format(s, std::string(v[0])); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1902:12: note: function parameter 's' with unknown value cannot be used in a constant expression 1902 | return __rep_.__s.__is_long_; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:2043:12: note: in call to 'this->__is_long()' 2043 | return __is_long() ? __get_long_pointer() : __get_short_pointer(); | ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1731:30: note: in call to 'this->__get_pointer()' 1731 | return std::__to_address(__get_pointer()); | ^~~~~~~~~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:554:15: note: in call to 's.data()' 554 | : data_(s.data()), size_(s.size()) {} | ^~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:2753:57: note: in call to 'basic_string_view(s)' 2753 | FMT_CONSTEVAL FMT_ALWAYS_INLINE fstring(const S& s) : str(s) { | ^~~~~~ formatter.cpp:65:36: note: in call to 'fstring(s)' 65 | case 1: return fmt::format(s, std::string(v[0])); | ^ formatter.cpp:39:41: note: declared here 39 | std::string formatter(const std::string s, std::vector v) { | ^ formatter.cpp:66:36: error: call to consteval function 'fmt::fstring::fstring' is not a constant expression 66 | case 2: return fmt::format(s, std::string(v[0]), std::string(v[1])); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1902:12: note: function parameter 's' with unknown value cannot be used in a constant expression 1902 | return __rep_.__s.__is_long_; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:2043:12: note: in call to 'this->__is_long()' 2043 | return __is_long() ? __get_long_pointer() : __get_short_pointer(); | ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1731:30: note: in call to 'this->__get_pointer()' 1731 | return std::__to_address(__get_pointer()); | ^~~~~~~~~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:554:15: note: in call to 's.data()' 554 | : data_(s.data()), size_(s.size()) {} | ^~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:2753:57: note: in call to 'basic_string_view(s)' 2753 | FMT_CONSTEVAL FMT_ALWAYS_INLINE fstring(const S& s) : str(s) { | ^~~~~~ formatter.cpp:66:36: note: in call to 'fstring(s)' 66 | case 2: return fmt::format(s, std::string(v[0]), std::string(v[1])); | ^ formatter.cpp:39:41: note: declared here 39 | std::string formatter(const std::string s, std::vector v) { | ^ formatter.cpp:67:36: error: call to consteval function 'fmt::fstring::fstring' is not a constant expression 67 | case 3: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2])); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1902:12: note: function parameter 's' with unknown value cannot be used in a constant expression 1902 | return __rep_.__s.__is_long_; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:2043:12: note: in call to 'this->__is_long()' 2043 | return __is_long() ? __get_long_pointer() : __get_short_pointer(); | ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1731:30: note: in call to 'this->__get_pointer()' 1731 | return std::__to_address(__get_pointer()); | ^~~~~~~~~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:554:15: note: in call to 's.data()' 554 | : data_(s.data()), size_(s.size()) {} | ^~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:2753:57: note: in call to 'basic_string_view(s)' 2753 | FMT_CONSTEVAL FMT_ALWAYS_INLINE fstring(const S& s) : str(s) { | ^~~~~~ formatter.cpp:67:36: note: in call to 'fstring(s)' 67 | case 3: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2])); | ^ formatter.cpp:39:41: note: declared here 39 | std::string formatter(const std::string s, std::vector v) { | ^ formatter.cpp:68:36: error: call to consteval function 'fmt::fstring::fstring' is not a constant expression 68 | case 4: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3])); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1902:12: note: function parameter 's' with unknown value cannot be used in a constant expression 1902 | return __rep_.__s.__is_long_; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:2043:12: note: in call to 'this->__is_long()' 2043 | return __is_long() ? __get_long_pointer() : __get_short_pointer(); | ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1731:30: note: in call to 'this->__get_pointer()' 1731 | return std::__to_address(__get_pointer()); | ^~~~~~~~~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:554:15: note: in call to 's.data()' 554 | : data_(s.data()), size_(s.size()) {} | ^~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:2753:57: note: in call to 'basic_string_view(s)' 2753 | FMT_CONSTEVAL FMT_ALWAYS_INLINE fstring(const S& s) : str(s) { | ^~~~~~ formatter.cpp:68:36: note: in call to 'fstring(s)' 68 | case 4: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3])); | ^ formatter.cpp:39:41: note: declared here 39 | std::string formatter(const std::string s, std::vector v) { | ^ formatter.cpp:69:36: error: call to consteval function 'fmt::fstring::fstring' is not a constant expression 69 | case 5: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3]), std::string(v[4])); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1902:12: note: function parameter 's' with unknown value cannot be used in a constant expression 1902 | return __rep_.__s.__is_long_; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:2043:12: note: in call to 'this->__is_long()' 2043 | return __is_long() ? __get_long_pointer() : __get_short_pointer(); | ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1731:30: note: in call to 'this->__get_pointer()' 1731 | return std::__to_address(__get_pointer()); | ^~~~~~~~~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:554:15: note: in call to 's.data()' 554 | : data_(s.data()), size_(s.size()) {} | ^~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:2753:57: note: in call to 'basic_string_view(s)' 2753 | FMT_CONSTEVAL FMT_ALWAYS_INLINE fstring(const S& s) : str(s) { | ^~~~~~ formatter.cpp:69:36: note: in call to 'fstring(s)' 69 | case 5: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3]), std::string(v[4])); | ^ formatter.cpp:39:41: note: declared here 39 | std::string formatter(const std::string s, std::vector v) { | ^ formatter.cpp:70:36: error: call to consteval function 'fmt::fstring::fstring' is not a constant expression 70 | case 6: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3]), std::string(v[4]), std::string(v[5])); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1902:12: note: function parameter 's' with unknown value cannot be used in a constant expression 1902 | return __rep_.__s.__is_long_; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:2043:12: note: in call to 'this->__is_long()' 2043 | return __is_long() ? __get_long_pointer() : __get_short_pointer(); | ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1731:30: note: in call to 'this->__get_pointer()' 1731 | return std::__to_address(__get_pointer()); | ^~~~~~~~~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:554:15: note: in call to 's.data()' 554 | : data_(s.data()), size_(s.size()) {} | ^~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:2753:57: note: in call to 'basic_string_view(s)' 2753 | FMT_CONSTEVAL FMT_ALWAYS_INLINE fstring(const S& s) : str(s) { | ^~~~~~ formatter.cpp:70:36: note: in call to 'fstring(s)' 70 | case 6: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3]), std::string(v[4]), std::string(v[5])); | ^ formatter.cpp:39:41: note: declared here 39 | std::string formatter(const std::string s, std::vector v) { | ^ formatter.cpp:71:36: error: call to consteval function 'fmt::fstring::fstring' is not a constant expression 71 | case 7: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3]), std::string(v[4]), std::string(v[5]), std::string(v[6])); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1902:12: note: function parameter 's' with unknown value cannot be used in a constant expression 1902 | return __rep_.__s.__is_long_; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:2043:12: note: in call to 'this->__is_long()' 2043 | return __is_long() ? __get_long_pointer() : __get_short_pointer(); | ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1731:30: note: in call to 'this->__get_pointer()' 1731 | return std::__to_address(__get_pointer()); | ^~~~~~~~~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:554:15: note: in call to 's.data()' 554 | : data_(s.data()), size_(s.size()) {} | ^~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:2753:57: note: in call to 'basic_string_view(s)' 2753 | FMT_CONSTEVAL FMT_ALWAYS_INLINE fstring(const S& s) : str(s) { | ^~~~~~ formatter.cpp:71:36: note: in call to 'fstring(s)' 71 | case 7: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3]), std::string(v[4]), std::string(v[5]), std::string(v[6])); | ^ formatter.cpp:39:41: note: declared here 39 | std::string formatter(const std::string s, std::vector v) { | ^ formatter.cpp:72:36: error: call to consteval function 'fmt::fstring::fstring' is not a constant expression 72 | case 8: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3]), std::string(v[4]), std::string(v[5]), std::string(v[6]), std::string(v[7])); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1902:12: note: function parameter 's' with unknown value cannot be used in a constant expression 1902 | return __rep_.__s.__is_long_; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:2043:12: note: in call to 'this->__is_long()' 2043 | return __is_long() ? __get_long_pointer() : __get_short_pointer(); | ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1731:30: note: in call to 'this->__get_pointer()' 1731 | return std::__to_address(__get_pointer()); | ^~~~~~~~~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:554:15: note: in call to 's.data()' 554 | : data_(s.data()), size_(s.size()) {} | ^~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:2753:57: note: in call to 'basic_string_view(s)' 2753 | FMT_CONSTEVAL FMT_ALWAYS_INLINE fstring(const S& s) : str(s) { | ^~~~~~ formatter.cpp:72:36: note: in call to 'fstring(s)' 72 | case 8: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3]), std::string(v[4]), std::string(v[5]), std::string(v[6]), std::string(v[7])); | ^ formatter.cpp:39:41: note: declared here 39 | std::string formatter(const std::string s, std::vector v) { | ^ formatter.cpp:73:36: error: call to consteval function 'fmt::fstring::fstring' is not a constant expression 73 | case 9: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3]), std::string(v[4]), std::string(v[5]), std::string(v[6]), std::string(v[7]), std::string(v[8])); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1902:12: note: function parameter 's' with unknown value cannot be used in a constant expression 1902 | return __rep_.__s.__is_long_; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:2043:12: note: in call to 'this->__is_long()' 2043 | return __is_long() ? __get_long_pointer() : __get_short_pointer(); | ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1731:30: note: in call to 'this->__get_pointer()' 1731 | return std::__to_address(__get_pointer()); | ^~~~~~~~~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:554:15: note: in call to 's.data()' 554 | : data_(s.data()), size_(s.size()) {} | ^~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:2753:57: note: in call to 'basic_string_view(s)' 2753 | FMT_CONSTEVAL FMT_ALWAYS_INLINE fstring(const S& s) : str(s) { | ^~~~~~ formatter.cpp:73:36: note: in call to 'fstring(s)' 73 | case 9: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3]), std::string(v[4]), std::string(v[5]), std::string(v[6]), std::string(v[7]), std::string(v[8])); | ^ formatter.cpp:39:41: note: declared here 39 | std::string formatter(const std::string s, std::vector v) { | ^ formatter.cpp:74:37: error: call to consteval function 'fmt::fstring::fstring' is not a constant expression 74 | case 10: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3]), std::string(v[4]), std::string(v[5]), std::string(v[6]), std::string(v[7]), std::string(v[8]), std::string(v[9])); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1902:12: note: function parameter 's' with unknown value cannot be used in a constant expression 1902 | return __rep_.__s.__is_long_; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:2043:12: note: in call to 'this->__is_long()' 2043 | return __is_long() ? __get_long_pointer() : __get_short_pointer(); | ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1731:30: note: in call to 'this->__get_pointer()' 1731 | return std::__to_address(__get_pointer()); | ^~~~~~~~~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:554:15: note: in call to 's.data()' 554 | : data_(s.data()), size_(s.size()) {} | ^~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:2753:57: note: in call to 'basic_string_view(s)' 2753 | FMT_CONSTEVAL FMT_ALWAYS_INLINE fstring(const S& s) : str(s) { | ^~~~~~ formatter.cpp:74:37: note: in call to 'fstring(s)' 74 | case 10: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3]), std::string(v[4]), std::string(v[5]), std::string(v[6]), std::string(v[7]), std::string(v[8]), std::string(v[9])); | ^ formatter.cpp:39:41: note: declared here 39 | std::string formatter(const std::string s, std::vector v) { | ^ formatter.cpp:75:37: error: call to consteval function 'fmt::fstring::fstring' is not a constant expression 75 | case 11: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3]), std::string(v[4]), std::string(v[5]), std::string(v[6]), std::string(v[7]), std::string(v[8]), std::string(v[9]), std::string(v[10])); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1902:12: note: function parameter 's' with unknown value cannot be used in a constant expression 1902 | return __rep_.__s.__is_long_; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:2043:12: note: in call to 'this->__is_long()' 2043 | return __is_long() ? __get_long_pointer() : __get_short_pointer(); | ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1731:30: note: in call to 'this->__get_pointer()' 1731 | return std::__to_address(__get_pointer()); | ^~~~~~~~~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:554:15: note: in call to 's.data()' 554 | : data_(s.data()), size_(s.size()) {} | ^~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:2753:57: note: in call to 'basic_string_view(s)' 2753 | FMT_CONSTEVAL FMT_ALWAYS_INLINE fstring(const S& s) : str(s) { | ^~~~~~ formatter.cpp:75:37: note: in call to 'fstring(s)' 75 | case 11: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3]), std::string(v[4]), std::string(v[5]), std::string(v[6]), std::string(v[7]), std::string(v[8]), std::string(v[9]), std::string(v[10])); | ^ formatter.cpp:39:41: note: declared here 39 | std::string formatter(const std::string s, std::vector v) { | ^ formatter.cpp:76:37: error: call to consteval function 'fmt::fstring::fstring' is not a constant expression 76 | case 12: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3]), std::string(v[4]), std::string(v[5]), std::string(v[6]), std::string(v[7]), std::string(v[8]), std::string(v[9]), std::string(v[10]), std::string(v[11])); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1902:12: note: function parameter 's' with unknown value cannot be used in a constant expression 1902 | return __rep_.__s.__is_long_; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:2043:12: note: in call to 'this->__is_long()' 2043 | return __is_long() ? __get_long_pointer() : __get_short_pointer(); | ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1731:30: note: in call to 'this->__get_pointer()' 1731 | return std::__to_address(__get_pointer()); | ^~~~~~~~~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:554:15: note: in call to 's.data()' 554 | : data_(s.data()), size_(s.size()) {} | ^~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:2753:57: note: in call to 'basic_string_view(s)' 2753 | FMT_CONSTEVAL FMT_ALWAYS_INLINE fstring(const S& s) : str(s) { | ^~~~~~ formatter.cpp:76:37: note: in call to 'fstring(s)' 76 | case 12: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3]), std::string(v[4]), std::string(v[5]), std::string(v[6]), std::string(v[7]), std::string(v[8]), std::string(v[9]), std::string(v[10]), std::string(v[11])); | ^ formatter.cpp:39:41: note: declared here 39 | std::string formatter(const std::string s, std::vector v) { | ^ formatter.cpp:77:37: error: call to consteval function 'fmt::fstring::fstring' is not a constant expression 77 | case 13: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3]), std::string(v[4]), std::string(v[5]), std::string(v[6]), std::string(v[7]), std::string(v[8]), std::string(v[9]), std::string(v[10]), std::string(v[11]), std::string(v[12])); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1902:12: note: function parameter 's' with unknown value cannot be used in a constant expression 1902 | return __rep_.__s.__is_long_; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:2043:12: note: in call to 'this->__is_long()' 2043 | return __is_long() ? __get_long_pointer() : __get_short_pointer(); | ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1731:30: note: in call to 'this->__get_pointer()' 1731 | return std::__to_address(__get_pointer()); | ^~~~~~~~~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:554:15: note: in call to 's.data()' 554 | : data_(s.data()), size_(s.size()) {} | ^~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:2753:57: note: in call to 'basic_string_view(s)' 2753 | FMT_CONSTEVAL FMT_ALWAYS_INLINE fstring(const S& s) : str(s) { | ^~~~~~ formatter.cpp:77:37: note: in call to 'fstring(s)' 77 | case 13: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3]), std::string(v[4]), std::string(v[5]), std::string(v[6]), std::string(v[7]), std::string(v[8]), std::string(v[9]), std::string(v[10]), std::string(v[11]), std::string(v[12])); | ^ formatter.cpp:39:41: note: declared here 39 | std::string formatter(const std::string s, std::vector v) { | ^ formatter.cpp:78:37: error: call to consteval function 'fmt::fstring::fstring' is not a constant expression 78 | case 14: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3]), std::string(v[4]), std::string(v[5]), std::string(v[6]), std::string(v[7]), std::string(v[8]), std::string(v[9]), std::string(v[10]), std::string(v[11]), std::string(v[12]), std::string(v[13])); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1902:12: note: function parameter 's' with unknown value cannot be used in a constant expression 1902 | return __rep_.__s.__is_long_; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:2043:12: note: in call to 'this->__is_long()' 2043 | return __is_long() ? __get_long_pointer() : __get_short_pointer(); | ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1731:30: note: in call to 'this->__get_pointer()' 1731 | return std::__to_address(__get_pointer()); | ^~~~~~~~~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:554:15: note: in call to 's.data()' 554 | : data_(s.data()), size_(s.size()) {} | ^~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:2753:57: note: in call to 'basic_string_view(s)' 2753 | FMT_CONSTEVAL FMT_ALWAYS_INLINE fstring(const S& s) : str(s) { | ^~~~~~ formatter.cpp:78:37: note: in call to 'fstring(s)' 78 | case 14: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3]), std::string(v[4]), std::string(v[5]), std::string(v[6]), std::string(v[7]), std::string(v[8]), std::string(v[9]), std::string(v[10]), std::string(v[11]), std::string(v[12]), std::string(v[13])); | ^ formatter.cpp:39:41: note: declared here 39 | std::string formatter(const std::string s, std::vector v) { | ^ formatter.cpp:79:37: error: call to consteval function 'fmt::fstring::fstring' is not a constant expression 79 | case 15: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3]), std::string(v[4]), std::string(v[5]), std::string(v[6]), std::string(v[7]), std::string(v[8]), std::string(v[9]), std::string(v[10]), std::string(v[11]), std::string(v[12]), std::string(v[13]), std::string(v[14])); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1902:12: note: function parameter 's' with unknown value cannot be used in a constant expression 1902 | return __rep_.__s.__is_long_; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:2043:12: note: in call to 'this->__is_long()' 2043 | return __is_long() ? __get_long_pointer() : __get_short_pointer(); | ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1731:30: note: in call to 'this->__get_pointer()' 1731 | return std::__to_address(__get_pointer()); | ^~~~~~~~~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:554:15: note: in call to 's.data()' 554 | : data_(s.data()), size_(s.size()) {} | ^~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:2753:57: note: in call to 'basic_string_view(s)' 2753 | FMT_CONSTEVAL FMT_ALWAYS_INLINE fstring(const S& s) : str(s) { | ^~~~~~ formatter.cpp:79:37: note: in call to 'fstring(s)' 79 | case 15: return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3]), std::string(v[4]), std::string(v[5]), std::string(v[6]), std::string(v[7]), std::string(v[8]), std::string(v[9]), std::string(v[10]), std::string(v[11]), std::string(v[12]), std::string(v[13]), std::string(v[14])); | ^ formatter.cpp:39:41: note: declared here 39 | std::string formatter(const std::string s, std::vector v) { | ^ formatter.cpp:82:32: error: call to consteval function 'fmt::fstring::fstring' is not a constant expression 82 | return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3]), std::string(v[4]), std::string(v[5]), std::string(v[6]), std::string(v[7]), std::string(v[8]), std::string(v[9]), std::string(v[10]), std::string(v[11])); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1902:12: note: function parameter 's' with unknown value cannot be used in a constant expression 1902 | return __rep_.__s.__is_long_; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:2043:12: note: in call to 'this->__is_long()' 2043 | return __is_long() ? __get_long_pointer() : __get_short_pointer(); | ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:1731:30: note: in call to 'this->__get_pointer()' 1731 | return std::__to_address(__get_pointer()); | ^~~~~~~~~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:554:15: note: in call to 's.data()' 554 | : data_(s.data()), size_(s.size()) {} | ^~~~~~~~ ../inst/include/spdlog/fmt/bundled/base.h:2753:57: note: in call to 'basic_string_view(s)' 2753 | FMT_CONSTEVAL FMT_ALWAYS_INLINE fstring(const S& s) : str(s) { | ^~~~~~ formatter.cpp:82:32: note: in call to 'fstring(s)' 82 | return fmt::format(s, std::string(v[0]), std::string(v[1]), std::string(v[2]), std::string(v[3]), std::string(v[4]), std::string(v[5]), std::string(v[6]), std::string(v[7]), std::string(v[8]), std::string(v[9]), std::string(v[10]), std::string(v[11])); | ^ formatter.cpp:39:41: note: declared here 39 | std::string formatter(const std::string s, std::vector v) { | ^ 1 warning and 17 errors generated. make[1]: *** [formatter.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -I'/Users/ripley/R/Library/Rcpp/include' -isystem /opt/R/arm64/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c interface.cpp -o interface.o In file included from interface.cpp:7: In file included from ../inst/include/RcppSpdlog:21: In file included from ../inst/include/RcppSpdlog_types.h:4: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Lightest:26: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Lighter:25: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Light:25: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Rcpp:21: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ 1 warning generated. make[1]: Target `all' not remade because of errors. ERROR: compilation failed for package ‘RcppSpdlog’ * removing ‘/Users/ripley/R/packages/tests-devel/RcppSpdlog.Rcheck/RcppSpdlog’