joeroe / era

R package for year-based time scales

Home Page:https://era.joeroe.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add function for validating eras

joeroe opened this issue · comments

eras are complicated enough that a validate_era() function is needed. This should be called in the era() constructor, but not new_era(), to maintain the ability to create (invalid) empty eras internally.