* installing *source* package ‘IFC’ ...
** this is package ‘IFC’ version ‘0.2.1’
** package ‘IFC’ 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 SDK: ‘MacOSX11.3.1.sdk’
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 ifc.cpp -o ifc.o
In file included from ifc.cpp:36:
./../inst/include/utils.hpp:171:17: 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] == y[j]) {
~~~~ ^ ~~~~
/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)
./../inst/include/utils.hpp:171:17: note: built-in candidate operator==(struct SEXPREC *, struct SEXPREC *)
if(x[i] == y[j]) {
^
./../inst/include/utils.hpp:171:17: note: built-in candidate operator==(const struct SEXPREC *, const struct SEXPREC *)
./../inst/include/utils.hpp:171:17: note: built-in candidate operator==(char *, char *)
./../inst/include/utils.hpp:171:17: note: built-in candidate operator==(const char *, const char *)
1 error generated.
make: *** [ifc.o] Error 1
make: *** Waiting for unfinished jobs....
ERROR: compilation failed for package ‘IFC’
* removing ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.6/IFC.Rcheck/IFC’