* installing *source* package ‘spatialwidget’ ... ** using staged installation ** libs using C++ compiler: ‘Debian clang version 17.0.6 (5)’ clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/BH/include' -I'/srv/hornik/tmp/CRAN/Library/colourvalues/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/geojsonsf/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/geometries/include' -I'/srv/hornik/tmp/CRAN/Library/interleave/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/jsonify/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/rapidjsonr/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/sfheaders/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I../inst/include -fpic -g -O3 -Wall -pedantic -c RcppExports.cpp -o RcppExports.o clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/BH/include' -I'/srv/hornik/tmp/CRAN/Library/colourvalues/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/geojsonsf/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/geometries/include' -I'/srv/hornik/tmp/CRAN/Library/interleave/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/jsonify/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/rapidjsonr/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/sfheaders/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I../inst/include -fpic -g -O3 -Wall -pedantic -c colour.cpp -o colour.o clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/BH/include' -I'/srv/hornik/tmp/CRAN/Library/colourvalues/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/geojsonsf/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/geometries/include' -I'/srv/hornik/tmp/CRAN/Library/interleave/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/jsonify/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/rapidjsonr/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/sfheaders/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I../inst/include -fpic -g -O3 -Wall -pedantic -c data_construction.cpp -o data_construction.o clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -DSTRICT_R_HEADERS -DBOOST_NO_AUTO_PTR -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/BH/include' -I'/srv/hornik/tmp/CRAN/Library/colourvalues/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/geojsonsf/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/geometries/include' -I'/srv/hornik/tmp/CRAN/Library/interleave/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/jsonify/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/rapidjsonr/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/sfheaders/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I../inst/include -fpic -g -O3 -Wall -pedantic -c geojson.cpp -o geojson.o In file included from geojson.cpp:2: In file included from ../inst/include/spatialwidget/spatialwidget.hpp:10: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/jsonify/include/jsonify/jsonify.hpp:12: In file included from /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/jsonify/include/jsonify/from_json/api.hpp:5: /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/jsonify/include/jsonify/from_json/from_json.hpp:84:22: error: no matching conversion for functional-style cast from 'const GenericValue, MemoryPoolAllocator>' to 'std::string' (aka 'basic_string') 84 | names[ i++ ] = std::string( key ); | ^~~~~~~~~~~~~~~~ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/jsonify/include/jsonify/from_json/from_json.hpp:131:16: note: in instantiation of function template specialization 'jsonify::from_json::parse_object>>' requested here 131 | return parse_object( json, simplify, fill_na ); | ^ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/jsonify/include/jsonify/from_json/from_json.hpp:190:12: note: in instantiation of function template specialization 'jsonify::from_json::parse_json>>' requested here 190 | return parse_json( json, simplify, fill_na ); | ^ /home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/jsonify/include/jsonify/from_json/api.hpp:37:32: note: in instantiation of function template specialization 'jsonify::from_json::from_json>>' requested here 37 | return jsonify::from_json::from_json( doc, simplify, fill_na ); | ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:535:7: note: candidate constructor not viable: no known conversion from 'const GenericValue, MemoryPoolAllocator>' to 'const std::allocator' for 1st argument 535 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^ ~~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:547:7: note: candidate constructor not viable: no known conversion from 'const GenericValue, MemoryPoolAllocator>' to 'const basic_string' for 1st argument 547 | basic_string(const basic_string& __str) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:641:7: note: candidate constructor template not viable: no known conversion from 'const GenericValue, MemoryPoolAllocator>' to 'const char *' for 1st argument 641 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^ ~~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:677:7: note: candidate constructor not viable: no known conversion from 'const GenericValue, MemoryPoolAllocator>' to 'basic_string' for 1st argument 677 | basic_string(basic_string&& __str) noexcept | ^ ~~~~~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:706:7: note: candidate constructor not viable: no known conversion from 'const GenericValue, MemoryPoolAllocator>' to 'initializer_list' for 1st argument 706 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:795:2: note: candidate template ignored: requirement '__and_, rapidjson::MemoryPoolAllocator> &, std::basic_string_view>>, std::__not_, rapidjson::MemoryPoolAllocator> *, const std::basic_string, std::allocator> *>>, std::__not_, rapidjson::MemoryPoolAllocator> &, const char *>>>::value' was not satisfied [with _Tp = GenericValue, MemoryPoolAllocator>] 795 | basic_string(const _Tp& __t, const _Alloc& __a = _Alloc()) | ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:522:7: note: candidate constructor not viable: requires 0 arguments, but 1 was provided 522 | basic_string() | ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:176:7: note: candidate constructor not viable: requires 2 arguments, but 1 was provided 176 | basic_string(__sv_wrapper __svw, const _Alloc& __a) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:711:7: note: candidate constructor not viable: requires 2 arguments, but 1 was provided 711 | basic_string(const basic_string& __str, const _Alloc& __a) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:716:7: note: candidate constructor not viable: requires 2 arguments, but 1 was provided 716 | basic_string(basic_string&& __str, const _Alloc& __a) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:564:7: note: candidate constructor not viable: requires at least 2 arguments, but 1 was provided 564 | basic_string(const basic_string& __str, size_type __pos, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 565 | const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:581:7: note: candidate constructor not viable: requires 3 arguments, but 1 was provided 581 | basic_string(const basic_string& __str, size_type __pos, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 582 | size_type __n) | ~~~~~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:619:7: note: candidate constructor not viable: requires at least 2 arguments, but 1 was provided 619 | basic_string(const _CharT* __s, size_type __n, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 620 | const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:664:7: note: candidate constructor template not viable: requires at least 2 arguments, but 1 was provided 664 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:760:9: note: candidate constructor template not viable: requires at least 2 arguments, but 1 was provided 760 | basic_string(_InputIterator __beg, _InputIterator __end, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 761 | const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:599:7: note: candidate constructor not viable: requires 4 arguments, but 1 was provided 599 | basic_string(const basic_string& __str, size_type __pos, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 600 | size_type __n, const _Alloc& __a) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/basic_string.h:783:2: note: candidate constructor template not viable: requires at least 3 arguments, but 1 was provided 783 | basic_string(const _Tp& __t, size_type __pos, size_type __n, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 784 | const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [/home/hornik/tmp/R/etc/Makeconf:198: geojson.o] Error 1 ERROR: compilation failed for package ‘spatialwidget’ * removing ‘/srv/hornik/tmp/CRAN/spatialwidget.Rcheck/spatialwidget’