The fifth release of the still new-ish qlcal package arrivied at CRAN just now.
qlcal delivers the calendaring parts of QuantLib. It is provided (for the R package) as a set of included files, so the package is self-contained and does not depend on an external QuantLib library (which can be demanding to build). qlcal covers over sixty country / market calendars and can compute holiday lists, its complement (i.e. business day lists) and much more.
This release brings updates to five calendars from the QuantLib 1.30 release from this week.
Changes in version 0.0.5 (2023-04-19)
Calendars routines for Australia, Denmark, New Zealand, Turkey and the US have been updated from QuantLib 1.30.
Support for 'Australia/ASX' has been added.
Added demo showing all US holidays in current year
We also added a quick little demo using
column-bind calendars produced from each of the different US
sub-calendars. This is a slightly updated version of the sketch we
tooted a few days ago. The output now is
> print(Reduce(cbind, Map(makeHol, cals))) LiborImpact NYSE GovernmentBond NERC FederalReserve2023-01-02 TRUE TRUE TRUE TRUE TRUE 2023-01-16 TRUE TRUE TRUE NA TRUE 2023-02-20 TRUE TRUE TRUE NA TRUE 2023-04-07 NA TRUE NA NA NA 2023-05-29 TRUE TRUE TRUE TRUE TRUE 2023-06-19 TRUE TRUE TRUE NA TRUE 2023-07-04 TRUE TRUE TRUE TRUE TRUE 2023-09-04 TRUE TRUE TRUE TRUE TRUE 2023-10-09 TRUE NA TRUE NA TRUE 2023-11-10 TRUE NA NA NA NA 2023-11-23 TRUE TRUE TRUE TRUE TRUE 2023-12-25 TRUE TRUE TRUE TRUE TRUE >
(and we just discovered a tiny
bug in the demo so see the
git repo – sorry!).
The release was finalized uploaded yesterday morning. But because we
have to set
CXX_STD=CXX14 as satisfy requirements of some
of the Boost headers, we get ourselves a NOTE and with that a manual
inspection … and a delay of 1 1/2 days. Not really all that meaningful
in the grand scheme of things but still suboptimal relative to the fully
automated passage this release should have gotten. Oh well.
Courtesy of my CRANberries, there is a diffstat report for this release. See the project page and package documentation for more details, and more examples.
If you like this or other open-source work I do, you can now sponsor me at GitHub.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.