Conversion between eras with NA units
joeroe opened this issue · comments
Joe Roe commented
yr_transform()
currently throws an error if either the source or destination era has an NA unit, following the R convention that NA == NA
is NA.
It might not be necessary to be this strict, for example to allow transformations between era("bp") and era("bce"), and just warn that there is an assumption that the units are comparable.