Changelog
Waypoint 1.2.1
CRAN release: 2025-05-31
S3
print()methods for"coords"and"waypoints"now employ the null coalescing operator%||%as intended (#140).S3
print()method for"waypoints"objects now has an explicitfmtargument and correct formatting of the “Latitude … Longitude” headings when this argument is used (#139).New S3 extract
`[`(<coords>)and replace`[<-`(<coords>)methods for"coords"objects (#135).S3 extract
`[`(<coords>)method allows simpler code inprint.coords()andreview.coords()S3 methods (#136).Corrected
as_waypoints()andformat()documentation (#133, #134, #137).Note added to documentation for
convert().
Waypoint 1.2.0
CRAN release: 2025-05-18
Class and function forward declarations moved to header file CoordBase.h (#113).
S3
format()methods documented more comprehensively (#108).Correct error message in
get_coordtype(const int)(#111).Code improved in
format_switch(const T& t)(#112, #116).Remove redundant
Coordbase::get_ff()(#110).Use C++ {fmt} library to ensure formatting and printing of correct widths when names contain extended ASCII codes (#109, #117).
S3
format()andprint()methods for"coords"and"waypoints"objects now have afmtargument enabling changing the formatted/printed coordinate format (#129, #130, #131).
Waypoint 1.1.1
CRAN release: 2025-04-04
S3
format()method for"waypoints"objectsusenamesargument fixed.S3
print()methods for"coords"and"waypoints"objects print widths correctly whenmaxargument /getOption("max.print")is exceeded.S3
validate()methods for"coords"and"waypoints"objects now haveforceargument signifying whether to perform full de novo revalidation or simply check existing"valid","validlat"and"validlon"attributes, essentially to enable the fix to S3print()methods above.