* using log directory 'd:/Rcompile/CRANpkg/local/4.5/Waypoint.Rcheck' * using R version 4.5.3 (2026-03-11 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'Waypoint/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'Waypoint' version '1.3.0' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'Waypoint' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.5/Waypoint.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'Waypoint' ... ** this is package 'Waypoint' version '1.3.0' ** 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_06_06_01_50_00_18785/RtmpCuMuqe/R.INSTALL1bd2c610059b0/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:17: CoordBase.h:18:1: warning: identifier 'concept' is a keyword in C++20 [-Wc++20-compat] 18 | concept NumericVector_or_DataFrame = std::is_same::value || std::is_same::value; | ^~~~~~~ CoordBase.h:147:9: warning: identifier 'requires' is a keyword in C++20 [-Wc++20-compat] 147 | requires (T t) { | ^~~~~~~~ CoordBase.h:18:1: error: 'concept' does not name a type; did you mean 'const'? 18 | concept NumericVector_or_DataFrame = std::is_same::value || std::is_same::value; | ^~~~~~~ | const CoordBase.h:18:1: note: 'concept' only available with '-std=c++20' or '-fconcepts' CoordBase.h:21:1: error: 'concept' does not name a type; did you mean 'const'? 21 | concept List_or_DataFrame = std::is_same::value || std::is_same::value; | ^~~~~~~ | const CoordBase.h:21:1: note: 'concept' only available with '-std=c++20' or '-fconcepts' CoordBase.h:40:10: error: 'NumericVector_or_DataFrame' has not been declared 40 | template | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CoordBase.h:41:37: error: 'T' does not name a type 41 | inline vector get_vec_attr(const T&, const char*); | ^ CoordBase.h:42:10: error: 'NumericVector_or_DataFrame' has not been declared 42 | template | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CoordBase.h:43:36: error: 'T' does not name a type 43 | inline int get_fmt_attribute(const T&); | ^ CoordBase.h:44:10: error: 'NumericVector_or_DataFrame' has not been declared 44 | template | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CoordBase.h:45:24: error: 'T' was not declared in this scope 45 | int check_logical_attr(T t, const char* attrname); | ^ CoordBase.h:45:29: error: expected primary-expression before 'const' 45 | int check_logical_attr(T t, const char* attrname); | ^~~~~ CoordBase.h:45:49: error: expression list treated as compound expression in initializer [-fpermissive] 45 | int check_logical_attr(T t, const char* attrname); | ^ CoordBase.h:46:10: error: 'NumericVector_or_DataFrame' has not been declared 46 | template | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CoordBase.h:47:13: error: variable or field 'checkinherits' declared void 47 | inline void checkinherits(T&, const char*); | ^~~~~~~~~~~~~ CoordBase.h:47:27: error: 'T' was not declared in this scope 47 | inline void checkinherits(T&, const char*); | ^ CoordBase.h:47:29: error: expected primary-expression before ',' token 47 | inline void checkinherits(T&, const char*); | ^ CoordBase.h:47:31: error: expected primary-expression before 'const' 47 | inline void checkinherits(T&, const char*); | ^~~~~ CoordBase.h:55:10: error: 'List_or_DataFrame' has not been declared 55 | template | ^~~~~~~~~~~~~~~~~ CoordBase.h:56:21: error: 'T' does not name a type 56 | int nameinobj(const T, const char*); | ^ CoordBase.h:71:10: error: 'NumericVector_or_DataFrame' has not been declared 71 | template | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CoordBase.h:72:44: error: 'T' does not name a type 72 | inline const CoordType get_coordtype(const T&); | ^ CoordBase.h:146:1: error: 'concept' does not name a type; did you mean 'const'? 146 | concept Coord_or_WayPoint = | ^~~~~~~ | const CoordBase.h:146:1: note: 'concept' only available with '-std=c++20' or '-fconcepts' CoordBase.h:162:10: error: 'NumericVector_or_DataFrame' has not been declared 162 | template | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CoordBase.h:163:6: error: variable or field 'convert_switch' declared void 163 | void convert_switch(T, CoordType); | ^~~~~~~~~~~~~~ CoordBase.h:163:21: error: 'T' was not declared in this scope 163 | void convert_switch(T, CoordType); | ^ CoordBase.h:163:33: error: expected primary-expression before ')' token 163 | void convert_switch(T, CoordType); | ^ CoordBase.h:164:10: error: 'Coord_or_WayPoint' has not been declared 164 | template | ^~~~~~~~~~~~~~~~~ CoordBase.h:165:36: error: 'T' does not name a type 165 | vector format_switch(const T&, CoordType); | ^ CoordBase.h:243:10: error: 'NumericVector_or_DataFrame' has not been declared 243 | template | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CoordBase.h:243:40: error: 'Coord_or_WayPoint' has not been declared 243 | template | ^~~~~~~~~~~~~~~~~ CoordBase.h:244:23: error: 'T' does not name a type 244 | bool revalidate(const T); | ^ CoordBase.h:246:32: error: unable to deduce 'const auto' from '& revalidate' 246 | constexpr auto revalid_Coord = &revalidate; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CoordBase.h:246:33: note: couldn't deduce template parameter 'auto' 246 | constexpr auto revalid_Coord = &revalidate; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CoordBase.h:247:35: error: unable to deduce 'const auto' from '& revalidate' 247 | constexpr auto revalid_WayPoint = &revalidate; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CoordBase.h:247:36: note: couldn't deduce template parameter 'auto' 247 | constexpr auto revalid_WayPoint = &revalidate; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CoordBase.h:249:10: error: 'NumericVector_or_DataFrame' has not been declared 249 | template | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CoordBase.h:249:40: error: 'Coord_or_WayPoint' has not been declared 249 | template | ^~~~~~~~~~~~~~~~~ CoordBase.h:250:14: error: 'T' does not name a type 250 | inline const T validate(const T); | ^ CoordBase.cpp:100:10: error: 'NumericVector_or_DataFrame' has not been declared 100 | template | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CoordBase.cpp:101:37: error: 'T' does not name a type 101 | inline vector get_vec_attr(const T& t, const char* attrname) | ^ CoordBase.cpp: In function 'std::vector get_vec_attr(const int&, const char*)': CoordBase.cpp:104:18: error: request for member 'hasAttribute' in 't', which is of non-class type 'const int' 104 | return t.hasAttribute(attrname) ? as>(t.attr(attrname)) : vector(); | ^~~~~~~~~~~~ CoordBase.cpp:104:59: error: request for member 'attr' in 't', which is of non-class type 'const int' 104 | return t.hasAttribute(attrname) ? as>(t.attr(attrname)) : vector(); | ^~~~ CoordBase.cpp: At global scope: CoordBase.cpp:110:10: error: 'NumericVector_or_DataFrame' has not been declared 110 | template | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CoordBase.cpp:111:36: error: 'T' does not name a type 111 | inline int get_fmt_attribute(const T& t) | ^ CoordBase.cpp: In function 'int get_fmt_attribute(const int&)': CoordBase.cpp:114:26: error: request for member 'attr' in 't', which is of non-class type 'const int' 114 | return as(t.attr("fmt")); | ^~~~ CoordBase.cpp: At global scope: CoordBase.cpp:120:10: error: 'NumericVector_or_DataFrame' has not been declared 120 | template | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CoordBase.cpp:121:5: error: redefinition of 'template< > int check_logical_attr' 121 | int check_logical_attr(T t, const char* attrname) | ^~~~~~~~~~~~~~~~~~ CoordBase.h:45:5: note: 'template< > int check_logical_attr< >' previously declared here 45 | int check_logical_attr(T t, const char* attrname); | ^~~~~~~~~~~~~~~~~~ CoordBase.cpp:121:24: error: 'T' was not declared in this scope 121 | int check_logical_attr(T t, const char* attrname) | ^ CoordBase.cpp:121:29: error: expected primary-expression before 'const' 121 | int check_logical_attr(T t, const char* attrname) | ^~~~~ CoordBase.cpp:135:10: error: 'NumericVector_or_DataFrame' has not been declared 135 | template | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CoordBase.cpp:136:13: error: variable or field 'checkinherits' declared void 136 | inline void checkinherits(T& t, const char* classname) | ^~~~~~~~~~~~~ CoordBase.cpp:136:27: error: 'T' was not declared in this scope 136 | inline void checkinherits(T& t, const char* classname) | ^ CoordBase.cpp:136:30: error: 't' was not declared in this scope; did you mean 'tm'? 136 | inline void checkinherits(T& t, const char* classname) | ^ | tm CoordBase.cpp:136:33: error: expected primary-expression before 'const' 136 | inline void checkinherits(T& t, const char* classname) | ^~~~~ CoordBase.cpp:215:10: error: 'List_or_DataFrame' has not been declared 215 | template | ^~~~~~~~~~~~~~~~~ CoordBase.cpp:216:21: error: 'T' does not name a type 216 | int nameinobj(const T t, const char* name) | ^ CoordBase.cpp: In function 'int nameinobj(int, const char*)': CoordBase.cpp:219:36: error: 'T' was not declared in this scope 219 | vector names{ get_vec_attr(t, "names") }; | ^ CoordBase.cpp: In function 'Rcpp::RObject getnames(Rcpp::DataFrame)': CoordBase.cpp:243:57: error: no matching function for call to 'get_vec_attr(const Rcpp::DataFrame&, const char [9])' 243 | vector namescolvec{ get_vec_attr(df, "namescol") }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CoordBase.cpp:101:18: note: candidate: 'template<, class U> std::vector get_vec_attr(const int&, const char*)' 101 | inline vector get_vec_attr(const T& t, const char* attrname) | ^~~~~~~~~~~~ CoordBase.cpp:101:18: note: template argument deduction/substitution failed: CoordBase.cpp: In function 'const CoordType get_coordtype(int)': CoordBase.cpp:282:20: error: 'using enum' only available with '-std=c++20' or '-std=gnu++20' 282 | using enum CoordType; | ^~~~~~~~~ CoordBase.cpp:282:29: error: 'using' with enumeration scope 'enum class CoordType' only available with '-std=c++20' or '-std=gnu++20' 282 | using enum CoordType; | ^ CoordBase.cpp:282:29: error: 'using' with enumeration scope 'enum class CoordType' only available with '-std=c++20' or '-std=gnu++20' CoordBase.cpp:282: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:290:10: error: 'NumericVector_or_DataFrame' has not been declared 290 | template | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CoordBase.cpp:291:44: error: 'T' does not name a type 291 | inline const CoordType get_coordtype(const T& t) | ^ CoordBase.cpp: In function 'const CoordType get_coordtype(const int&)': CoordBase.cpp:294:47: error: no matching function for call to 'get_fmt_attribute(const int&)' 294 | return get_coordtype(get_fmt_attribute(t)); | ~~~~~~~~~~~~~~~~~^~~ CoordBase.cpp:111:12: note: candidate: 'template< > int get_fmt_attribute(const int&)' 111 | inline int get_fmt_attribute(const T& t) | ^~~~~~~~~~~~~~~~~ CoordBase.cpp:111:12: note: template argument deduction/substitution failed: CoordBase.cpp: At global scope: CoordBase.cpp:337:10: error: 'NumericVector_or_DataFrame' has not been declared 337 | template | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CoordBase.cpp:337:40: error: 'Coord_or_WayPoint' has not been declared 337 | template | ^~~~~~~~~~~~~~~~~ CoordBase.cpp:338:6: error: variable or field 'convert_switch' declared void 338 | void convert_switch(T t, CoordType newtype) | ^~~~~~~~~~~~~~ CoordBase.cpp:338:21: error: 'T' was not declared in this scope 338 | void convert_switch(T t, CoordType newtype) | ^ CoordBase.cpp:338:36: error: expected primary-expression before 'newtype' 338 | void convert_switch(T t, CoordType newtype) | ^~~~~~~ CoordBase.cpp:370:10: error: 'Coord_or_WayPoint' has not been declared 370 | template | ^~~~~~~~~~~~~~~~~ CoordBase.cpp:371:36: error: 'T' does not name a type 371 | vector format_switch(const T& t, CoordType ctreq) | ^ CoordBase.cpp: In constructor 'Coord::Coord(CoordType, Rcpp::NumericVector)': CoordBase.cpp:487:50: error: no matching function for call to 'get_vec_attr(Rcpp::NumericVector&, const char [7])' 487 | latlon{ get_vec_attr(nv, "latlon") } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ CoordBase.cpp:101:18: note: candidate: 'template<, class U> std::vector get_vec_attr(const int&, const char*)' 101 | inline vector get_vec_attr(const T& t, const char* attrname) | ^~~~~~~~~~~~ CoordBase.cpp:101:18: note: template argument deduction/substitution failed: CoordBase.cpp:487:9: error: no matching function for call to 'std::vector::vector()' 487 | latlon{ get_vec_attr(nv, "latlon") } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/vector:67, from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/RcppCommon.h:64, from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp.h:27, from CoordBase.cpp:4: D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_bvector.h:870:9: note: candidate: 'template std::vector::vector(_InputIterator, _InputIterator, const allocator_type&) [with = _InputIterator; _Alloc = std::allocator]' 870 | vector(_InputIterator __first, _InputIterator __last, | ^~~~~~ D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_bvector.h:870:9: note: candidate expects 2 arguments, 1 provided D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_bvector.h:857:7: note: candidate: 'std::vector::vector(std::initializer_list, const allocator_type&) [with _Alloc = std::allocator; allocator_type = std::allocator]' 857 | vector(initializer_list __l, | ^~~~~~ D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_bvector.h:857:7: note: conversion of argument 1 would be ill-formed: D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_bvector.h:849:7: note: candidate: 'std::vector::vector(const std::vector&, std::__type_identity_t<_Alloc>&) [with _Alloc = std::allocator; std::__type_identity_t<_Alloc> = std::allocator]' 849 | vector(const vector& __x, const __type_identity_t& __a) | ^~~~~~ D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_bvector.h:849:7: note: candidate expects 2 arguments, 1 provided D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_bvector.h:842:7: note: candidate: 'std::vector::vector(std::vector&&, std::__type_identity_t<_Alloc>&) [with _Alloc = std::allocator; std::__type_identity_t<_Alloc> = std::allocator]' 842 | vector(vector&& __x, const __type_identity_t& __a) | ^~~~~~ D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_bvector.h:842:7: note: candidate expects 2 arguments, 1 provided D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_bvector.h:827:7: note: candidate: 'std::vector::vector(std::vector&&, const allocator_type&, std::false_type) [with _Alloc = std::allocator; allocator_type = std::allocator; std::false_type = std::false_type]' 827 | vector(vector&& __x, const allocator_type& __a, false_type) | ^~~~~~ D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_bvector.h:827:7: note: candidate expects 3 arguments, 1 provided D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_bvector.h:822:7: note: candidate: 'std::vector::vector(std::vector&&, const allocator_type&, std::true_type) [with _Alloc = std::allocator; allocator_type = std::allocator; std::true_type = std::true_type]' 822 | vector(vector&& __x, const allocator_type& __a, true_type) noexcept | ^~~~~~ D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_bvector.h:822:7: note: candidate expects 3 arguments, 1 provided D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_bvector.h:818:7: note: candidate: 'std::vector::vector(std::vector&&) [with _Alloc = std::allocator]' 818 | vector(vector&&) = default; | ^~~~~~ D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_bvector.h:818:7: note: conversion of argument 1 would be ill-formed: D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_bvector.h:809:7: note: candidate: 'std::vector::vector(const std::vector&) [with _Alloc = std::allocator]' 809 | vector(const vector& __x) | ^~~~~~ D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_bvector.h:809:7: note: conversion of argument 1 would be ill-formed: D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_bvector.h:795:7: note: candidate: 'std::vector::vector(size_type, const bool&, const allocator_type&) [with _Alloc = std::allocator; size_type = long long unsigned int; allocator_type = std::allocator]' 795 | vector(size_type __n, const bool& __value, | ^~~~~~ D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_bvector.h:795:7: note: candidate expects 3 arguments, 1 provided D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_bvector.h:790:7: note: candidate: 'std::vector::vector(size_type, const allocator_type&) [with _Alloc = std::allocator; size_type = long long unsigned int; allocator_type = std::allocator]' 790 | vector(size_type __n, const allocator_type& __a = allocator_type()) | ^~~~~~ D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_bvector.h:790:7: note: conversion of argument 1 would be ill-formed: D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_bvector.h:784:7: note: candidate: 'std::vector::vector(const allocator_type&) [with _Alloc = std::allocator; allocator_type = std::allocator]' 784 | vector(const allocator_type& __a) | ^~~~~~ D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_bvector.h:784:7: note: conversion of argument 1 would be ill-formed: D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_bvector.h:777:7: note: candidate: 'std::vector::vector() [with _Alloc = std::allocator]' 777 | vector() = default; | ^~~~~~ D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/bits/stl_bvector.h:777:7: note: candidate expects 0 arguments, 1 provided CoordBase.cpp: In constructor 'WayPoint::WayPoint(CoordType, Rcpp::DataFrame)': CoordBase.cpp:547:46: error: no matching function for call to 'get_vec_attr(Rcpp::DataFrame&, const char [7])' 547 | nvlat(df[get_vec_attr(df, "llcols")[0] - 1]), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ CoordBase.cpp:101:18: note: candidate: 'template<, class U> std::vector get_vec_attr(const int&, const char*)' 101 | inline vector get_vec_attr(const T& t, const char* attrname) | ^~~~~~~~~~~~ CoordBase.cpp:101:18: note: template argument deduction/substitution failed: CoordBase.cpp:548:46: error: no matching function for call to 'get_vec_attr(Rcpp::DataFrame&, const char [7])' 548 | nvlon(df[get_vec_attr(df, "llcols")[1] - 1]) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ CoordBase.cpp:101:18: note: candidate: 'template<, class U> std::vector get_vec_attr(const int&, const char*)' 101 | inline vector get_vec_attr(const T& t, const char* attrname) | ^~~~~~~~~~~~ CoordBase.cpp:101:18: note: template argument deduction/substitution failed: CoordBase.cpp: In function 'bool check_valid(Rcpp::NumericVector)': CoordBase.cpp:628:43: error: missing template arguments before '(' token 628 | int validated = check_logical_attr(nv, "valid"); | ^ CoordBase.cpp: In function 'bool check_valid(Rcpp::DataFrame)': CoordBase.cpp:641:46: error: missing template arguments before '(' token 641 | int latvalidated = check_logical_attr(df, "validlat"); | ^ CoordBase.cpp:645:46: error: missing template arguments before '(' token 645 | int lonvalidated = check_logical_attr(df, "validlon"); | ^ CoordBase.cpp: At global scope: CoordBase.cpp:659:10: error: 'NumericVector_or_DataFrame' has not been declared 659 | template | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CoordBase.cpp:659:40: error: 'Coord_or_WayPoint' has not been declared 659 | template | ^~~~~~~~~~~~~~~~~ CoordBase.cpp:660:23: error: 'T' does not name a type 660 | bool revalidate(const T t) | ^ CoordBase.cpp: In function 'bool revalidate(int)': CoordBase.cpp:664:9: error: 'validate' was not declared in this scope; did you mean 'revalidate'? 664 | validate(t); | ^~~~~~~~ | revalidate CoordBase.cpp:664:18: error: 'T' was not declared in this scope 664 | validate(t); | ^ CoordBase.cpp:664:21: error: 'U' was not declared in this scope 664 | validate(t); | ^ CoordBase.cpp:665:27: error: call of overloaded 'check_valid(const int&)' is ambiguous 665 | return check_valid(t); | ~~~~~~~~~~~^~~ CoordBase.cpp:625:6: note: candidate: 'bool check_valid(Rcpp::NumericVector)' 625 | bool check_valid(const NumericVector nv) | ^~~~~~~~~~~ CoordBase.cpp:637:6: note: candidate: 'bool check_valid(Rcpp::DataFrame)' 637 | bool check_valid(const DataFrame df) | ^~~~~~~~~~~ CoordBase.cpp: At global scope: CoordBase.cpp:671:10: error: 'NumericVector_or_DataFrame' has not been declared 671 | template | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CoordBase.cpp:671:40: error: 'Coord_or_WayPoint' has not been declared 671 | template | ^~~~~~~~~~~~~~~~~ CoordBase.cpp:672:14: error: 'T' does not name a type 672 | inline const T validate(const T t) | ^ CoordBase.cpp: In function 'bool valid_ll(Rcpp::DataFrame)': CoordBase.cpp:686:53: error: no matching function for call to 'get_vec_attr(const Rcpp::DataFrame&, const char [7])' 686 | vector llcols { get_vec_attr(df, "llcols") }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ CoordBase.cpp:101:18: note: candidate: 'template<, class U> std::vector get_vec_attr(const int&, const char*)' 101 | inline vector get_vec_attr(const T& t, const char* attrname) | ^~~~~~~~~~~~ CoordBase.cpp:101:18: note: template argument deduction/substitution failed: CoordBase.cpp: In function 'Rcpp::NumericVector convertcoords(Rcpp::NumericVector, int)': CoordBase.cpp:721:9: error: 'checkinherits' was not declared in this scope; did you mean 'Rf_inherits'? 721 | checkinherits(x, "coords"); | ^~~~~~~~~~~~~ | Rf_inherits CoordBase.cpp:722:39: error: no matching function for call to 'get_coordtype(Rcpp::NumericVector&)' 722 | CoordType type = get_coordtype(x); | ~~~~~~~~~~~~~^~~ CoordBase.cpp:277:24: note: candidate: 'const CoordType get_coordtype(int)' (near match) 277 | inline const CoordType get_coordtype(int i) | ^~~~~~~~~~~~~ CoordBase.cpp:277:24: note: conversion of argument 1 would be ill-formed: CoordBase.cpp:722:40: error: invalid user-defined conversion from 'Rcpp::NumericVector' {aka 'Rcpp::Vector<14, Rcpp::PreserveStorage>'} to 'int' [-fpermissive] 722 | CoordType type = get_coordtype(x); | ^ 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: D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: candidate is: 'Rcpp::PreserveStorage::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:291:24: note: candidate: 'template< > const CoordType get_coordtype(const int&)' 291 | inline const CoordType get_coordtype(const T& t) | ^~~~~~~~~~~~~ CoordBase.cpp:291:24: note: template argument deduction/substitution failed: CoordBase.cpp:730:17: error: 'convert_switch' was not declared in this scope 730 | convert_switch(x, newtype); | ^~~~~~~~~~~~~~ CoordBase.cpp:730:45: error: expected primary-expression before ',' token 730 | convert_switch(x, newtype); | ^ CoordBase.cpp:730:52: error: expected primary-expression before '>' token 730 | convert_switch(x, newtype); | ^ CoordBase.cpp:730:54: warning: left operand of comma operator has no effect [-Wunused-value] 730 | convert_switch(x, newtype); | ^ CoordBase.cpp: In function 'Rcpp::NumericVector latlon(Rcpp::NumericVector, Rcpp::LogicalVector)': CoordBase.cpp:742:9: error: 'checkinherits' was not declared in this scope; did you mean 'Rf_inherits'? 742 | checkinherits(cd, "coords"); | ^~~~~~~~~~~~~ | Rf_inherits CoordBase.cpp:747:9: error: 'validate' was not declared in this scope; did you mean 'revalidate'? 747 | validate(cd); | ^~~~~~~~ | revalidate CoordBase.cpp:747:31: error: expected primary-expression before ',' token 747 | validate(cd); | ^ CoordBase.cpp:747:38: error: expected primary-expression before '>' token 747 | validate(cd); | ^ CoordBase.cpp: In function 'Rcpp::NumericVector validatecoords(Rcpp::NumericVector, bool)': CoordBase.cpp:759:9: error: 'checkinherits' was not declared in this scope; did you mean 'Rf_inherits'? 759 | checkinherits(x, "coords"); | ^~~~~~~~~~~~~ | Rf_inherits CoordBase.cpp:761:24: error: 'validate' was not declared in this scope; did you mean 'revalidate'? 761 | return validate(x); | ^~~~~~~~ | revalidate CoordBase.cpp:761:46: error: expected primary-expression before ',' token 761 | return validate(x); | ^ CoordBase.cpp:761:53: error: expected primary-expression before '>' token 761 | return validate(x); | ^ CoordBase.cpp: In function 'Rcpp::CharacterVector formatcoords(Rcpp::NumericVector, bool, bool, int)': CoordBase.cpp:777:9: error: 'checkinherits' was not declared in this scope; did you mean 'Rf_inherits'? 777 | checkinherits(x, "coords"); | ^~~~~~~~~~~~~ | Rf_inherits CoordBase.cpp:783:37: error: no matching function for call to 'get_coordtype(Rcpp::NumericVector&)' 783 | CoordType ct { get_coordtype(x) }; | ~~~~~~~~~~~~~^~~ CoordBase.cpp:277:24: note: candidate: 'const CoordType get_coordtype(int)' (near match) 277 | inline const CoordType get_coordtype(int i) | ^~~~~~~~~~~~~ CoordBase.cpp:277:24: note: conversion of argument 1 would be ill-formed: CoordBase.cpp:783:38: error: invalid user-defined conversion from 'Rcpp::NumericVector' {aka 'Rcpp::Vector<14, Rcpp::PreserveStorage>'} to 'int' [-fpermissive] 783 | CoordType ct { get_coordtype(x) }; | ^ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: candidate is: 'Rcpp::PreserveStorage::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:291:24: note: candidate: 'template< > const CoordType get_coordtype(const int&)' 291 | inline const CoordType get_coordtype(const T& t) | ^~~~~~~~~~~~~ CoordBase.cpp:291:24: note: template argument deduction/substitution failed: CoordBase.cpp:784:33: error: no matching function for call to 'format_switch(Coord, CoordType)' 784 | vector sv{ format_switch(Coord(ct, x), fmt ? get_coordtype(fmt) : ct) }; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CoordBase.cpp:371:16: note: candidate: 'template< > std::vector > format_switch(const int&, CoordType)' 371 | vector format_switch(const T& t, CoordType ctreq) | ^~~~~~~~~~~~~ CoordBase.cpp:371:16: note: template argument deduction/substitution failed: CoordBase.cpp:785:58: error: no matching function for call to 'get_vec_attr(Rcpp::NumericVector&, const char [6])' 785 | vector names{ get_vec_attr(x, "names") }; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ CoordBase.cpp:101:18: note: candidate: 'template<, class U> std::vector get_vec_attr(const int&, const char*)' 101 | inline vector get_vec_attr(const T& t, const char* attrname) | ^~~~~~~~~~~~ CoordBase.cpp:101:18: note: template argument deduction/substitution failed: CoordBase.cpp: In function 'Rcpp::DataFrame as_waypoints(Rcpp::DataFrame, int)': CoordBase.cpp:804:37: error: no matching function for call to 'nameinobj(Rcpp::DataFrame&, const char [5])' 804 | namescol = nameinobj(object, "name"); | ~~~~~~~~~^~~~~~~~~~~~~~~~ CoordBase.cpp:216:5: note: candidate: 'template< > int nameinobj(int, const char*)' 216 | int nameinobj(const T t, const char* name) | ^~~~~~~~~ CoordBase.cpp:216:5: note: template argument deduction/substitution failed: CoordBase.cpp: In function 'Rcpp::DataFrame convertwaypoints(Rcpp::DataFrame, int)': CoordBase.cpp:826:9: error: 'checkinherits' was not declared in this scope; did you mean 'Rf_inherits'? 826 | checkinherits(x, "waypoints"); | ^~~~~~~~~~~~~ | Rf_inherits CoordBase.cpp:827:39: error: no matching function for call to 'get_coordtype(Rcpp::DataFrame&)' 827 | CoordType type = get_coordtype(x); | ~~~~~~~~~~~~~^~~ CoordBase.cpp:277:24: note: candidate: 'const CoordType get_coordtype(int)' (near match) 277 | inline const CoordType get_coordtype(int i) | ^~~~~~~~~~~~~ CoordBase.cpp:277:24: note: conversion of argument 1 would be ill-formed: CoordBase.cpp:827:40: error: invalid user-defined conversion from 'Rcpp::DataFrame' {aka 'Rcpp::DataFrame_Impl'} to 'int' [-fpermissive] 827 | CoordType type = get_coordtype(x); | ^ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: candidate is: 'Rcpp::PreserveStorage::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:291:24: note: candidate: 'template< > const CoordType get_coordtype(const int&)' 291 | inline const CoordType get_coordtype(const T& t) | ^~~~~~~~~~~~~ CoordBase.cpp:291:24: note: template argument deduction/substitution failed: CoordBase.cpp:837:17: error: 'convert_switch' was not declared in this scope 837 | convert_switch(x, newtype); | ^~~~~~~~~~~~~~ CoordBase.cpp:837:41: error: expected primary-expression before ',' token 837 | convert_switch(x, newtype); | ^ CoordBase.cpp:837:51: error: expected primary-expression before '>' token 837 | convert_switch(x, newtype); | ^ CoordBase.cpp:837:53: warning: left operand of comma operator has no effect [-Wunused-value] 837 | convert_switch(x, newtype); | ^ CoordBase.cpp: In function 'Rcpp::DataFrame validatewaypoints(Rcpp::DataFrame, bool)': CoordBase.cpp:850:9: error: 'checkinherits' was not declared in this scope; did you mean 'Rf_inherits'? 850 | checkinherits(x, "waypoints"); | ^~~~~~~~~~~~~ | Rf_inherits CoordBase.cpp:854:24: error: 'validate' was not declared in this scope; did you mean 'revalidate'? 854 | return validate(x); | ^~~~~~~~ | revalidate CoordBase.cpp:854:42: error: expected primary-expression before ',' token 854 | return validate(x); | ^ CoordBase.cpp:854:52: error: expected primary-expression before '>' token 854 | return validate(x); | ^ CoordBase.cpp: In function 'Rcpp::CharacterVector formatwaypoints(Rcpp::DataFrame, bool, bool, int)': CoordBase.cpp:870:9: error: 'checkinherits' was not declared in this scope; did you mean 'Rf_inherits'? 870 | checkinherits(x, "waypoints"); | ^~~~~~~~~~~~~ | Rf_inherits CoordBase.cpp:878:37: error: no matching function for call to 'get_coordtype(Rcpp::DataFrame&)' 878 | CoordType ct { get_coordtype(x) }; | ~~~~~~~~~~~~~^~~ CoordBase.cpp:277:24: note: candidate: 'const CoordType get_coordtype(int)' (near match) 277 | inline const CoordType get_coordtype(int i) | ^~~~~~~~~~~~~ CoordBase.cpp:277:24: note: conversion of argument 1 would be ill-formed: CoordBase.cpp:878:38: error: invalid user-defined conversion from 'Rcpp::DataFrame' {aka 'Rcpp::DataFrame_Impl'} to 'int' [-fpermissive] 878 | CoordType ct { get_coordtype(x) }; | ^ D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp/storage/PreserveStorage.h:75:16: note: candidate is: 'Rcpp::PreserveStorage::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:291:24: note: candidate: 'template< > const CoordType get_coordtype(const int&)' 291 | inline const CoordType get_coordtype(const T& t) | ^~~~~~~~~~~~~ CoordBase.cpp:291:24: note: template argument deduction/substitution failed: CoordBase.cpp:879:33: error: no matching function for call to 'format_switch(WayPoint, CoordType)' 879 | vector sv{ format_switch(WayPoint(ct, x), fmt ? get_coordtype(fmt) : ct) }; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CoordBase.cpp:371:16: note: candidate: 'template< > std::vector > format_switch(const int&, CoordType)' 371 | vector format_switch(const T& t, CoordType ctreq) | ^~~~~~~~~~~~~ CoordBase.cpp:371:16: note: template argument deduction/substitution failed: CoordBase.cpp: In function 'Rcpp::NumericVector as_coordswaypoints(Rcpp::DataFrame, bool)': CoordBase.cpp:912:9: error: 'checkinherits' was not declared in this scope; did you mean 'Rf_inherits'? 912 | checkinherits(object, "waypoints"); | ^~~~~~~~~~~~~ | Rf_inherits CoordBase.cpp:913:63: error: no matching function for call to 'get_vec_attr(Rcpp::DataFrame&, const char [7])' 913 | NumericVector nv = object[get_vec_attr(object, "llcols")[which ? 0 : 1] - 1]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ CoordBase.cpp:101:18: note: candidate: 'template<, class U> std::vector get_vec_attr(const int&, const char*)' 101 | inline vector get_vec_attr(const T& t, const char* attrname) | ^~~~~~~~~~~~ CoordBase.cpp:101:18: note: template argument deduction/substitution failed: CoordBase.cpp: In function 'Rcpp::RObject getnames(Rcpp::DataFrame)': CoordBase.cpp:255:1: warning: control reaches end of non-void function [-Wreturn-type] 255 | } | ^ make[1]: *** [D:/RCompile/recent/R-4.5.3/etc/x64/Makeconf:302: CoordBase.o] Error 1 make[1]: Leaving directory '/d/temp/2026_06_06_01_50_00_18785/RtmpCuMuqe/R.INSTALL1bd2c610059b0/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'