* installing *source* package ‘polylabelr’ ... ** this is package ‘polylabelr’ version ‘0.3.0’ ** package ‘polylabelr’ 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 /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 poi.cpp -o poi.o In file included from poi.cpp:1: 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()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from poi.cpp:2: In file included from ../inst/include/mapbox/geometry.hpp:9: In file included from ../inst/include/mapbox/geometry/geometry.hpp:11: ../inst/include/mapbox/variant.hpp:164:27: error: no template named 'result_of' in namespace 'std'; did you mean 'Rcpp::traits::result_of'? 164 | using type = typename std::result_of::type; | ^~~~~~~~~~~~~~ | Rcpp::traits::result_of /Users/ripley/R/Library/Rcpp/include/Rcpp/traits/result_of.h:31:8: note: 'Rcpp::traits::result_of' declared here 31 | struct result_of{ | ^ In file included from poi.cpp:2: In file included from ../inst/include/mapbox/geometry.hpp:9: In file included from ../inst/include/mapbox/geometry/geometry.hpp:11: ../inst/include/mapbox/variant.hpp:176:27: error: no template named 'result_of' in namespace 'std'; did you mean 'Rcpp::traits::result_of'? 176 | using type = typename std::result_of::type; | ^~~~~~~~~~~~~~ | Rcpp::traits::result_of /Users/ripley/R/Library/Rcpp/include/Rcpp/traits/result_of.h:31:8: note: 'Rcpp::traits::result_of' declared here 31 | struct result_of{ | ^ In file included from poi.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:41: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ poi.cpp:21:31: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 21 | ring.emplace_back(points(j, 0), points(j, 1)); | ^ In file included from poi.cpp:1: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:41: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 3 warnings and 2 errors generated. make[1]: *** [poi.o] Error 1 make[1]: Target `all' not remade because of errors. ERROR: compilation failed for package ‘polylabelr’ * removing ‘/Users/ripley/R/packages/tests-devel/polylabelr.Rcheck/polylabelr’