* installing *source* package ‘geojsonsf’ ...
** this is package ‘geojsonsf’ version ‘2.0.3’
** package ‘geojsonsf’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++ (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
using C++11
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/geojsonsf/src'
g++ -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-dev/geometries/include' -I'/data/gannet/ripley/R/test-dev/jsonify/include' -I'/data/gannet/ripley/R/test-dev/rapidjsonr/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/sfheaders/include' -I/usr/local/include -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-dev/geometries/include' -I'/data/gannet/ripley/R/test-dev/jsonify/include' -I'/data/gannet/ripley/R/test-dev/rapidjsonr/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/sfheaders/include' -I/usr/local/include -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c df_geojson.cpp -o df_geojson.o
g++ -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-dev/geometries/include' -I'/data/gannet/ripley/R/test-dev/jsonify/include' -I'/data/gannet/ripley/R/test-dev/rapidjsonr/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/sfheaders/include' -I/usr/local/include -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c geojson_to_sf.cpp -o geojson_to_sf.o
In file included from ../inst/include/geojsonsf/sf/sf/construct.hpp:5,
from ../inst/include/geojsonsf/geojson/geojson_to_sf.hpp:12,
from geojson_to_sf.cpp:2:
../inst/include/geojsonsf/geojson/geojson_properties.hpp: In function ‘void geojsonsf::geojson_properties::sort_property_names(Rcpp::List&, std::unordered_set<std::__cxx11::basic_string<char> >&)’:
../inst/include/geojsonsf/geojson/geojson_properties.hpp:80:31: warning: comparison of integer expressions of different signedness: ‘R_xlen_t’ {aka ‘long int’} and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
80 | for( i = 0; i < n.size(); ++i ) {
| ~~^~~~~~~~~~
../inst/include/geojsonsf/geojson/geojson_properties.hpp: In function ‘void geojsonsf::geojson_properties::fill_property_vectors(rapidjson::Document&, std::unordered_map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >&, Rcpp::List&, R_xlen_t&)’:
../inst/include/geojsonsf/geojson/geojson_properties.hpp:271:68: error: conversion from ‘rapidjson::GenericValue<rapidjson::UTF8<> >::Object’ {aka ‘rapidjson::GenericObject<false, rapidjson::GenericValue<rapidjson::UTF8<> > >’} to ‘rapidjson::Value’ {aka ‘rapidjson::GenericValue<rapidjson::UTF8<> >’} is ambiguous
271 | Value v = p.value.GetObject();
| ~~~~~~~~~~~~~~~~~^~
../inst/include/geojsonsf/geojson/geojson_properties.hpp:271:68: note: there are 20 candidates
In file included from ../inst/include/geojsonsf/geojson/geojson_to_sf.hpp:7:
/data/gannet/ripley/R/test-dev/rapidjsonr/include/rapidjson/document.h:2973:5: note: candidate 1: ‘rapidjson::GenericObject<<anonymous>, <template-parameter-1-2> >::operator ValueType&() const [with bool Const = false; ValueT = rapidjson::GenericValue<rapidjson::UTF8<> >; ValueType = rapidjson::GenericValue<rapidjson::UTF8<> >]’
2973 | operator ValueType&() const { return value_; }
| ^~~~~~~~
/data/gannet/ripley/R/test-dev/rapidjsonr/include/rapidjson/document.h:872:5: note: candidate 2: ‘rapidjson::GenericValue<Encoding, Allocator>::GenericValue(Object) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; Object = rapidjson::GenericObject<false, rapidjson::GenericValue<rapidjson::UTF8<> > >]’
872 | GenericValue(Object o) RAPIDJSON_NOEXCEPT : data_(o.value_.data_) {
| ^~~~~~~~~~~~
../inst/include/geojsonsf/geojson/geojson_properties.hpp:276:67: error: conversion from ‘rapidjson::GenericValue<rapidjson::UTF8<> >::Array’ {aka ‘rapidjson::GenericArray<false, rapidjson::GenericValue<rapidjson::UTF8<> > >’} to ‘rapidjson::Value’ {aka ‘rapidjson::GenericValue<rapidjson::UTF8<> >’} is ambiguous
276 | Value v = p.value.GetArray();
| ~~~~~~~~~~~~~~~~^~
../inst/include/geojsonsf/geojson/geojson_properties.hpp:276:67: note: there are 20 candidates
/data/gannet/ripley/R/test-dev/rapidjsonr/include/rapidjson/document.h:2917:5: note: candidate 1: ‘rapidjson::GenericArray<<anonymous>, <template-parameter-1-2> >::operator ValueType&() const [with bool Const = false; ValueT = rapidjson::GenericValue<rapidjson::UTF8<> >; ValueType = rapidjson::GenericValue<rapidjson::UTF8<> >]’
2917 | operator ValueType&() const { return value_; }
| ^~~~~~~~
/data/gannet/ripley/R/test-dev/rapidjsonr/include/rapidjson/document.h:861:5: note: candidate 2: ‘rapidjson::GenericValue<Encoding, Allocator>::GenericValue(Array) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; Array = rapidjson::GenericArray<false, rapidjson::GenericValue<rapidjson::UTF8<> > >]’
861 | GenericValue(Array a) RAPIDJSON_NOEXCEPT : data_(a.value_.data_) {
| ^~~~~~~~~~~~
make[1]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:209: geojson_to_sf.o] Error 1
g++ -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-dev/geometries/include' -I'/data/gannet/ripley/R/test-dev/jsonify/include' -I'/data/gannet/ripley/R/test-dev/rapidjsonr/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/sfheaders/include' -I/usr/local/include -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c geojson_to_wkt.cpp -o geojson_to_wkt.o
In file included from ../inst/include/geojsonsf/sf/sf/construct.hpp:5,
from ../inst/include/geojsonsf/geojson/geojson_to_sf.hpp:12,
from geojson_to_wkt.cpp:7:
../inst/include/geojsonsf/geojson/geojson_properties.hpp: In function ‘void geojsonsf::geojson_properties::sort_property_names(Rcpp::List&, std::unordered_set<std::__cxx11::basic_string<char> >&)’:
../inst/include/geojsonsf/geojson/geojson_properties.hpp:80:31: warning: comparison of integer expressions of different signedness: ‘R_xlen_t’ {aka ‘long int’} and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
80 | for( i = 0; i < n.size(); ++i ) {
| ~~^~~~~~~~~~
../inst/include/geojsonsf/geojson/geojson_properties.hpp: In function ‘void geojsonsf::geojson_properties::fill_property_vectors(rapidjson::Document&, std::unordered_map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >&, Rcpp::List&, R_xlen_t&)’:
../inst/include/geojsonsf/geojson/geojson_properties.hpp:271:68: error: conversion from ‘rapidjson::GenericValue<rapidjson::UTF8<> >::Object’ {aka ‘rapidjson::GenericObject<false, rapidjson::GenericValue<rapidjson::UTF8<> > >’} to ‘rapidjson::Value’ {aka ‘rapidjson::GenericValue<rapidjson::UTF8<> >’} is ambiguous
271 | Value v = p.value.GetObject();
| ~~~~~~~~~~~~~~~~~^~
../inst/include/geojsonsf/geojson/geojson_properties.hpp:271:68: note: there are 20 candidates
In file included from geojson_to_wkt.cpp:2:
/data/gannet/ripley/R/test-dev/rapidjsonr/include/rapidjson/document.h:2973:5: note: candidate 1: ‘rapidjson::GenericObject<<anonymous>, <template-parameter-1-2> >::operator ValueType&() const [with bool Const = false; ValueT = rapidjson::GenericValue<rapidjson::UTF8<> >; ValueType = rapidjson::GenericValue<rapidjson::UTF8<> >]’
2973 | operator ValueType&() const { return value_; }
| ^~~~~~~~
/data/gannet/ripley/R/test-dev/rapidjsonr/include/rapidjson/document.h:872:5: note: candidate 2: ‘rapidjson::GenericValue<Encoding, Allocator>::GenericValue(Object) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; Object = rapidjson::GenericObject<false, rapidjson::GenericValue<rapidjson::UTF8<> > >]’
872 | GenericValue(Object o) RAPIDJSON_NOEXCEPT : data_(o.value_.data_) {
| ^~~~~~~~~~~~
../inst/include/geojsonsf/geojson/geojson_properties.hpp:276:67: error: conversion from ‘rapidjson::GenericValue<rapidjson::UTF8<> >::Array’ {aka ‘rapidjson::GenericArray<false, rapidjson::GenericValue<rapidjson::UTF8<> > >’} to ‘rapidjson::Value’ {aka ‘rapidjson::GenericValue<rapidjson::UTF8<> >’} is ambiguous
276 | Value v = p.value.GetArray();
| ~~~~~~~~~~~~~~~~^~
../inst/include/geojsonsf/geojson/geojson_properties.hpp:276:67: note: there are 20 candidates
/data/gannet/ripley/R/test-dev/rapidjsonr/include/rapidjson/document.h:2917:5: note: candidate 1: ‘rapidjson::GenericArray<<anonymous>, <template-parameter-1-2> >::operator ValueType&() const [with bool Const = false; ValueT = rapidjson::GenericValue<rapidjson::UTF8<> >; ValueType = rapidjson::GenericValue<rapidjson::UTF8<> >]’
2917 | operator ValueType&() const { return value_; }
| ^~~~~~~~
/data/gannet/ripley/R/test-dev/rapidjsonr/include/rapidjson/document.h:861:5: note: candidate 2: ‘rapidjson::GenericValue<Encoding, Allocator>::GenericValue(Array) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; Array = rapidjson::GenericArray<false, rapidjson::GenericValue<rapidjson::UTF8<> > >]’
861 | GenericValue(Array a) RAPIDJSON_NOEXCEPT : data_(a.value_.data_) {
| ^~~~~~~~~~~~
make[1]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:209: geojson_to_wkt.o] Error 1
g++ -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-dev/geometries/include' -I'/data/gannet/ripley/R/test-dev/jsonify/include' -I'/data/gannet/ripley/R/test-dev/rapidjsonr/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/sfheaders/include' -I/usr/local/include -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c geojson_wkt.cpp -o geojson_wkt.o
g++ -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-dev/geometries/include' -I'/data/gannet/ripley/R/test-dev/jsonify/include' -I'/data/gannet/ripley/R/test-dev/rapidjsonr/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/sfheaders/include' -I/usr/local/include -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c read_geojson.cpp -o read_geojson.o
In file included from ../inst/include/geojsonsf/sf/sf/construct.hpp:5,
from ../inst/include/geojsonsf/geojson/geojson_to_sf.hpp:12,
from read_geojson.cpp:7:
../inst/include/geojsonsf/geojson/geojson_properties.hpp: In function ‘void geojsonsf::geojson_properties::sort_property_names(Rcpp::List&, std::unordered_set<std::__cxx11::basic_string<char> >&)’:
../inst/include/geojsonsf/geojson/geojson_properties.hpp:80:31: warning: comparison of integer expressions of different signedness: ‘R_xlen_t’ {aka ‘long int’} and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
80 | for( i = 0; i < n.size(); ++i ) {
| ~~^~~~~~~~~~
../inst/include/geojsonsf/geojson/geojson_properties.hpp: In function ‘void geojsonsf::geojson_properties::fill_property_vectors(rapidjson::Document&, std::unordered_map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >&, Rcpp::List&, R_xlen_t&)’:
../inst/include/geojsonsf/geojson/geojson_properties.hpp:271:68: error: conversion from ‘rapidjson::GenericValue<rapidjson::UTF8<> >::Object’ {aka ‘rapidjson::GenericObject<false, rapidjson::GenericValue<rapidjson::UTF8<> > >’} to ‘rapidjson::Value’ {aka ‘rapidjson::GenericValue<rapidjson::UTF8<> >’} is ambiguous
271 | Value v = p.value.GetObject();
| ~~~~~~~~~~~~~~~~~^~
../inst/include/geojsonsf/geojson/geojson_properties.hpp:271:68: note: there are 20 candidates
In file included from read_geojson.cpp:2:
/data/gannet/ripley/R/test-dev/rapidjsonr/include/rapidjson/document.h:2973:5: note: candidate 1: ‘rapidjson::GenericObject<<anonymous>, <template-parameter-1-2> >::operator ValueType&() const [with bool Const = false; ValueT = rapidjson::GenericValue<rapidjson::UTF8<> >; ValueType = rapidjson::GenericValue<rapidjson::UTF8<> >]’
2973 | operator ValueType&() const { return value_; }
| ^~~~~~~~
/data/gannet/ripley/R/test-dev/rapidjsonr/include/rapidjson/document.h:872:5: note: candidate 2: ‘rapidjson::GenericValue<Encoding, Allocator>::GenericValue(Object) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; Object = rapidjson::GenericObject<false, rapidjson::GenericValue<rapidjson::UTF8<> > >]’
872 | GenericValue(Object o) RAPIDJSON_NOEXCEPT : data_(o.value_.data_) {
| ^~~~~~~~~~~~
../inst/include/geojsonsf/geojson/geojson_properties.hpp:276:67: error: conversion from ‘rapidjson::GenericValue<rapidjson::UTF8<> >::Array’ {aka ‘rapidjson::GenericArray<false, rapidjson::GenericValue<rapidjson::UTF8<> > >’} to ‘rapidjson::Value’ {aka ‘rapidjson::GenericValue<rapidjson::UTF8<> >’} is ambiguous
276 | Value v = p.value.GetArray();
| ~~~~~~~~~~~~~~~~^~
../inst/include/geojsonsf/geojson/geojson_properties.hpp:276:67: note: there are 20 candidates
/data/gannet/ripley/R/test-dev/rapidjsonr/include/rapidjson/document.h:2917:5: note: candidate 1: ‘rapidjson::GenericArray<<anonymous>, <template-parameter-1-2> >::operator ValueType&() const [with bool Const = false; ValueT = rapidjson::GenericValue<rapidjson::UTF8<> >; ValueType = rapidjson::GenericValue<rapidjson::UTF8<> >]’
2917 | operator ValueType&() const { return value_; }
| ^~~~~~~~
/data/gannet/ripley/R/test-dev/rapidjsonr/include/rapidjson/document.h:861:5: note: candidate 2: ‘rapidjson::GenericValue<Encoding, Allocator>::GenericValue(Array) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; Array = rapidjson::GenericArray<false, rapidjson::GenericValue<rapidjson::UTF8<> > >]’
861 | GenericValue(Array a) RAPIDJSON_NOEXCEPT : data_(a.value_.data_) {
| ^~~~~~~~~~~~
make[1]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:209: read_geojson.o] Error 1
g++ -std=gnu++11 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DSTRICT_R_HEADERS -I'/data/gannet/ripley/R/test-dev/geometries/include' -I'/data/gannet/ripley/R/test-dev/jsonify/include' -I'/data/gannet/ripley/R/test-dev/rapidjsonr/include' -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/sfheaders/include' -I/usr/local/include -I../inst/include/ -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c sf_geojson.cpp -o sf_geojson.o
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/geojsonsf/src'
ERROR: compilation failed for package ‘geojsonsf’
* removing ‘/data/gannet/ripley/R/packages/tests-devel/geojsonsf.Rcheck/geojsonsf’