* installing *source* package ‘qtl2convert’ ...
** this is package ‘qtl2convert’ version ‘0.30’
** package ‘qtl2convert’ 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 count_unique_geno.cpp -o count_unique_geno.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 encode_geno.cpp -o encode_geno.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 find_consensus_geno.cpp -o find_consensus_geno.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 find_unique_geno.cpp -o find_unique_geno.o
encode_geno.cpp:35:34: error: use of overloaded operator '==' is ambiguous (with operand types 'Rcpp::Matrix<16>::const_Proxy' (aka 'const_string_proxy<16, Rcpp::PreserveStorage>') and 'Rcpp::Matrix<16>::const_Proxy')
                    if(g(mar,ind)==old_values(mar,codei)) {
                       ~~~~~~~~~~^ ~~~~~~~~~~~~~~~~~~~~~
/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)
encode_geno.cpp:35:34: note: built-in candidate operator==(struct SEXPREC *, struct SEXPREC *)
                    if(g(mar,ind)==old_values(mar,codei)) {
                                 ^
encode_geno.cpp:35:34: note: built-in candidate operator==(const struct SEXPREC *, const struct SEXPREC *)
encode_geno.cpp:35:34: note: built-in candidate operator==(char *, char *)
encode_geno.cpp:35:34: note: built-in candidate operator==(const char *, const char *)
1 error generated.
make: *** [encode_geno.o] Error 1
make: *** Waiting for unfinished jobs....
ERROR: compilation failed for package ‘qtl2convert’
* removing ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.6/qtl2convert.Rcheck/qtl2convert’