Open sckott opened 5 years ago
not sure if this is the appropriate ticket to comment on, but it would be nice if parse_lat
/parse_lon
did not throw out a warning for detecting NA values in the vector. E.g.
> parzer::parse_lon(c(42.5, NA, 43.6, 56.3, -53, 0))
[1] 42.5 NaN 43.6 56.3 -53.0 0.0
Warning message:
In base::.Call(...) : no digits detected, got: NA
Seems to be a good place to me. Thanks! We are in the process of migrating from Rcpp to cpp11 so this might be something directly affected and if not, I agree there is room for improvement so I'll keep it in mind.
not sure how to error. some methods