phsmethods 0.1.1
-
file_size(),fin_year(),qtr(),qtr_end(),qtr_next()andqtr_prev()now useinherits(x, "y")instead ofclass(x) == "y"to check class. The reasoning is explained in this blogpost by Martin Maechler. -
The performance of
fin_year()has been improved. The function now extracts the unique date(s) from the input, calculates the associated financial year(s), and joins to the original input. This is in contrast with the original method, which directly calculated the financial year of all input dates individually.