* installing *source* package 'Waypoint' ...
** this is package 'Waypoint' version '2.0.1'
** package 'Waypoint' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 14.3.0'
make[1]: Entering directory '/d/temp/2026_09_12_01_50_00_12905/Rtmp6LrcAt/R.INSTALL411e47fad1121/Waypoint/src'
g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c CoordBase.cpp -o CoordBase.o
In file included from CoordBase.cpp:33:
CoordBase.h:32:1: warning: identifier 'concept' is a keyword in C++20 [-Wc++20-compat]
32 | concept Is_NumericVector = isNumericVector_v<T>;
| ^~~~~~~
CoordBase.h:37:9: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat]
37 | requires(T t, const string& s, const char *c) {
| ^~~~~~~~
CoordBase.cpp:31:22: error: 'ranges' is not a namespace-name
31 | namespace rng = std::ranges;
| ^~~~~~
CoordBase.h:32:1: error: 'concept' does not name a type; did you mean 'const'?
32 | concept Is_NumericVector = isNumericVector_v<T>;
| ^~~~~~~
| const
CoordBase.h:32:1: note: 'concept' only available with '-std=c++20' or '-fconcepts'
CoordBase.h:36:1: error: 'concept' does not name a type; did you mean 'const'?
36 | concept Is_DataFrame =
| ^~~~~~~
| const
CoordBase.h:36:1: note: 'concept' only available with '-std=c++20' or '-fconcepts'
CoordBase.h:49:1: error: 'concept' does not name a type; did you mean 'const'?
49 | concept NumVec_or_DataFrame =
| ^~~~~~~
| const
CoordBase.h:49:1: note: 'concept' only available with '-std=c++20' or '-fconcepts'
CoordBase.h:65:51: error: expected ')' before 'count'
65 | explicit VecTypeBase( vector<T>::size_type count ) : vector<T>(count) {} // ≈ "default"
| ~ ^~~~~~
| )
CoordBase.h:159:1: error: 'concept' does not name a type; did you mean 'const'?
159 | concept DVecType =
| ^~~~~~~
| const
CoordBase.h:159:1: note: 'concept' only available with '-std=c++20' or '-fconcepts'
CoordBase.h:206:1: error: 'concept' does not name a type; did you mean 'const'?
206 | concept SVecType =
| ^~~~~~~
| const
CoordBase.h:206:1: note: 'concept' only available with '-std=c++20' or '-fconcepts'
CoordBase.h:214:1: error: 'concept' does not name a type; did you mean 'const'?
214 | concept vectype =
| ^~~~~~~
| const
CoordBase.h:214:1: note: 'concept' only available with '-std=c++20' or '-fconcepts'
CoordBase.h:229:37: error: 'NumVec_or_DataFrame' does not name a type
229 | inline vector<U> get_vec_attr(const NumVec_or_DataFrame auto&, const string);
| ^~~~~~~~~~~~~~~~~~~
CoordBase.h:229:57: error: expected ',' or '...' before 'auto'
229 | inline vector<U> get_vec_attr(const NumVec_or_DataFrame auto&, const string);
| ^~~~
CoordBase.h:230:36: error: 'NumVec_or_DataFrame' does not name a type
230 | inline int get_fmt_attribute(const NumVec_or_DataFrame auto&);
| ^~~~~~~~~~~~~~~~~~~
CoordBase.h:230:56: error: expected ',' or '...' before 'auto'
230 | inline int get_fmt_attribute(const NumVec_or_DataFrame auto&);
| ^~~~
CoordBase.h:231:44: warning: use of 'auto' in parameter declaration only available with '-std=c++20' or '-fconcepts'
231 | int check_logical_attr(NumVec_or_DataFrame auto, const string);
| ^~~~
CoordBase.h:231:24: error: 'NumVec_or_DataFrame' was not declared in this scope
231 | int check_logical_attr(NumVec_or_DataFrame auto, const string);
| ^~~~~~~~~~~~~~~~~~~
CoordBase.h:231:50: error: expected primary-expression before 'const'
231 | int check_logical_attr(NumVec_or_DataFrame auto, const string);
| ^~~~~
CoordBase.h:231:62: error: expression list treated as compound expression in initializer [-fpermissive]
231 | int check_logical_attr(NumVec_or_DataFrame auto, const string);
| ^
CoordBase.h:232:33: error: 'NumVec_or_DataFrame' does not name a type
232 | inline void checkinherits(const NumVec_or_DataFrame auto&, const string);
| ^~~~~~~~~~~~~~~~~~~
CoordBase.h:232:53: error: expected ',' or '...' before 'auto'
232 | inline void checkinherits(const NumVec_or_DataFrame auto&, const string);
| ^~~~
CoordBase.h:257:44: error: 'NumVec_or_DataFrame' does not name a type
257 | inline const CoordType get_coordtype(const NumVec_or_DataFrame auto&);
| ^~~~~~~~~~~~~~~~~~~
CoordBase.h:257:64: error: expected ',' or '...' before 'auto'
257 | inline const CoordType get_coordtype(const NumVec_or_DataFrame auto&);
| ^~~~
CoordBase.h:270:10: error: 'DVecType' has not been declared
270 | template<DVecType type>
| ^~~~~~~~
CoordBase.h:312:10: error: 'DVecType' has not been declared
312 | template<DVecType T, DVecType U>
| ^~~~~~~~
CoordBase.h:312:22: error: 'DVecType' has not been declared
312 | template<DVecType T, DVecType U>
| ^~~~~~~~
CoordBase.h:318:10: error: 'DVecType' has not been declared
318 | template<DVecType T>
| ^~~~~~~~
CoordBase.h:319:20: error: 'T' was not declared in this scope
319 | struct Convertidor<T, DecDegVecDouble>{
| ^
CoordBase.h:319:38: error: template argument 1 is invalid
319 | struct Convertidor<T, DecDegVecDouble>{
| ^
CoordBase.h:326:10: error: 'DVecType' has not been declared
326 | template<DVecType T>
| ^~~~~~~~
CoordBase.h:327:20: error: 'T' was not declared in this scope
327 | struct Convertidor<T, DegMinVecDouble>{
| ^
CoordBase.h:327:38: error: template argument 1 is invalid
327 | struct Convertidor<T, DegMinVecDouble>{
| ^
CoordBase.h:334:10: error: 'DVecType' has not been declared
334 | template<DVecType T>
| ^~~~~~~~
CoordBase.h:335:20: error: 'T' was not declared in this scope
335 | struct Convertidor<T, DegMinSecVecDouble>{
| ^
CoordBase.h:335:41: error: template argument 1 is invalid
335 | struct Convertidor<T, DegMinSecVecDouble>{
| ^
CoordBase.h:342:10: error: 'DVecType' has not been declared
342 | template<DVecType T>
| ^~~~~~~~
CoordBase.h:343:59: error: 'T' was not declared in this scope
343 | using ConvertidorDecDegVec = Convertidor<DecDegVecDouble, T>;
| ^
CoordBase.h:343:60: error: template argument 2 is invalid
343 | using ConvertidorDecDegVec = Convertidor<DecDegVecDouble, T>;
| ^
CoordBase.h:344:10: error: 'DVecType' has not been declared
344 | template<DVecType T>
| ^~~~~~~~
CoordBase.h:345:59: error: 'T' was not declared in this scope
345 | using ConvertidorDegMinVec = Convertidor<DegMinVecDouble, T>;
| ^
CoordBase.h:345:60: error: template argument 2 is invalid
345 | using ConvertidorDegMinVec = Convertidor<DegMinVecDouble, T>;
| ^
CoordBase.h:346:10: error: 'DVecType' has not been declared
346 | template<DVecType T>
| ^~~~~~~~
CoordBase.h:347:65: error: 'T' was not declared in this scope
347 | using ConvertidorDegMinSecVec = Convertidor<DegMinSecVecDouble, T>;
| ^
CoordBase.h:347:66: error: template argument 2 is invalid
347 | using ConvertidorDegMinSecVec = Convertidor<DegMinSecVecDouble, T>;
| ^
CoordBase.h:356:10: error: 'DVecType' has not been declared
356 | template<DVecType T, SVecType U>
| ^~~~~~~~
CoordBase.h:356:22: error: 'SVecType' has not been declared
356 | template<DVecType T, SVecType U>
| ^~~~~~~~
CoordBase.h:362:10: error: 'DVecType' has not been declared
362 | template<DVecType T>
| ^~~~~~~~
CoordBase.h:363:20: error: 'T' was not declared in this scope
363 | struct Formateador<T, DecDegVecString>{
| ^
CoordBase.h:363:38: error: template argument 1 is invalid
363 | struct Formateador<T, DecDegVecString>{
| ^
CoordBase.h:376:10: error: 'DVecType' has not been declared
376 | template<DVecType T>
| ^~~~~~~~
CoordBase.h:377:20: error: 'T' was not declared in this scope
377 | struct Formateador<T, DegMinVecString>{
| ^
CoordBase.h:377:38: error: template argument 1 is invalid
377 | struct Formateador<T, DegMinVecString>{
| ^
CoordBase.h:397:10: error: 'DVecType' has not been declared
397 | template<DVecType T>
| ^~~~~~~~
CoordBase.h:398:20: error: 'T' was not declared in this scope
398 | struct Formateador<T, DegMinSecVecString>{
| ^
CoordBase.h:398:41: error: template argument 1 is invalid
398 | struct Formateador<T, DegMinSecVecString>{
| ^
CoordBase.h:419:10: error: 'SVecType' has not been declared
419 | template<SVecType T>
| ^~~~~~~~
CoordBase.h:420:59: error: 'T' was not declared in this scope
420 | using FormateadorDecDegVec = Formateador<DecDegVecDouble, T>;
| ^
CoordBase.h:420:60: error: template argument 2 is invalid
420 | using FormateadorDecDegVec = Formateador<DecDegVecDouble, T>;
| ^
CoordBase.h:421:10: error: 'SVecType' has not been declared
421 | template<SVecType T>
| ^~~~~~~~
CoordBase.h:422:59: error: 'T' was not declared in this scope
422 | using FormateadorDegMinVec = Formateador<DegMinVecDouble, T>;
| ^
CoordBase.h:422:60: error: template argument 2 is invalid
422 | using FormateadorDegMinVec = Formateador<DegMinVecDouble, T>;
| ^
CoordBase.h:423:10: error: 'SVecType' has not been declared
423 | template<SVecType T>
| ^~~~~~~~
CoordBase.h:424:65: error: 'T' was not declared in this scope
424 | using FormateadorDegMinSecVec = Formateador<DegMinSecVecDouble, T>;
| ^
CoordBase.h:424:66: error: template argument 2 is invalid
424 | using FormateadorDegMinSecVec = Formateador<DegMinSecVecDouble, T>;
| ^
CoordBase.h:430:1: error: 'concept' does not name a type; did you mean 'const'?
430 | concept float_or_string =
| ^~~~~~~
| const
CoordBase.h:430:1: note: 'concept' only available with '-std=c++20' or '-fconcepts'
CoordBase.h:436:1: error: 'concept' does not name a type; did you mean 'const'?
436 | concept functador =
| ^~~~~~~
| const
CoordBase.h:436:1: note: 'concept' only available with '-std=c++20' or '-fconcepts'
CoordBase.h:443:10: error: 'DVecType' has not been declared
443 | template<DVecType T, typename S>
| ^~~~~~~~
CoordBase.h:444:7: error: no default argument for 'S'
444 | class Coords;
| ^~~~~~
CoordBase.h:448:1: error: 'concept' does not name a type; did you mean 'const'?
448 | concept sufijo =
| ^~~~~~~
| const
CoordBase.h:448:1: note: 'concept' only available with '-std=c++20' or '-fconcepts'
CoordBase.h:451:11: error: expected unqualified-id before '||' token
451 | } ||
| ^~
CoordBase.h:454:11: error: expected unqualified-id before '||' token
454 | } ||
| ^~
CoordBase.h:462:1: error: 'concept' does not name a type; did you mean 'const'?
462 | concept coords_t =
| ^~~~~~~
| const
CoordBase.h:462:1: note: 'concept' only available with '-std=c++20' or '-fconcepts'
CoordBase.h:466:11: error: expected unqualified-id before '||' token
466 | } ||
| ^~
CoordBase.h:470:11: error: expected unqualified-id before '||' token
470 | } ||
| ^~
CoordBase.h:479:10: error: 'DVecType' has not been declared
479 | template<DVecType T, typename S>
| ^~~~~~~~
CoordBase.h:504:10: error: 'DVecType' has not been declared
504 | template<DVecType T>
| ^~~~~~~~
CoordBase.h:505:42: error: 'T' was not declared in this scope
505 | class SufijoCoords final : public Coords<T, SufijoCoords<T>> {
| ^
CoordBase.h:505:58: error: 'T' was not declared in this scope
505 | class SufijoCoords final : public Coords<T, SufijoCoords<T>> {
| ^
CoordBase.h:505:59: error: template argument 1 is invalid
505 | class SufijoCoords final : public Coords<T, SufijoCoords<T>> {
| ^~
CoordBase.h:507:30: error: 'T' was not declared in this scope
507 | using Coords<T, SufijoCoords<T>>::Coords;
| ^
CoordBase.h:507:46: error: 'T' was not declared in this scope
507 | using Coords<T, SufijoCoords<T>>::Coords;
| ^
CoordBase.h:507:47: error: template argument 1 is invalid
507 | using Coords<T, SufijoCoords<T>>::Coords;
| ^~
CoordBase.h:508:30: error: 'T' was not declared in this scope
508 | using Coords<T, SufijoCoords<T>>::latlon;
| ^
CoordBase.h:508:46: error: 'T' was not declared in this scope
508 | using Coords<T, SufijoCoords<T>>::latlon;
| ^
CoordBase.h:508:47: error: template argument 1 is invalid
508 | using Coords<T, SufijoCoords<T>>::latlon;
| ^~
CoordBase.h:509:30: error: 'T' was not declared in this scope
509 | using Coords<T, SufijoCoords<T>>::dv;
| ^
CoordBase.h:509:46: error: 'T' was not declared in this scope
509 | using Coords<T, SufijoCoords<T>>::dv;
| ^
CoordBase.h:509:47: error: template argument 1 is invalid
509 | using Coords<T, SufijoCoords<T>>::dv;
| ^~
CoordBase.h:510:29: error: 'vectype' has not been declared
510 | void suffix(vectype auto&) const;
| ^~~~~~~
CoordBase.h:510:37: warning: use of 'auto' in parameter declaration only available with '-std=c++20' or '-fconcepts'
510 | void suffix(vectype auto&) const;
| ^~~~
CoordBase.h:510:29: error: two or more data types in declaration of 'parameter'
510 | void suffix(vectype auto&) const;
| ^~~~~~~
CoordBase.h:516:10: error: 'DVecType' has not been declared
516 | template<DVecType T>
| ^~~~~~~~
CoordBase.h:517:45: error: 'T' was not declared in this scope
517 | class SufijoWaypoints final : public Coords<T, SufijoWaypoints<T>> {
| ^
CoordBase.h:517:64: error: 'T' was not declared in this scope
517 | class SufijoWaypoints final : public Coords<T, SufijoWaypoints<T>> {
| ^
CoordBase.h:517:65: error: template argument 1 is invalid
517 | class SufijoWaypoints final : public Coords<T, SufijoWaypoints<T>> {
| ^~
CoordBase.h:519:30: error: 'T' was not declared in this scope
519 | using Coords<T, SufijoWaypoints<T>>::Coords;
| ^
CoordBase.h:519:49: error: 'T' was not declared in this scope
519 | using Coords<T, SufijoWaypoints<T>>::Coords;
| ^
CoordBase.h:519:50: error: template argument 1 is invalid
519 | using Coords<T, SufijoWaypoints<T>>::Coords;
| ^~
CoordBase.h:520:30: error: 'T' was not declared in this scope
520 | using Coords<T, SufijoWaypoints<T>>::latlon;
| ^
CoordBase.h:520:49: error: 'T' was not declared in this scope
520 | using Coords<T, SufijoWaypoints<T>>::latlon;
| ^
CoordBase.h:520:50: error: template argument 1 is invalid
520 | using Coords<T, SufijoWaypoints<T>>::latlon;
| ^~
CoordBase.h:521:30: error: 'T' was not declared in this scope
521 | using Coords<T, SufijoWaypoints<T>>::dv;
| ^
CoordBase.h:521:49: error: 'T' was not declared in this scope
521 | using Coords<T, SufijoWaypoints<T>>::dv;
| ^
CoordBase.h:521:50: error: template argument 1 is invalid
521 | using Coords<T, SufijoWaypoints<T>>::dv;
| ^~
CoordBase.h:522:29: error: 'vectype' has not been declared
522 | void suffix(vectype auto&) const;
| ^~~~~~~
CoordBase.h:522:37: warning: use of 'auto' in parameter declaration only available with '-std=c++20' or '-fconcepts'
522 | void suffix(vectype auto&) const;
| ^~~~
CoordBase.h:522:29: error: two or more data types in declaration of 'parameter'
522 | void suffix(vectype auto&) const;
| ^~~~~~~
CoordBase.h:572:21: error: 'NumVec_or_DataFrame' does not name a type
572 | bool validate(const NumVec_or_DataFrame auto, bool = false);
| ^~~~~~~~~~~~~~~~~~~
CoordBase.h:572:41: error: expected ',' or '...' before 'auto'
572 | bool validate(const NumVec_or_DataFrame auto, bool = false);
| ^~~~
CoordBase.cpp:79:37: error: 'NumVec_or_DataFrame' does not name a type
79 | inline vector<U> get_vec_attr(const NumVec_or_DataFrame auto& t, const string attrname)
| ^~~~~~~~~~~~~~~~~~~
CoordBase.cpp:79:57: error: expected ',' or '...' before 'auto'
79 | inline vector<U> get_vec_attr(const NumVec_or_DataFrame auto& t, const string attrname)
| ^~~~
CoordBase.cpp: In function 'std::vector<T> get_vec_attr(int)':
CoordBase.cpp:81:16: error: 't' was not declared in this scope
81 | return t.hasAttribute(attrname) ? as<vector<U>>(t.attr(attrname)) : vector<U>{};
| ^
CoordBase.cpp:81:31: error: 'attrname' was not declared in this scope; did you mean 'tzname'?
81 | return t.hasAttribute(attrname) ? as<vector<U>>(t.attr(attrname)) : vector<U>{};
| ^~~~~~~~
| tzname
CoordBase.cpp: At global scope:
CoordBase.cpp:86:36: error: 'NumVec_or_DataFrame' does not name a type
86 | inline int get_fmt_attribute(const NumVec_or_DataFrame auto& t)
| ^~~~~~~~~~~~~~~~~~~
CoordBase.cpp:86:56: error: expected ',' or '...' before 'auto'
86 | inline int get_fmt_attribute(const NumVec_or_DataFrame auto& t)
| ^~~~
CoordBase.cpp: In function 'int get_fmt_attribute(int)':
CoordBase.cpp:88:24: error: 't' was not declared in this scope; did you mean 'tm'?
88 | return as<int>(t.attr("fmt"));
| ^
| tm
CoordBase.cpp: At global scope:
CoordBase.cpp:93:44: warning: use of 'auto' in parameter declaration only available with '-std=c++20' or '-fconcepts'
93 | int check_logical_attr(NumVec_or_DataFrame auto t, const string attrname)
| ^~~~
CoordBase.cpp:93:5: error: redefinition of 'int check_logical_attr'
93 | int check_logical_attr(NumVec_or_DataFrame auto t, const string attrname)
| ^~~~~~~~~~~~~~~~~~
CoordBase.h:231:5: note: 'int check_logical_attr' previously defined here
231 | int check_logical_attr(NumVec_or_DataFrame auto, const string);
| ^~~~~~~~~~~~~~~~~~
CoordBase.cpp:93:24: error: 'NumVec_or_DataFrame' was not declared in this scope
93 | int check_logical_attr(NumVec_or_DataFrame auto t, const string attrname)
| ^~~~~~~~~~~~~~~~~~~
CoordBase.cpp:93:52: error: expected primary-expression before 'const'
93 | int check_logical_attr(NumVec_or_DataFrame auto t, const string attrname)
| ^~~~~
CoordBase.cpp:105:33: error: 'NumVec_or_DataFrame' does not name a type
105 | inline void checkinherits(const NumVec_or_DataFrame auto& t, const string classname)
| ^~~~~~~~~~~~~~~~~~~
CoordBase.cpp:105:53: error: expected ',' or '...' before 'auto'
105 | inline void checkinherits(const NumVec_or_DataFrame auto& t, const string classname)
| ^~~~
CoordBase.cpp: In function 'void checkinherits(int)':
CoordBase.cpp:107:14: error: 't' was not declared in this scope; did you mean 'tm'?
107 | if (!t.inherits(classname.c_str())) stop("Argument must be a \"%s\" object", classname.c_str());
| ^
| tm
CoordBase.cpp:107:25: error: 'classname' was not declared in this scope
107 | if (!t.inherits(classname.c_str())) stop("Argument must be a \"%s\" object", classname.c_str());
| ^~~~~~~~~
CoordBase.cpp: In function 'void stdlenstr(std::vector<std::__cxx11::basic_string<char> >&)':
CoordBase.cpp:124:24: error: 'rng' has not been declared
124 | auto maxwdth = rng::max_element(sv, [](const string& a, const string& b){ return a.size() < b.size(); })->size();
| ^~~
CoordBase.cpp:125:9: error: 'rng' has not been declared
125 | rng::transform(sv, sv.begin(), [maxwdth](const string& s) { return fmt::format("{:<{}}", s, maxwdth); });
| ^~~
CoordBase.cpp: In lambda function:
CoordBase.cpp:125:101: error: 'maxwdth' is not captured
125 | rng::transform(sv, sv.begin(), [maxwdth](const string& s) { return fmt::format("{:<{}}", s, maxwdth); });
| ^~~~~~~
CoordBase.cpp:125:48: note: the lambda has no capture-default
125 | rng::transform(sv, sv.begin(), [maxwdth](const string& s) { return fmt::format("{:<{}}", s, maxwdth); });
| ^
CoordBase.cpp:124:14: note: '<typeprefixerror>maxwdth' declared here
124 | auto maxwdth = rng::max_element(sv, [](const string& a, const string& b){ return a.size() < b.size(); })->size();
| ^~~~~~~
CoordBase.cpp: In function 'void concat_vecstr_elmnts(const std::vector<std::__cxx11::basic_string<char> >&, std::vector<std::__cxx11::basic_string<char> >&, std::string)':
CoordBase.cpp:132:9: error: 'rng' has not been declared
132 | rng::transform(sv_a, sv_b, sv_b.begin(), [&sep](const string& str_a, const string& str_b) {
| ^~~
CoordBase.cpp: In function 'void concat_vecstr_elmnts(const std::vector<int>&, std::vector<std::__cxx11::basic_string<char> >&, std::string)':
CoordBase.cpp:140:9: error: 'rng' has not been declared
140 | rng::transform(iv_a, sv_b, sv_b.begin(), [&sep](const int i, const string& str_b) {
| ^~~
CoordBase.cpp: In function 'std::string str_tolower(std::string)':
CoordBase.cpp:163:9: error: 'rng' has not been declared
163 | rng::transform(s, s.begin(), [](unsigned char c){ return tolower(c); });
| ^~~
CoordBase.cpp: In function 'int name_pos_in_df(Rcpp::DataFrame, std::string)':
CoordBase.cpp:171:43: error: no matching function for call to 'get_vec_attr<std::string>(const Rcpp::DataFrame&, std::__cxx11::basic_string<char>)'
171 | vector names{ get_vec_attr<string>(df, "names"s) };
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate: 'template<class U> std::vector<T> get_vec_attr(int)'
79 | inline vector<U> get_vec_attr(const NumVec_or_DataFrame auto& t, const string attrname)
| ^~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate expects 1 argument, 2 provided
CoordBase.cpp: In function 'Rcpp::RObject getnames(Rcpp::DataFrame)':
CoordBase.cpp:193:46: error: no matching function for call to 'get_vec_attr<int>(const Rcpp::DataFrame&, std::__cxx11::basic_string<char>)'
193 | vector namescolvec{ get_vec_attr<int>(df, "namescol"s) };
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate: 'template<class U> std::vector<T> get_vec_attr(int)'
79 | inline vector<U> get_vec_attr(const NumVec_or_DataFrame auto& t, const string attrname)
| ^~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate expects 1 argument, 2 provided
CoordBase.cpp: In function 'const CoordType get_coordtype(int)':
CoordBase.cpp:217:20: error: 'using enum' only available with '-std=c++20' or '-std=gnu++20'
217 | using enum CoordType;
| ^~~~~~~~~
CoordBase.cpp:217:29: error: 'using' with enumeration scope 'enum class CoordType' only available with '-std=c++20' or '-std=gnu++20'
217 | using enum CoordType;
| ^
CoordBase.cpp:217:29: error: 'using' with enumeration scope 'enum class CoordType' only available with '-std=c++20' or '-std=gnu++20'
CoordBase.cpp:217:29: error: 'using' with enumeration scope 'enum class CoordType' only available with '-std=c++20' or '-std=gnu++20'
CoordBase.cpp: At global scope:
CoordBase.cpp:224:44: error: 'NumVec_or_DataFrame' does not name a type
224 | inline const CoordType get_coordtype(const NumVec_or_DataFrame auto& t)
| ^~~~~~~~~~~~~~~~~~~
CoordBase.cpp:224:64: error: expected ',' or '...' before 'auto'
224 | inline const CoordType get_coordtype(const NumVec_or_DataFrame auto& t)
| ^~~~
CoordBase.cpp:224:24: error: redefinition of 'const CoordType get_coordtype(int)'
224 | inline const CoordType get_coordtype(const NumVec_or_DataFrame auto& t)
| ^~~~~~~~~~~~~
CoordBase.cpp:213:24: note: 'const CoordType get_coordtype(int)' previously defined here
213 | inline const CoordType get_coordtype(int i)
| ^~~~~~~~~~~~~
CoordBase.cpp: In function 'const CoordType get_coordtype(int)':
CoordBase.cpp:226:48: error: 't' was not declared in this scope; did you mean 'tm'?
226 | return get_coordtype(get_fmt_attribute(t));
| ^
| tm
CoordBase.cpp: At global scope:
CoordBase.cpp:255:10: error: 'DVecType' has not been declared
255 | template<DVecType T, typename S>
| ^~~~~~~~
CoordBase.cpp:256:8: error: 'T' was not declared in this scope
256 | Coords<T, S>::Coords(NumericVector nv) :
| ^
CoordBase.cpp:256:12: error: template argument 1 is invalid
256 | Coords<T, S>::Coords(NumericVector nv) :
| ^
CoordBase.cpp:256:15: error: conflicting declaration of template 'template<<declaration error>, class S> int Coords(Rcpp::NumericVector)'
256 | Coords<T, S>::Coords(NumericVector nv) :
| ^~~~~~
CoordBase.h:444:7: note: previous declaration 'template<<declaration error>, class S> class Coords'
444 | class Coords;
| ^~~~~~
CoordBase.cpp:257:49: error: expected unqualified-id before ',' token
257 | dv { std::move(as<vector<double>>(nv)) },
| ^
CoordBase.cpp:258:16: error: expected constructor, destructor, or type conversion before '{' token
258 | latlon { get_vec_attr<bool>(nv, "latlon"s) }
| ^
CoordBase.cpp:259:1: error: expected unqualified-id before '{' token
259 | {
| ^
CoordBase.cpp:265:10: error: 'DVecType' has not been declared
265 | template<DVecType T, typename S>
| ^~~~~~~~
CoordBase.cpp:266:8: error: 'T' was not declared in this scope
266 | Coords<T, S>::~Coords()
| ^
CoordBase.cpp:266:12: error: template argument 1 is invalid
266 | Coords<T, S>::~Coords()
| ^
CoordBase.cpp:272:10: error: 'DVecType' has not been declared
272 | template<DVecType T, typename S> template<vectype U, functador V>
| ^~~~~~~~
CoordBase.cpp:272:43: error: 'vectype' has not been declared
272 | template<DVecType T, typename S> template<vectype U, functador V>
| ^~~~~~~
CoordBase.cpp:272:54: error: 'functador' has not been declared
272 | template<DVecType T, typename S> template<vectype U, functador V>
| ^~~~~~~~~
CoordBase.cpp:273:8: error: 'U' does not name a type
273 | inline U Coords<T, S>::conform0() const
| ^
CoordBase.cpp:284:10: error: 'DVecType' has not been declared
284 | template<DVecType T, typename S> template<typename U, template <typename V> typename F>
| ^~~~~~~~
CoordBase.cpp:284:86: error: no default argument for 'S'
284 | template<DVecType T, typename S> template<typename U, template <typename V> typename F>
| ^
CoordBase.cpp:285:18: error: 'T' was not declared in this scope
285 | vector<U> Coords<T, S>::conform(CoordType required) const
| ^
CoordBase.cpp:285:22: error: template argument 1 is invalid
285 | vector<U> Coords<T, S>::conform(CoordType required) const
| ^
CoordBase.cpp:285:11: error: too many template-parameter-lists
285 | vector<U> Coords<T, S>::conform(CoordType required) const
| ^~~~~~~~~~~~
CoordBase.cpp:306:10: error: 'DVecType' has not been declared
306 | template<DVecType T, typename S>
| ^~~~~~~~
CoordBase.cpp:307:27: error: 'T' was not declared in this scope
307 | const vector<bool> Coords<T, S>::validate() const
| ^
CoordBase.cpp:307:31: error: template argument 1 is invalid
307 | const vector<bool> Coords<T, S>::validate() const
| ^
CoordBase.cpp:307:45: error: non-member function 'const std::vector<bool> validate()' cannot have cv-qualifier
307 | const vector<bool> Coords<T, S>::validate() const
| ^~~~~
CoordBase.cpp: In function 'const std::vector<bool> validate()':
CoordBase.cpp:310:22: error: 'dv' was not declared in this scope; did you mean 'div'?
310 | valid.assign(dv.size(), {false});
| ^~
| div
CoordBase.cpp:312:73: error: 'T' was not declared in this scope
312 | transform(dv.begin(), dv.end(), valid.begin(), [ff { FamousFive<T>{} }, ll_it { latlon.begin() }, ll_size { latlon.size() }] (auto n) mutable
| ^
CoordBase.cpp:312:74: error: template argument 1 is invalid
312 | transform(dv.begin(), dv.end(), valid.begin(), [ff { FamousFive<T>{} }, ll_it { latlon.begin() }, ll_size { latlon.size() }] (auto n) mutable
| ^
CoordBase.cpp:312:96: error: request for member 'begin' in 'latlon', which is of non-class type 'Rcpp::NumericVector(Rcpp::NumericVector, Rcpp::LogicalVector)' {aka 'Rcpp::Vector<14, Rcpp::PreserveStorage>(Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<10, Rcpp::PreserveStorage>)'}
312 | transform(dv.begin(), dv.end(), valid.begin(), [ff { FamousFive<T>{} }, ll_it { latlon.begin() }, ll_size { latlon.size() }] (auto n) mutable
| ^~~~~
CoordBase.cpp:312:124: error: request for member 'size' in 'latlon', which is of non-class type 'Rcpp::NumericVector(Rcpp::NumericVector, Rcpp::LogicalVector)' {aka 'Rcpp::Vector<14, Rcpp::PreserveStorage>(Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<10, Rcpp::PreserveStorage>)'}
312 | transform(dv.begin(), dv.end(), valid.begin(), [ff { FamousFive<T>{} }, ll_it { latlon.begin() }, ll_size { latlon.size() }] (auto n) mutable
| ^~~~
CoordBase.cpp: In lambda function:
CoordBase.cpp:314:40: error: 'ff' was not declared in this scope
314 | return !((fabs(ff.get_decdeg(n)) > (ll_size && (ll_size > 1 ? *ll_it++ : *ll_it) ? 90 : 180)) ||
| ^~
CoordBase.cpp:314:61: error: 'll_size' was not declared in this scope
314 | return !((fabs(ff.get_decdeg(n)) > (ll_size && (ll_size > 1 ? *ll_it++ : *ll_it) ? 90 : 180)) ||
| ^~~~~~~
CoordBase.cpp:314:88: error: 'll_it' was not declared in this scope; did you mean 'llrint'?
314 | return !((fabs(ff.get_decdeg(n)) > (ll_size && (ll_size > 1 ? *ll_it++ : *ll_it) ? 90 : 180)) ||
| ^~~~~
| llrint
CoordBase.cpp: In function 'const std::vector<bool> validate()':
CoordBase.cpp:319:13: error: 'rng' has not been declared
319 | if (rng::all_of(valid, [](auto v) { return v;}))
| ^~~
CoordBase.cpp: At global scope:
CoordBase.cpp:328:10: error: 'DVecType' has not been declared
328 | template<DVecType T, typename S>
| ^~~~~~~~
CoordBase.cpp:329:13: error: 'T' was not declared in this scope
329 | void Coords<T, S>::add_suffix(vectype auto& uv_out) const
| ^
CoordBase.cpp:329:17: error: template argument 1 is invalid
329 | void Coords<T, S>::add_suffix(vectype auto& uv_out) const
| ^
CoordBase.cpp:329:39: warning: use of 'auto' in parameter declaration only available with '-std=c++20' or '-fconcepts'
329 | void Coords<T, S>::add_suffix(vectype auto& uv_out) const
| ^~~~
CoordBase.cpp:329:6: error: variable or field 'add_suffix' declared void
329 | void Coords<T, S>::add_suffix(vectype auto& uv_out) const
| ^~~~~~~~~~~~
CoordBase.cpp:329:31: error: 'vectype' was not declared in this scope; did you mean 'wctype'?
329 | void Coords<T, S>::add_suffix(vectype auto& uv_out) const
| ^~~~~~~
| wctype
CoordBase.cpp:338:10: error: 'DVecType' has not been declared
338 | template<DVecType T>
| ^~~~~~~~
CoordBase.cpp:339:19: error: 'T' was not declared in this scope
339 | void SufijoCoords<T>::suffix(vectype auto& uv_out) const
| ^
CoordBase.cpp:339:20: error: template argument 1 is invalid
339 | void SufijoCoords<T>::suffix(vectype auto& uv_out) const
| ^
CoordBase.cpp:339:38: warning: use of 'auto' in parameter declaration only available with '-std=c++20' or '-fconcepts'
339 | void SufijoCoords<T>::suffix(vectype auto& uv_out) const
| ^~~~
CoordBase.cpp:339:6: error: variable or field 'suffix' declared void
339 | void SufijoCoords<T>::suffix(vectype auto& uv_out) const
| ^~~~~~~~~~~~~~~
CoordBase.cpp:339:30: error: 'vectype' was not declared in this scope; did you mean 'wctype'?
339 | void SufijoCoords<T>::suffix(vectype auto& uv_out) const
| ^~~~~~~
| wctype
CoordBase.cpp:373:10: error: 'DVecType' has not been declared
373 | template<DVecType T>
| ^~~~~~~~
CoordBase.cpp:374:22: error: 'T' was not declared in this scope
374 | void SufijoWaypoints<T>::suffix(vectype auto& uv_out) const
| ^
CoordBase.cpp:374:23: error: template argument 1 is invalid
374 | void SufijoWaypoints<T>::suffix(vectype auto& uv_out) const
| ^
CoordBase.cpp:374:41: warning: use of 'auto' in parameter declaration only available with '-std=c++20' or '-fconcepts'
374 | void SufijoWaypoints<T>::suffix(vectype auto& uv_out) const
| ^~~~
CoordBase.cpp:374:6: error: variable or field 'suffix' declared void
374 | void SufijoWaypoints<T>::suffix(vectype auto& uv_out) const
| ^~~~~~~~~~~~~~~~~~
CoordBase.cpp:374:33: error: 'vectype' was not declared in this scope; did you mean 'wctype'?
374 | void SufijoWaypoints<T>::suffix(vectype auto& uv_out) const
| ^~~~~~~
| wctype
CoordBase.cpp: In function 'std::vector<double> convert_switch(Rcpp::NumericVector, CoordType)':
CoordBase.cpp:388:20: error: 'using enum' only available with '-std=c++20' or '-std=gnu++20'
388 | using enum CoordType;
| ^~~~~~~~~
CoordBase.cpp:388:29: error: 'using' with enumeration scope 'enum class CoordType' only available with '-std=c++20' or '-std=gnu++20'
388 | using enum CoordType;
| ^
CoordBase.cpp:388:29: error: 'using' with enumeration scope 'enum class CoordType' only available with '-std=c++20' or '-std=gnu++20'
CoordBase.cpp:388:29: error: 'using' with enumeration scope 'enum class CoordType' only available with '-std=c++20' or '-std=gnu++20'
CoordBase.cpp:389:31: error: invalid user-defined conversion from 'const Rcpp::NumericVector' {aka 'const Rcpp::Vector<14, Rcpp::PreserveStorage>'} to 'int' [-fpermissive]
389 | switch (get_coordtype(nv))
| ^~
In file included from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/storage.h:4,
from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/RcppCommon.h:128,
from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp.h:27,
from CoordBase.cpp:8:
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: candidate is: 'Rcpp::PreserveStorage<CLASS>::operator SEXP() const [with CLASS = Rcpp::Vector<14, Rcpp::PreserveStorage>; SEXP = SEXPREC*]' (near match)
75 | inline operator SEXP() const { return data; }
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: no known conversion from 'SEXP' {aka 'SEXPREC*'} to 'int'
CoordBase.cpp:213:42: note: initializing argument 1 of 'const CoordType get_coordtype(int)'
213 | inline const CoordType get_coordtype(int i)
| ~~~~^
CoordBase.cpp:392:83: error: expected primary-expression before 'double'
392 | return SufijoCoords<DecDegVecDouble>(nv).template conform<double, ConvertidorDecDegVec>(newtype);
| ^~~~~~
CoordBase.cpp:392:83: error: expected ';' before 'double'
392 | return SufijoCoords<DecDegVecDouble>(nv).template conform<double, ConvertidorDecDegVec>(newtype);
| ^~~~~~
| ;
CoordBase.cpp:392:89: error: expected unqualified-id before ',' token
392 | return SufijoCoords<DecDegVecDouble>(nv).template conform<double, ConvertidorDecDegVec>(newtype);
| ^
CoordBase.cpp:392:111: error: expected initializer before '>' token
392 | return SufijoCoords<DecDegVecDouble>(nv).template conform<double, ConvertidorDecDegVec>(newtype);
| ^
CoordBase.cpp:395:83: error: expected primary-expression before 'double'
395 | return SufijoCoords<DegMinVecDouble>(nv).template conform<double, ConvertidorDegMinVec>(newtype);
| ^~~~~~
CoordBase.cpp:395:83: error: expected ';' before 'double'
395 | return SufijoCoords<DegMinVecDouble>(nv).template conform<double, ConvertidorDegMinVec>(newtype);
| ^~~~~~
| ;
CoordBase.cpp:395:89: error: expected unqualified-id before ',' token
395 | return SufijoCoords<DegMinVecDouble>(nv).template conform<double, ConvertidorDegMinVec>(newtype);
| ^
CoordBase.cpp:395:111: error: expected initializer before '>' token
395 | return SufijoCoords<DegMinVecDouble>(nv).template conform<double, ConvertidorDegMinVec>(newtype);
| ^
CoordBase.cpp:398:86: error: expected primary-expression before 'double'
398 | return SufijoCoords<DegMinSecVecDouble>(nv).template conform<double, ConvertidorDegMinSecVec>(newtype);
| ^~~~~~
CoordBase.cpp:398:86: error: expected ';' before 'double'
398 | return SufijoCoords<DegMinSecVecDouble>(nv).template conform<double, ConvertidorDegMinSecVec>(newtype);
| ^~~~~~
| ;
CoordBase.cpp:398:92: error: expected unqualified-id before ',' token
398 | return SufijoCoords<DegMinSecVecDouble>(nv).template conform<double, ConvertidorDegMinSecVec>(newtype);
| ^
CoordBase.cpp:398:117: error: expected initializer before '>' token
398 | return SufijoCoords<DegMinSecVecDouble>(nv).template conform<double, ConvertidorDegMinSecVec>(newtype);
| ^
CoordBase.cpp: In function 'std::vector<std::__cxx11::basic_string<char> > format_switch_c(Rcpp::NumericVector, CoordType)':
CoordBase.cpp:409:20: error: 'using enum' only available with '-std=c++20' or '-std=gnu++20'
409 | using enum CoordType;
| ^~~~~~~~~
CoordBase.cpp:409:29: error: 'using' with enumeration scope 'enum class CoordType' only available with '-std=c++20' or '-std=gnu++20'
409 | using enum CoordType;
| ^
CoordBase.cpp:409:29: error: 'using' with enumeration scope 'enum class CoordType' only available with '-std=c++20' or '-std=gnu++20'
CoordBase.cpp:409:29: error: 'using' with enumeration scope 'enum class CoordType' only available with '-std=c++20' or '-std=gnu++20'
CoordBase.cpp:410:31: error: invalid user-defined conversion from 'const Rcpp::NumericVector' {aka 'const Rcpp::Vector<14, Rcpp::PreserveStorage>'} to 'int' [-fpermissive]
410 | switch (get_coordtype(nv))
| ^~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: candidate is: 'Rcpp::PreserveStorage<CLASS>::operator SEXP() const [with CLASS = Rcpp::Vector<14, Rcpp::PreserveStorage>; SEXP = SEXPREC*]' (near match)
75 | inline operator SEXP() const { return data; }
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: no known conversion from 'SEXP' {aka 'SEXPREC*'} to 'int'
CoordBase.cpp:213:42: note: initializing argument 1 of 'const CoordType get_coordtype(int)'
213 | inline const CoordType get_coordtype(int i)
| ~~~~^
CoordBase.cpp:413:89: error: expected primary-expression before ',' token
413 | return SufijoCoords<DecDegVecDouble>(nv).template conform<string, FormateadorDecDegVec>(ct_required);
| ^
CoordBase.cpp:413:91: error: 'FormateadorDecDegVec' was not declared in this scope
413 | return SufijoCoords<DecDegVecDouble>(nv).template conform<string, FormateadorDecDegVec>(ct_required);
| ^~~~~~~~~~~~~~~~~~~~
CoordBase.cpp:416:89: error: expected primary-expression before ',' token
416 | return SufijoCoords<DegMinVecDouble>(nv).template conform<string, FormateadorDegMinVec>(ct_required);
| ^
CoordBase.cpp:416:91: error: 'FormateadorDegMinVec' was not declared in this scope
416 | return SufijoCoords<DegMinVecDouble>(nv).template conform<string, FormateadorDegMinVec>(ct_required);
| ^~~~~~~~~~~~~~~~~~~~
CoordBase.cpp:419:92: error: expected primary-expression before ',' token
419 | return SufijoCoords<DegMinSecVecDouble>(nv).template conform<string, FormateadorDegMinSecVec>(ct_required);
| ^
CoordBase.cpp:419:94: error: 'FormateadorDegMinSecVec' was not declared in this scope
419 | return SufijoCoords<DegMinSecVecDouble>(nv).template conform<string, FormateadorDegMinSecVec>(ct_required);
| ^~~~~~~~~~~~~~~~~~~~~~~
CoordBase.cpp: In function 'std::vector<std::__cxx11::basic_string<char> > format_switch_w(Rcpp::NumericVector, CoordType)':
CoordBase.cpp:430:20: error: 'using enum' only available with '-std=c++20' or '-std=gnu++20'
430 | using enum CoordType;
| ^~~~~~~~~
CoordBase.cpp:430:29: error: 'using' with enumeration scope 'enum class CoordType' only available with '-std=c++20' or '-std=gnu++20'
430 | using enum CoordType;
| ^
CoordBase.cpp:430:29: error: 'using' with enumeration scope 'enum class CoordType' only available with '-std=c++20' or '-std=gnu++20'
CoordBase.cpp:430:29: error: 'using' with enumeration scope 'enum class CoordType' only available with '-std=c++20' or '-std=gnu++20'
CoordBase.cpp:431:31: error: invalid user-defined conversion from 'const Rcpp::NumericVector' {aka 'const Rcpp::Vector<14, Rcpp::PreserveStorage>'} to 'int' [-fpermissive]
431 | switch (get_coordtype(nv))
| ^~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: candidate is: 'Rcpp::PreserveStorage<CLASS>::operator SEXP() const [with CLASS = Rcpp::Vector<14, Rcpp::PreserveStorage>; SEXP = SEXPREC*]' (near match)
75 | inline operator SEXP() const { return data; }
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: no known conversion from 'SEXP' {aka 'SEXPREC*'} to 'int'
CoordBase.cpp:213:42: note: initializing argument 1 of 'const CoordType get_coordtype(int)'
213 | inline const CoordType get_coordtype(int i)
| ~~~~^
CoordBase.cpp:434:92: error: expected primary-expression before ',' token
434 | return SufijoWaypoints<DecDegVecDouble>(nv).template conform<string, FormateadorDecDegVec>(ct_required);
| ^
CoordBase.cpp:434:94: error: 'FormateadorDecDegVec' was not declared in this scope
434 | return SufijoWaypoints<DecDegVecDouble>(nv).template conform<string, FormateadorDecDegVec>(ct_required);
| ^~~~~~~~~~~~~~~~~~~~
CoordBase.cpp:437:92: error: expected primary-expression before ',' token
437 | return SufijoWaypoints<DegMinVecDouble>(nv).template conform<string, FormateadorDegMinVec>(ct_required);
| ^
CoordBase.cpp:437:94: error: 'FormateadorDegMinVec' was not declared in this scope
437 | return SufijoWaypoints<DegMinVecDouble>(nv).template conform<string, FormateadorDegMinVec>(ct_required);
| ^~~~~~~~~~~~~~~~~~~~
CoordBase.cpp:440:95: error: expected primary-expression before ',' token
440 | return SufijoWaypoints<DegMinSecVecDouble>(nv).template conform<string, FormateadorDegMinSecVec>(ct_required);
| ^
CoordBase.cpp:440:97: error: 'FormateadorDegMinSecVec' was not declared in this scope
440 | return SufijoWaypoints<DegMinSecVecDouble>(nv).template conform<string, FormateadorDegMinSecVec>(ct_required);
| ^~~~~~~~~~~~~~~~~~~~~~~
CoordBase.cpp: In function 'const std::vector<bool> validate_switch(Rcpp::NumericVector)':
CoordBase.cpp:452:20: error: 'using enum' only available with '-std=c++20' or '-std=gnu++20'
452 | using enum CoordType;
| ^~~~~~~~~
CoordBase.cpp:452:29: error: 'using' with enumeration scope 'enum class CoordType' only available with '-std=c++20' or '-std=gnu++20'
452 | using enum CoordType;
| ^
CoordBase.cpp:452:29: error: 'using' with enumeration scope 'enum class CoordType' only available with '-std=c++20' or '-std=gnu++20'
CoordBase.cpp:452:29: error: 'using' with enumeration scope 'enum class CoordType' only available with '-std=c++20' or '-std=gnu++20'
CoordBase.cpp:453:31: error: invalid user-defined conversion from 'const Rcpp::NumericVector' {aka 'const Rcpp::Vector<14, Rcpp::PreserveStorage>'} to 'int' [-fpermissive]
453 | switch (get_coordtype(nv))
| ^~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: candidate is: 'Rcpp::PreserveStorage<CLASS>::operator SEXP() const [with CLASS = Rcpp::Vector<14, Rcpp::PreserveStorage>; SEXP = SEXPREC*]' (near match)
75 | inline operator SEXP() const { return data; }
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: no known conversion from 'SEXP' {aka 'SEXPREC*'} to 'int'
CoordBase.cpp:213:42: note: initializing argument 1 of 'const CoordType get_coordtype(int)'
213 | inline const CoordType get_coordtype(int i)
| ~~~~^
CoordBase.cpp: In constructor 'Waypoints::Waypoints(const Rcpp::DataFrame&)':
CoordBase.cpp:477:37: error: no matching function for call to 'get_vec_attr<int>(const Rcpp::DataFrame&, const char [7])'
477 | nv_lat( df[get_vec_attr<int>(df, "llcols")[0] - 1] ),
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate: 'template<class U> std::vector<T> get_vec_attr(int)'
79 | inline vector<U> get_vec_attr(const NumVec_or_DataFrame auto& t, const string attrname)
| ^~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate expects 1 argument, 2 provided
CoordBase.cpp:478:37: error: no matching function for call to 'get_vec_attr<int>(const Rcpp::DataFrame&, const char [7])'
478 | nv_lon( df[get_vec_attr<int>(df, "llcols")[1] - 1] )
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate: 'template<class U> std::vector<T> get_vec_attr(int)'
79 | inline vector<U> get_vec_attr(const NumVec_or_DataFrame auto& t, const string attrname)
| ^~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate expects 1 argument, 2 provided
CoordBase.cpp:480:47: error: no matching function for call to 'get_vec_attr<int>(const Rcpp::DataFrame&, const char [4])'
480 | nv_lat.attr("fmt") = get_vec_attr<int>(df, "fmt");
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate: 'template<class U> std::vector<T> get_vec_attr(int)'
79 | inline vector<U> get_vec_attr(const NumVec_or_DataFrame auto& t, const string attrname)
| ^~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate expects 1 argument, 2 provided
CoordBase.cpp:481:47: error: no matching function for call to 'get_vec_attr<int>(const Rcpp::DataFrame&, const char [4])'
481 | nv_lon.attr("fmt") = get_vec_attr<int>(df, "fmt");
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate: 'template<class U> std::vector<T> get_vec_attr(int)'
79 | inline vector<U> get_vec_attr(const NumVec_or_DataFrame auto& t, const string attrname)
| ^~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate expects 1 argument, 2 provided
CoordBase.cpp: In member function 'std::vector<std::__cxx11::basic_string<char> > Waypoints::format(CoordType, bool) const':
CoordBase.cpp:507:20: error: 'using enum' only available with '-std=c++20' or '-std=gnu++20'
507 | using enum CoordType;
| ^~~~~~~~~
CoordBase.cpp:507:29: error: 'using' with enumeration scope 'enum class CoordType' only available with '-std=c++20' or '-std=gnu++20'
507 | using enum CoordType;
| ^
CoordBase.cpp:507:29: error: 'using' with enumeration scope 'enum class CoordType' only available with '-std=c++20' or '-std=gnu++20'
CoordBase.cpp:507:29: error: 'using' with enumeration scope 'enum class CoordType' only available with '-std=c++20' or '-std=gnu++20'
CoordBase.cpp: In function 'bool check_valid(Rcpp::NumericVector, bool)':
CoordBase.cpp:537:43: error: 'check_logical_attr' cannot be used as a function
537 | int validated = check_logical_attr(nv, "valid"s);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
CoordBase.cpp:539:32: error: no matching function for call to 'validate(const Rcpp::NumericVector&, bool)'
539 | return validate(nv, !newbie);
| ~~~~~~~~^~~~~~~~~~~~~
CoordBase.cpp:307:20: note: candidate: 'template<<declaration error>, class S> const std::vector<bool> validate()'
307 | const vector<bool> Coords<T, S>::validate() const
| ^~~~~~~~~~~~
CoordBase.cpp:307:20: note: candidate expects 0 arguments, 2 provided
CoordBase.h:572:6: note: candidate: 'bool validate(int)'
572 | bool validate(const NumVec_or_DataFrame auto, bool = false);
| ^~~~~~~~
CoordBase.h:572:6: note: candidate expects 1 argument, 2 provided
CoordBase.cpp: In function 'bool check_valid(Rcpp::DataFrame, bool)':
CoordBase.cpp:547:46: error: 'check_logical_attr' cannot be used as a function
547 | int latvalidated = check_logical_attr(df, "validlat"s);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
CoordBase.cpp:548:46: error: 'check_logical_attr' cannot be used as a function
548 | int lonvalidated = check_logical_attr(df, "validlon"s);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
CoordBase.cpp:551:32: error: no matching function for call to 'validate(const Rcpp::DataFrame&, bool)'
551 | return validate(df, !newbie);
| ~~~~~~~~^~~~~~~~~~~~~
CoordBase.cpp:307:20: note: candidate: 'template<<declaration error>, class S> const std::vector<bool> validate()'
307 | const vector<bool> Coords<T, S>::validate() const
| ^~~~~~~~~~~~
CoordBase.cpp:307:20: note: candidate expects 0 arguments, 2 provided
CoordBase.h:572:6: note: candidate: 'bool validate(int)'
572 | bool validate(const NumVec_or_DataFrame auto, bool = false);
| ^~~~~~~~
CoordBase.h:572:6: note: candidate expects 1 argument, 2 provided
CoordBase.cpp: At global scope:
CoordBase.cpp:561:21: error: 'NumVec_or_DataFrame' does not name a type
561 | bool validate(const NumVec_or_DataFrame auto t, bool revalidate)
| ^~~~~~~~~~~~~~~~~~~
CoordBase.cpp:561:41: error: expected ',' or '...' before 'auto'
561 | bool validate(const NumVec_or_DataFrame auto t, bool revalidate)
| ^~~~
CoordBase.cpp: In function 'bool validate(int)':
CoordBase.cpp:563:53: error: 't' was not declared in this scope; did you mean 'tm'?
563 | using t_type = std::remove_const_t<decltype(t)>;
| ^
| tm
CoordBase.cpp:563:55: error: template argument 1 is invalid
563 | using t_type = std::remove_const_t<decltype(t)>;
| ^
CoordBase.cpp:568:41: error: 't_type' was not declared in this scope; did you mean 'wctype'?
568 | if constexpr (isNumericVector_v<t_type>) {
| ^~~~~~
| wctype
CoordBase.cpp:568:47: error: template argument 1 is invalid
568 | if constexpr (isNumericVector_v<t_type>) {
| ^
CoordBase.cpp:568:48: error: expected unqualified-id before ')' token
568 | if constexpr (isNumericVector_v<t_type>) {
| ^
CoordBase.cpp:570:22: error: 'rng' has not been declared
570 | if (!rng::all_of(valid, [](auto i){ return i; }))
| ^~~
CoordBase.cpp:574:30: error: 'Is_DataFrame' was not declared in this scope; did you mean 'Rf_isDataFrame'?
574 | } else if constexpr (Is_DataFrame<t_type>) {
| ^~~~~~~~~~~~
| Rf_isDataFrame
CoordBase.cpp:574:50: error: expected primary-expression before ')' token
574 | } else if constexpr (Is_DataFrame<t_type>) {
| ^
CoordBase.cpp:575:22: error: 'rng' has not been declared
575 | if (!rng::all_of(valid[0], [](auto i){ return i; }) ||
| ^~~
CoordBase.cpp:576:26: error: 'rng' has not been declared
576 | !rng::all_of(valid[1], [](auto i){ return i; }))
| ^~~
CoordBase.cpp:583:61: error: 'revalidate' was not declared in this scope; did you mean 'validate'?
583 | warning("%salidation detected invalid %s!", revalidate ? "Rev" : "V", iscoords ? "coords" : "waypoints");
| ^~~~~~~~~~
| validate
CoordBase.cpp:584:18: error: 'revalidate' was not declared in this scope; did you mean 'validate'?
584 | else if (revalidate)
| ^~~~~~~~~~
| validate
CoordBase.cpp: In function 'bool valid_ll(Rcpp::DataFrame)':
CoordBase.cpp:594:42: error: no matching function for call to 'get_vec_attr<int>(const Rcpp::DataFrame&, std::__cxx11::basic_string<char>)'
594 | vector llcols { get_vec_attr<int>(df, "llcols"s) };
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate: 'template<class U> std::vector<T> get_vec_attr(int)'
79 | inline vector<U> get_vec_attr(const NumVec_or_DataFrame auto& t, const string attrname)
| ^~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate expects 1 argument, 2 provided
CoordBase.cpp:596:17: error: 'rng' has not been declared
596 | rng::transform(llcols, llcols.begin(), [](auto x){ return --x; });
| ^~~
CoordBase.cpp: In function 'Rcpp::NumericVector convertcoords(Rcpp::NumericVector, int)':
CoordBase.cpp:628:23: error: invalid user-defined conversion from 'const Rcpp::NumericVector' {aka 'const Rcpp::Vector<14, Rcpp::PreserveStorage>'} to 'int' [-fpermissive]
628 | checkinherits(x, "coords"s);
| ^
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: candidate is: 'Rcpp::PreserveStorage<CLASS>::operator SEXP() const [with CLASS = Rcpp::Vector<14, Rcpp::PreserveStorage>; SEXP = SEXPREC*]' (near match)
75 | inline operator SEXP() const { return data; }
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: no known conversion from 'SEXP' {aka 'SEXPREC*'} to 'int'
CoordBase.cpp:628:22: error: too many arguments to function 'void checkinherits(int)'
628 | checkinherits(x, "coords"s);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
CoordBase.cpp:105:13: note: declared here
105 | inline void checkinherits(const NumVec_or_DataFrame auto& t, const string classname)
| ^~~~~~~~~~~~~
CoordBase.cpp:629:46: error: invalid user-defined conversion from 'const Rcpp::NumericVector' {aka 'const Rcpp::Vector<14, Rcpp::PreserveStorage>'} to 'int' [-fpermissive]
629 | CoordType ct_current = get_coordtype(x);
| ^
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: candidate is: 'Rcpp::PreserveStorage<CLASS>::operator SEXP() const [with CLASS = Rcpp::Vector<14, Rcpp::PreserveStorage>; SEXP = SEXPREC*]' (near match)
75 | inline operator SEXP() const { return data; }
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: no known conversion from 'SEXP' {aka 'SEXPREC*'} to 'int'
CoordBase.cpp:213:42: note: initializing argument 1 of 'const CoordType get_coordtype(int)'
213 | inline const CoordType get_coordtype(int i)
| ~~~~^
CoordBase.cpp: In function 'Rcpp::NumericVector latlon(Rcpp::NumericVector, Rcpp::LogicalVector)':
CoordBase.cpp:654:23: error: invalid user-defined conversion from 'Rcpp::NumericVector' {aka 'Rcpp::Vector<14, Rcpp::PreserveStorage>'} to 'int' [-fpermissive]
654 | checkinherits(cd, "coords"s);
| ^~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: candidate is: 'Rcpp::PreserveStorage<CLASS>::operator SEXP() const [with CLASS = Rcpp::Vector<14, Rcpp::PreserveStorage>; SEXP = SEXPREC*]' (near match)
75 | inline operator SEXP() const { return data; }
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: no known conversion from 'SEXP' {aka 'SEXPREC*'} to 'int'
CoordBase.cpp:654:22: error: too many arguments to function 'void checkinherits(int)'
654 | checkinherits(cd, "coords"s);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
CoordBase.cpp:105:13: note: declared here
105 | inline void checkinherits(const NumVec_or_DataFrame auto& t, const string classname)
| ^~~~~~~~~~~~~
CoordBase.cpp:659:22: error: no matching function for call to 'validate(Rcpp::NumericVector&)'
659 | if (!validate(cd))
| ~~~~~~~~^~~~
CoordBase.cpp:561:6: note: candidate: 'bool validate(int)' (near match)
561 | bool validate(const NumVec_or_DataFrame auto t, bool revalidate)
| ^~~~~~~~
CoordBase.cpp:561:6: note: conversion of argument 1 would be ill-formed:
CoordBase.cpp:659:23: error: invalid user-defined conversion from 'Rcpp::NumericVector' {aka 'Rcpp::Vector<14, Rcpp::PreserveStorage>'} to 'int' [-fpermissive]
659 | if (!validate(cd))
| ^~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: candidate is: 'Rcpp::PreserveStorage<CLASS>::operator SEXP() const [with CLASS = Rcpp::Vector<14, Rcpp::PreserveStorage>; SEXP = SEXPREC*]' (near match)
75 | inline operator SEXP() const { return data; }
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: no known conversion from 'SEXP' {aka 'SEXPREC*'} to 'int'
CoordBase.cpp:307:20: note: candidate: 'template<<declaration error>, class S> const std::vector<bool> validate()'
307 | const vector<bool> Coords<T, S>::validate() const
| ^~~~~~~~~~~~
CoordBase.cpp:307:20: note: candidate expects 0 arguments, 1 provided
CoordBase.cpp: In function 'Rcpp::CharacterVector formatcoords(Rcpp::NumericVector, bool, bool, int)':
CoordBase.cpp:670:20: error: 'using enum' only available with '-std=c++20' or '-std=gnu++20'
670 | using enum CoordType;
| ^~~~~~~~~
CoordBase.cpp:670:29: error: 'using' with enumeration scope 'enum class CoordType' only available with '-std=c++20' or '-std=gnu++20'
670 | using enum CoordType;
| ^
CoordBase.cpp:670:29: error: 'using' with enumeration scope 'enum class CoordType' only available with '-std=c++20' or '-std=gnu++20'
CoordBase.cpp:670:29: error: 'using' with enumeration scope 'enum class CoordType' only available with '-std=c++20' or '-std=gnu++20'
CoordBase.cpp:671:23: error: invalid user-defined conversion from 'const Rcpp::NumericVector' {aka 'const Rcpp::Vector<14, Rcpp::PreserveStorage>'} to 'int' [-fpermissive]
671 | checkinherits(x, "coords"s);
| ^
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: candidate is: 'Rcpp::PreserveStorage<CLASS>::operator SEXP() const [with CLASS = Rcpp::Vector<14, Rcpp::PreserveStorage>; SEXP = SEXPREC*]' (near match)
75 | inline operator SEXP() const { return data; }
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: no known conversion from 'SEXP' {aka 'SEXPREC*'} to 'int'
CoordBase.cpp:671:22: error: too many arguments to function 'void checkinherits(int)'
671 | checkinherits(x, "coords"s);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
CoordBase.cpp:105:13: note: declared here
105 | inline void checkinherits(const NumVec_or_DataFrame auto& t, const string classname)
| ^~~~~~~~~~~~~
CoordBase.cpp:677:46: error: invalid user-defined conversion from 'const Rcpp::NumericVector' {aka 'const Rcpp::Vector<14, Rcpp::PreserveStorage>'} to 'int' [-fpermissive]
677 | CoordType ct_current { get_coordtype(x) };
| ^
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: candidate is: 'Rcpp::PreserveStorage<CLASS>::operator SEXP() const [with CLASS = Rcpp::Vector<14, Rcpp::PreserveStorage>; SEXP = SEXPREC*]' (near match)
75 | inline operator SEXP() const { return data; }
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: no known conversion from 'SEXP' {aka 'SEXPREC*'} to 'int'
CoordBase.cpp:213:42: note: initializing argument 1 of 'const CoordType get_coordtype(int)'
213 | inline const CoordType get_coordtype(int i)
| ~~~~^
CoordBase.cpp:680:43: error: no matching function for call to 'get_vec_attr<std::string>(const Rcpp::NumericVector&, std::__cxx11::basic_string<char>)'
680 | vector names{ get_vec_attr<string>(x, "names"s) };
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate: 'template<class U> std::vector<T> get_vec_attr(int)'
79 | inline vector<U> get_vec_attr(const NumVec_or_DataFrame auto& t, const string attrname)
| ^~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate expects 1 argument, 2 provided
CoordBase.cpp: In function 'Rcpp::NumericVector validatecoords(Rcpp::NumericVector, bool)':
CoordBase.cpp:694:23: error: invalid user-defined conversion from 'const Rcpp::NumericVector' {aka 'const Rcpp::Vector<14, Rcpp::PreserveStorage>'} to 'int' [-fpermissive]
694 | checkinherits(x, "coords"s);
| ^
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: candidate is: 'Rcpp::PreserveStorage<CLASS>::operator SEXP() const [with CLASS = Rcpp::Vector<14, Rcpp::PreserveStorage>; SEXP = SEXPREC*]' (near match)
75 | inline operator SEXP() const { return data; }
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: no known conversion from 'SEXP' {aka 'SEXPREC*'} to 'int'
CoordBase.cpp:694:22: error: too many arguments to function 'void checkinherits(int)'
694 | checkinherits(x, "coords"s);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
CoordBase.cpp:105:13: note: declared here
105 | inline void checkinherits(const NumVec_or_DataFrame auto& t, const string classname)
| ^~~~~~~~~~~~~
CoordBase.cpp:697:30: error: no matching function for call to 'validate(const Rcpp::NumericVector&)'
697 | if (!validate(x))
| ~~~~~~~~^~~
CoordBase.cpp:561:6: note: candidate: 'bool validate(int)' (near match)
561 | bool validate(const NumVec_or_DataFrame auto t, bool revalidate)
| ^~~~~~~~
CoordBase.cpp:561:6: note: conversion of argument 1 would be ill-formed:
CoordBase.cpp:697:31: error: invalid user-defined conversion from 'const Rcpp::NumericVector' {aka 'const Rcpp::Vector<14, Rcpp::PreserveStorage>'} to 'int' [-fpermissive]
697 | if (!validate(x))
| ^
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: candidate is: 'Rcpp::PreserveStorage<CLASS>::operator SEXP() const [with CLASS = Rcpp::Vector<14, Rcpp::PreserveStorage>; SEXP = SEXPREC*]' (near match)
75 | inline operator SEXP() const { return data; }
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: no known conversion from 'SEXP' {aka 'SEXPREC*'} to 'int'
CoordBase.cpp:307:20: note: candidate: 'template<<declaration error>, class S> const std::vector<bool> validate()'
307 | const vector<bool> Coords<T, S>::validate() const
| ^~~~~~~~~~~~
CoordBase.cpp:307:20: note: candidate expects 0 arguments, 1 provided
CoordBase.cpp: In function 'Rcpp::DataFrame convertwaypoints(Rcpp::DataFrame, int)':
CoordBase.cpp:738:23: error: invalid user-defined conversion from 'Rcpp::DataFrame' {aka 'Rcpp::DataFrame_Impl<Rcpp::PreserveStorage>'} to 'int' [-fpermissive]
738 | checkinherits(x, "waypoints"s);
| ^
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: candidate is: 'Rcpp::PreserveStorage<CLASS>::operator SEXP() const [with CLASS = Rcpp::Vector<19>; SEXP = SEXPREC*]' (near match)
75 | inline operator SEXP() const { return data; }
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: no known conversion from 'SEXP' {aka 'SEXPREC*'} to 'int'
CoordBase.cpp:738:22: error: too many arguments to function 'void checkinherits(int)'
738 | checkinherits(x, "waypoints"s);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
CoordBase.cpp:105:13: note: declared here
105 | inline void checkinherits(const NumVec_or_DataFrame auto& t, const string classname)
| ^~~~~~~~~~~~~
CoordBase.cpp:739:46: error: invalid user-defined conversion from 'Rcpp::DataFrame' {aka 'Rcpp::DataFrame_Impl<Rcpp::PreserveStorage>'} to 'int' [-fpermissive]
739 | CoordType ct_current = get_coordtype(x);
| ^
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: candidate is: 'Rcpp::PreserveStorage<CLASS>::operator SEXP() const [with CLASS = Rcpp::Vector<19>; SEXP = SEXPREC*]' (near match)
75 | inline operator SEXP() const { return data; }
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: no known conversion from 'SEXP' {aka 'SEXPREC*'} to 'int'
CoordBase.cpp:213:42: note: initializing argument 1 of 'const CoordType get_coordtype(int)'
213 | inline const CoordType get_coordtype(int i)
| ~~~~^
CoordBase.cpp:749:47: error: no matching function for call to 'get_vec_attr<int>(Rcpp::DataFrame&, const char [7])'
749 | auto llcols{ get_vec_attr<int>(x, "llcols") };
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate: 'template<class U> std::vector<T> get_vec_attr(int)'
79 | inline vector<U> get_vec_attr(const NumVec_or_DataFrame auto& t, const string attrname)
| ^~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate expects 1 argument, 2 provided
CoordBase.cpp:752:49: error: no matching function for call to 'get_vec_attr<int>(Rcpp::DataFrame&, const char [9])'
752 | auto namescol{ get_vec_attr<int>(x, "namescol") };
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate: 'template<class U> std::vector<T> get_vec_attr(int)'
79 | inline vector<U> get_vec_attr(const NumVec_or_DataFrame auto& t, const string attrname)
| ^~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate expects 1 argument, 2 provided
CoordBase.cpp:753:49: error: no matching function for call to 'get_vec_attr<std::string>(Rcpp::DataFrame&, const char [6])'
753 | auto names{ get_vec_attr<string>(x, "names") };
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate: 'template<class U> std::vector<T> get_vec_attr(int)'
79 | inline vector<U> get_vec_attr(const NumVec_or_DataFrame auto& t, const string attrname)
| ^~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate expects 1 argument, 2 provided
CoordBase.cpp:754:50: error: no matching function for call to 'get_vec_attr<int>(Rcpp::DataFrame&, const char [10])'
754 | auto row_names{ get_vec_attr<int>(x, "row.names") };
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate: 'template<class U> std::vector<T> get_vec_attr(int)'
79 | inline vector<U> get_vec_attr(const NumVec_or_DataFrame auto& t, const string attrname)
| ^~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate expects 1 argument, 2 provided
CoordBase.cpp:755:50: error: no matching function for call to 'get_vec_attr<bool>(Rcpp::DataFrame&, const char [9])'
755 | auto validlat{ get_vec_attr<bool>(x, "validlat") };
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate: 'template<class U> std::vector<T> get_vec_attr(int)'
79 | inline vector<U> get_vec_attr(const NumVec_or_DataFrame auto& t, const string attrname)
| ^~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate expects 1 argument, 2 provided
CoordBase.cpp:756:50: error: no matching function for call to 'get_vec_attr<bool>(Rcpp::DataFrame&, const char [9])'
756 | auto validlon{ get_vec_attr<bool>(x, "validlon") };
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate: 'template<class U> std::vector<T> get_vec_attr(int)'
79 | inline vector<U> get_vec_attr(const NumVec_or_DataFrame auto& t, const string attrname)
| ^~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate expects 1 argument, 2 provided
CoordBase.cpp: In function 'Rcpp::CharacterVector formatwaypoints(Rcpp::DataFrame, bool, bool, int)':
CoordBase.cpp:785:23: error: invalid user-defined conversion from 'Rcpp::DataFrame' {aka 'Rcpp::DataFrame_Impl<Rcpp::PreserveStorage>'} to 'int' [-fpermissive]
785 | checkinherits(x, "waypoints"s);
| ^
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: candidate is: 'Rcpp::PreserveStorage<CLASS>::operator SEXP() const [with CLASS = Rcpp::Vector<19>; SEXP = SEXPREC*]' (near match)
75 | inline operator SEXP() const { return data; }
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: no known conversion from 'SEXP' {aka 'SEXPREC*'} to 'int'
CoordBase.cpp:785:22: error: too many arguments to function 'void checkinherits(int)'
785 | checkinherits(x, "waypoints"s);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
CoordBase.cpp:105:13: note: declared here
105 | inline void checkinherits(const NumVec_or_DataFrame auto& t, const string classname)
| ^~~~~~~~~~~~~
CoordBase.cpp:794:66: error: invalid user-defined conversion from 'Rcpp::DataFrame' {aka 'Rcpp::DataFrame_Impl<Rcpp::PreserveStorage>'} to 'int' [-fpermissive]
794 | auto required { fmt ? get_coordtype(fmt) : get_coordtype(x) };
| ^
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: candidate is: 'Rcpp::PreserveStorage<CLASS>::operator SEXP() const [with CLASS = Rcpp::Vector<19>; SEXP = SEXPREC*]' (near match)
75 | inline operator SEXP() const { return data; }
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: no known conversion from 'SEXP' {aka 'SEXPREC*'} to 'int'
CoordBase.cpp:213:42: note: initializing argument 1 of 'const CoordType get_coordtype(int)'
213 | inline const CoordType get_coordtype(int i)
| ~~~~^
CoordBase.cpp:797:9: error: 'rng' has not been declared
797 | rng::transform(vs_lat, vs_lon, vs_lat.begin(), [](auto& latstr, auto& lonstr){ return latstr + " " + lonstr; });
| ^~~
CoordBase.cpp: In function 'Rcpp::DataFrame validatewaypoints(Rcpp::DataFrame, bool)':
CoordBase.cpp:812:23: error: invalid user-defined conversion from 'Rcpp::DataFrame' {aka 'Rcpp::DataFrame_Impl<Rcpp::PreserveStorage>'} to 'int' [-fpermissive]
812 | checkinherits(x, "waypoints"s);
| ^
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: candidate is: 'Rcpp::PreserveStorage<CLASS>::operator SEXP() const [with CLASS = Rcpp::Vector<19>; SEXP = SEXPREC*]' (near match)
75 | inline operator SEXP() const { return data; }
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: no known conversion from 'SEXP' {aka 'SEXPREC*'} to 'int'
CoordBase.cpp:812:22: error: too many arguments to function 'void checkinherits(int)'
812 | checkinherits(x, "waypoints"s);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
CoordBase.cpp:105:13: note: declared here
105 | inline void checkinherits(const NumVec_or_DataFrame auto& t, const string classname)
| ^~~~~~~~~~~~~
CoordBase.cpp:817:30: error: no matching function for call to 'validate(Rcpp::DataFrame&)'
817 | if (!validate(x))
| ~~~~~~~~^~~
CoordBase.cpp:561:6: note: candidate: 'bool validate(int)' (near match)
561 | bool validate(const NumVec_or_DataFrame auto t, bool revalidate)
| ^~~~~~~~
CoordBase.cpp:561:6: note: conversion of argument 1 would be ill-formed:
CoordBase.cpp:817:31: error: invalid user-defined conversion from 'Rcpp::DataFrame' {aka 'Rcpp::DataFrame_Impl<Rcpp::PreserveStorage>'} to 'int' [-fpermissive]
817 | if (!validate(x))
| ^
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: candidate is: 'Rcpp::PreserveStorage<CLASS>::operator SEXP() const [with CLASS = Rcpp::Vector<19>; SEXP = SEXPREC*]' (near match)
75 | inline operator SEXP() const { return data; }
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: no known conversion from 'SEXP' {aka 'SEXPREC*'} to 'int'
CoordBase.cpp:307:20: note: candidate: 'template<<declaration error>, class S> const std::vector<bool> validate()'
307 | const vector<bool> Coords<T, S>::validate() const
| ^~~~~~~~~~~~
CoordBase.cpp:307:20: note: candidate expects 0 arguments, 1 provided
CoordBase.cpp: In function 'Rcpp::NumericVector as_coordswaypoints(Rcpp::DataFrame, bool)':
CoordBase.cpp:849:23: error: invalid user-defined conversion from 'Rcpp::DataFrame' {aka 'Rcpp::DataFrame_Impl<Rcpp::PreserveStorage>'} to 'int' [-fpermissive]
849 | checkinherits(object, "waypoints"s);
| ^~~~~~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: candidate is: 'Rcpp::PreserveStorage<CLASS>::operator SEXP() const [with CLASS = Rcpp::Vector<19>; SEXP = SEXPREC*]' (near match)
75 | inline operator SEXP() const { return data; }
| ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: no known conversion from 'SEXP' {aka 'SEXPREC*'} to 'int'
CoordBase.cpp:849:22: error: too many arguments to function 'void checkinherits(int)'
849 | checkinherits(object, "waypoints"s);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
CoordBase.cpp:105:13: note: declared here
105 | inline void checkinherits(const NumVec_or_DataFrame auto& t, const string classname)
| ^~~~~~~~~~~~~
CoordBase.cpp:850:52: error: no matching function for call to 'get_vec_attr<int>(Rcpp::DataFrame&, std::__cxx11::basic_string<char>)'
850 | NumericVector nv = object[get_vec_attr<int>(object, "llcols"s)[which ? 0 : 1] - 1];
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate: 'template<class U> std::vector<T> get_vec_attr(int)'
79 | inline vector<U> get_vec_attr(const NumVec_or_DataFrame auto& t, const string attrname)
| ^~~~~~~~~~~~
CoordBase.cpp:79:18: note: candidate expects 1 argument, 2 provided
CoordBase.cpp: In function 'Rcpp::RObject getnames(Rcpp::DataFrame)':
CoordBase.cpp:205:1: warning: control reaches end of non-void function [-Wreturn-type]
205 | }
| ^
make[1]: *** [D:/RCompile/recent/R-4.5.3/etc/x64/Makeconf:302: CoordBase.o] Error 1
make[1]: Leaving directory '/d/temp/2026_09_12_01_50_00_12905/Rtmp6LrcAt/R.INSTALL411e47fad1121/Waypoint/src'
ERROR: compilation failed for package 'Waypoint'
* removing 'd:/Rcompile/CRANpkg/lib/4.5/Waypoint'
* restoring previous 'd:/Rcompile/CRANpkg/lib/4.5/Waypoint'