* installing *source* package ‘dodgr’ ...
** this is package ‘dodgr’ version ‘0.4.3’
** package ‘dodgr’ 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'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppThread/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c heaps/bheap.cpp -o heaps/bheap.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppThread/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c heaps/fheap.cpp -o heaps/fheap.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppThread/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c heaps/heap23.cpp -o heaps/heap23.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppThread/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c heaps/triheap_ext.cpp -o heaps/triheap_ext.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppThread/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c heaps/triheap.cpp -o heaps/triheap.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppThread/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c centrality.cpp -o centrality.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppThread/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c concaveman.cpp -o concaveman.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppThread/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c deduplicate.cpp -o deduplicate.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppThread/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c dgraph.cpp -o dgraph.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppThread/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c pathfinders.cpp -o pathfinders.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppThread/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c dodgr-to-sf.cpp -o dodgr-to-sf.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/RcppThread/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c flows.cpp -o flows.o
dodgr-to-sf.cpp:47:27: 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 (new_edges [i] == new_edges [i - 1])
~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~
/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)
dodgr-to-sf.cpp:47:27: note: built-in candidate operator==(struct SEXPREC *, struct SEXPREC *)
if (new_edges [i] == new_edges [i - 1])
^
dodgr-to-sf.cpp:47:27: note: built-in candidate operator==(const struct SEXPREC *, const struct SEXPREC *)
dodgr-to-sf.cpp:47:27: note: built-in candidate operator==(char *, char *)
dodgr-to-sf.cpp:47:27: note: built-in candidate operator==(const char *, const char *)
dodgr-to-sf.cpp:89:27: 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 (new_edges [i] != new_edges [i - 1])
~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/const_string_proxy.h:110: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: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:103: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: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:118: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
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:729: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
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)
dodgr-to-sf.cpp:89:27: note: built-in candidate operator!=(struct SEXPREC *, struct SEXPREC *)
if (new_edges [i] != new_edges [i - 1])
^
dodgr-to-sf.cpp:89:27: note: built-in candidate operator!=(const struct SEXPREC *, const struct SEXPREC *)
dodgr-to-sf.cpp:89:27: note: built-in candidate operator!=(char *, char *)
dodgr-to-sf.cpp:89:27: note: built-in candidate operator!=(const char *, const char *)
In file included from concaveman.cpp:1:
./concaveman.h:694:38: warning: unused typedef 'circ_elem_type' [-Wunused-local-typedef]
typedef CircularElement<Node<T>> circ_elem_type;
^
2 errors generated.
make: *** [dodgr-to-sf.o] Error 1
make: *** Waiting for unfinished jobs....
1 warning generated.
ERROR: compilation failed for package ‘dodgr’
* removing ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.6/dodgr.Rcheck/dodgr’