Closed Mark-Eis closed 6 months ago
https://github.com/Mark-Eis/BitsnBobs/blob/c8d5c4dee51a135860e99e2f1c3838c1d091bbab/R/degreeconvert.R#L216C1-L216C19
if (!dms %@% ".latorlon" %in% c(NA, "lat", "lon") if (!attr(dms, ".latorlon") %in% c(NA, "lat", "lon") stop( "Attribute `.latorlon` must be one of `NA`, `\"lat\"`, `\"lon\"`", call. = FALSE )
Also check: –
if (!is.logical(dms %@% "negative")) stop( "Attribute `\"negative\"` must be of type `logical`", call. = FALSE )
3f3b37a
https://github.com/Mark-Eis/BitsnBobs/blob/c8d5c4dee51a135860e99e2f1c3838c1d091bbab/R/degreeconvert.R#L216C1-L216C19