this_year()now considers the current date, returns a floored integer (i.e. the actual current calendar year), and is vectorised over
Second beta / CRAN pre-release.
era_yearclass, which describes its length in solar days as well as its name. Added functions for constructing and working with
-1(“backwards”). The previous character arguments still work but are deprecated.
yr(1, "BP") + yr(1, "cal BP")now works (with a warning) (#3).
yrobjects are now validated when constructed, using new functions
is_valid_yr()(#7 and #8).
this_year(), which returns the current year as a
era(NA)now returns an error, not a vector of all standard eras (#20).
eraarguments in functions can now accept a character vector (#20)
era(<era>)now returns an era with the same parameters (to enable the above)
First beta release, including:
era_yr) representing years with an era
erarepresenting an era definition
yr_transform()function for converting years between eras
NEWS.mdfile to track changes to the package.