* installing *source* package ‘runner’ ...
** this is package ‘runner’ version ‘0.4.6’
** package ‘runner’ 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'/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'/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 fill_run.cpp -o fill_run.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -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 lag_run.cpp -o lag_run.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -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 length_run.cpp -o length_run.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -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 minmax_run.cpp -o minmax_run.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -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 runner.cpp -o runner.o
In file included from runner.cpp:3:
./vector_funs.h:154:18: error: use of overloaded operator '==' is ambiguous (with operand types 'Rcpp::Vector<16>::const_Proxy' (aka 'const_string_proxy<16, Rcpp::PreserveStorage>') and 'Rcpp::Vector<16>::const_Proxy')
if (x(j) == x(uu))
~~~~ ^ ~~~~~
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:107:8: note: candidate function
bool operator==( const const_string_proxy& other){
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:100:8: note: candidate function
bool operator==( const char* other){
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:107:8: note: candidate function (with reversed parameter order)
bool operator==( const const_string_proxy& other){
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:100:8: note: candidate function (with reversed parameter order)
bool operator==( const char* other){
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:114:14: note: candidate function
bool operator==( SEXP other ) const {
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:114:14: note: candidate function (with reversed parameter order)
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/String.h:725:17: note: candidate function
inline bool operator==(const String::const_StringProxy& lhs, const String& rhs) {
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/String.h:725:17: note: candidate function (with reversed parameter order)
./vector_funs.h:154:18: note: built-in candidate operator==(struct SEXPREC *, struct SEXPREC *)
if (x(j) == x(uu))
^
./vector_funs.h:154:18: note: built-in candidate operator==(const struct SEXPREC *, const struct SEXPREC *)
./vector_funs.h:154:18: note: built-in candidate operator==(char *, char *)
./vector_funs.h:154:18: note: built-in candidate operator==(const char *, const char *)
./vector_funs.h:172:18: error: use of overloaded operator '==' is ambiguous (with operand types 'Rcpp::Vector<16>::const_Proxy' (aka 'const_string_proxy<16, Rcpp::PreserveStorage>') and 'Rcpp::Vector<16>::const_Proxy')
if (x(j) == x(uu))
~~~~ ^ ~~~~~
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:107:8: note: candidate function
bool operator==( const const_string_proxy& other){
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:100:8: note: candidate function
bool operator==( const char* other){
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:107:8: note: candidate function (with reversed parameter order)
bool operator==( const const_string_proxy& other){
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:100:8: note: candidate function (with reversed parameter order)
bool operator==( const char* other){
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:114:14: note: candidate function
bool operator==( SEXP other ) const {
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:114:14: note: candidate function (with reversed parameter order)
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/String.h:725:17: note: candidate function
inline bool operator==(const String::const_StringProxy& lhs, const String& rhs) {
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/String.h:725:17: note: candidate function (with reversed parameter order)
./vector_funs.h:172:18: note: built-in candidate operator==(struct SEXPREC *, struct SEXPREC *)
if (x(j) == x(uu))
^
./vector_funs.h:172:18: note: built-in candidate operator==(const struct SEXPREC *, const struct SEXPREC *)
./vector_funs.h:172:18: note: built-in candidate operator==(char *, char *)
./vector_funs.h:172:18: note: built-in candidate operator==(const char *, const char *)
./vector_funs.h:411:21: error: use of overloaded operator '==' is ambiguous (with operand types 'Rcpp::Vector<16>::const_Proxy' (aka 'const_string_proxy<16, Rcpp::PreserveStorage>') and 'Rcpp::Vector<16>::const_Proxy')
else if (x(i) == x(l))
~~~~ ^ ~~~~
runner.cpp:1010:20: note: in instantiation of function template specialization 'aggr::cumstreak<16>' requested here
return aggr::cumstreak(as<StringVector>(x), lag(0), na_rm);
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:107:8: note: candidate function
bool operator==( const const_string_proxy& other){
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:100:8: note: candidate function
bool operator==( const char* other){
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:107:8: note: candidate function (with reversed parameter order)
bool operator==( const const_string_proxy& other){
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:100:8: note: candidate function (with reversed parameter order)
bool operator==( const char* other){
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:114:14: note: candidate function
bool operator==( SEXP other ) const {
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:114:14: note: candidate function (with reversed parameter order)
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/String.h:725:17: note: candidate function
inline bool operator==(const String::const_StringProxy& lhs, const String& rhs) {
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/String.h:725:17: note: candidate function (with reversed parameter order)
./vector_funs.h:411:21: note: built-in candidate operator==(struct SEXPREC *, struct SEXPREC *)
else if (x(i) == x(l))
^
./vector_funs.h:411:21: note: built-in candidate operator==(const struct SEXPREC *, const struct SEXPREC *)
./vector_funs.h:411:21: note: built-in candidate operator==(char *, char *)
./vector_funs.h:411:21: note: built-in candidate operator==(const char *, const char *)
In file included from fill_run.cpp:3:
./fill_run.h:88:24: error: use of overloaded operator '==' is ambiguous (with operand types 'Rcpp::Vector<16>::const_Proxy' (aka 'const_string_proxy<16, Rcpp::PreserveStorage>') and 'Rcpp::Vector<16>::const_Proxy')
if (x(i - 1) == x(next_non_na))
~~~~~~~~ ^ ~~~~~~~~~~~~~~
fill_run.cpp:33:18: note: in instantiation of function template specialization 'fill::fill_run<16>' requested here
return fill::fill_run(as<CharacterVector>(x), run_for_first, only_within);
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:107:8: note: candidate function
bool operator==( const const_string_proxy& other){
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:100:8: note: candidate function
bool operator==( const char* other){
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:107:8: note: candidate function (with reversed parameter order)
bool operator==( const const_string_proxy& other){
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:100:8: note: candidate function (with reversed parameter order)
bool operator==( const char* other){
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:114:14: note: candidate function
bool operator==( SEXP other ) const {
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:114:14: note: candidate function (with reversed parameter order)
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/String.h:725:17: note: candidate function
inline bool operator==(const String::const_StringProxy& lhs, const String& rhs) {
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/String.h:725:17: note: candidate function (with reversed parameter order)
./fill_run.h:88:24: note: built-in candidate operator==(struct SEXPREC *, struct SEXPREC *)
if (x(i - 1) == x(next_non_na))
^
./fill_run.h:88:24: note: built-in candidate operator==(const struct SEXPREC *, const struct SEXPREC *)
./fill_run.h:88:24: note: built-in candidate operator==(char *, char *)
./fill_run.h:88:24: note: built-in candidate operator==(const char *, const char *)
1 error generated.
make: *** [fill_run.o] Error 1
make: *** Waiting for unfinished jobs....
3 errors generated.
make: *** [runner.o] Error 1
ERROR: compilation failed for package ‘runner’
* removing ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.6/runner.Rcheck/runner’