Changelog
Source:NEWS.md
mcrutils 0.0.0.9009
New
-
most_recent_sunday()andmost_recent_monday()to return the date of the most recent Sunday or Monday that is on or before the current date or a specified reference date.
mcrutils 0.0.0.9008
New
bizday_of_period()to compute the business day of a date within a given period (e.g. date xxx is the 3rd business day of the month according to the UnitedStates QuantLib calendar)is_bizday(),bizdays_between()which wrap similarqlcalfunctions, but allow evaluation in a specified QuantLib calendar without making persistent changes to the globally configured calendar.with_calendar()andlocal_calendar()which facilitate temporary changes to the configuredqlcalQuantLib calendar a’lawith_*()andlocal_*()functions from thewithrpackage.set_calendar()which changes the globally configured qlcal QuantLib calendar, but only if the specified calendar is valid and different from the currently configured calendar.
mcrutils 0.0.0.9007
New
-
periodic_bizdays()function to calculate business days between two dates with a specified periodicity (e.g., weekly, monthly), using RQuantLib calendars for holiday definitions. A convenience wrapper aroundbizdays::bizdays()
mcrutils 0.0.0.9006
New
-
plot_accounts_by_status()can now display lost accounts in two ways. Default behaviorlost = "detailed"shows temporarily_lost and termially_lost separately (as in prior versions), whilelost = "simple"combines them into a single lost category.
Changed
-
auto_dt()now includes copy and download buttons by default. Setbuttons = FALSEto suppress