Package: almanac 1.0.0.9000
almanac: Tools for Working with Recurrence Rules
Provides tools for defining recurrence rules and recurrence sets. Recurrence rules are a programmatic way to define a recurring event, like the first Monday of December. Multiple recurrence rules can be combined into larger recurrence sets. A full holiday and calendar interface is also provided that can generate holidays within a particular year, can detect if a date is a holiday, can respect holiday observance rules, and allows for custom holidays.
Authors:
almanac_1.0.0.9000.tar.gz
almanac_1.0.0.9000.zip(r-4.7)almanac_1.0.0.9000.zip(r-4.6)almanac_1.0.0.9000.zip(r-4.5)
almanac_1.0.0.9000.tgz(r-4.6-x86_64)almanac_1.0.0.9000.tgz(r-4.6-arm64)almanac_1.0.0.9000.tgz(r-4.5-x86_64)almanac_1.0.0.9000.tgz(r-4.5-arm64)
almanac_1.0.0.9000.tar.gz(r-4.7-arm64)almanac_1.0.0.9000.tar.gz(r-4.7-x86_64)almanac_1.0.0.9000.tar.gz(r-4.6-arm64)almanac_1.0.0.9000.tar.gz(r-4.6-x86_64)
almanac_1.0.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
almanac/json (API)
NEWS
| # Install 'almanac' in R: |
| install.packages('almanac', repos = c('https://davisvaughan.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/davisvaughan/almanac/issues
calendarsholidaysrecurrence-rules
Last updated from:47a6b0fe10. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 165 | ||
| linux-devel-x86_64 | OK | 165 | ||
| source / vignettes | OK | 189 | ||
| linux-release-arm64 | OK | 188 | ||
| linux-release-x86_64 | OK | 170 | ||
| macos-release-arm64 | OK | 167 | ||
| macos-release-x86_64 | OK | 228 | ||
| macos-oldrel-arm64 | OK | 111 | ||
| macos-oldrel-x86_64 | OK | 300 | ||
| windows-devel | OK | 155 | ||
| windows-release | OK | 157 | ||
| windows-oldrel | OK | 141 | ||
| wasm-release | OK | 134 |
Exports:%>%%s-%%s+%add_exdatesadd_rdatesadd_rscheduleadj_followingadj_modified_followingadj_modified_precedingadj_nearestadj_noneadj_precedingalma_eventsalma_inalma_nextalma_previousalma_searchalma_seqalma_stepalmanac_sincealmanac_untilcal_addcal_eventscal_matchcal_namescal_nextcal_previouscal_removecal_us_federaldailyhol_christmashol_christmas_evehol_easterhol_good_fridayhol_halloweenhol_new_years_dayhol_new_years_evehol_observehol_offsethol_renamehol_st_patricks_dayhol_us_election_dayhol_us_fathers_dayhol_us_independence_dayhol_us_indigenous_peoples_dayhol_us_juneteenthhol_us_labor_dayhol_us_martin_luther_king_junior_dayhol_us_memorial_dayhol_us_mothers_dayhol_us_presidents_dayhol_us_thanksgivinghol_us_veterans_dayhol_valentines_daymonthlynew_rscheduleradjustedrcalendarrcustomrecur_for_countrecur_on_day_of_monthrecur_on_day_of_weekrecur_on_day_of_yearrecur_on_easterrecur_on_intervalrecur_on_mdayrecur_on_month_of_yearrecur_on_positionrecur_on_wdayrecur_on_week_of_yearrecur_on_weekdaysrecur_on_weekendsrecur_on_ydayrecur_on_ymonthrecur_on_yweekrecur_with_week_startrholidayrintersectroffsetrschedule_eventsrsetdiffrunionsteppervec_arith.almanac_stepperweeklyworkdaysyearly
Dependencies:clicpp11curlgenericsgluejsonlitelifecyclelubridatemagrittrR6RcpprlangtimechangeV8vctrs
Adjusting and shifting dates
Rendered fromadjust-and-shift.Rmdusingknitr::rmarkdownon May 19 2026.Last update: 2023-04-06
Started: 2019-10-02
Holidays and calendars
Rendered fromholidays-calendars.Rmdusingknitr::rmarkdownon May 19 2026.Last update: 2023-04-11
Started: 2023-04-11
iCalendar specification
Rendered fromicalendar.Rmdusingknitr::rmarkdownon May 19 2026.Last update: 2023-04-04
Started: 2019-10-03
Introduction to almanac
Rendered fromalmanac.Rmdusingknitr::rmarkdownon May 19 2026.Last update: 2023-04-10
Started: 2019-10-02
Quarterly rules
Rendered fromquarterly.Rmdusingknitr::rmarkdownon May 19 2026.Last update: 2023-04-06
Started: 2019-10-03
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Date adjustments | adjustments adj_following adj_modified_following adj_modified_preceding adj_nearest adj_none adj_preceding |
| Get all events | alma_events |
| Check if dates are in an event set | alma_in |
| Generate the next or previous event | alma_next alma_previous |
| Search for events | alma_search |
| Generate date sequences | alma_seq |
| Step relative to an rschedule | alma_step |
| Default values in almanac | almanac-defaults almanac_since almanac_until |
| Calendar events | cal_events |
| Calendar matching | cal_match |
| Calendar names | cal_names |
| US federal calendar | cal_us_federal |
| Calendar additions and removals | calendar-add-remove cal_add cal_remove |
| Calendar locations | calendar-locations cal_next cal_previous |
| Holiday utility functions | holiday-utilities hol_observe hol_offset hol_rename |
| Holidays | holidays hol_christmas hol_christmas_eve hol_easter hol_good_friday hol_halloween hol_new_years_day hol_new_years_eve hol_st_patricks_day hol_us_election_day hol_us_fathers_day hol_us_independence_day hol_us_indigenous_peoples_day hol_us_juneteenth hol_us_labor_day hol_us_martin_luther_king_junior_day hol_us_memorial_day hol_us_mothers_day hol_us_presidents_day hol_us_thanksgiving hol_us_veterans_day hol_valentines_day |
| Create a new rschedule | new_rschedule rschedule_events |
| Create an adjusted rschedule | radjusted |
| Create a recurring calendar | rcalendar |
| Create a custom rschedule | rcustom |
| Control the number of times to recur | recur_for_count |
| Recur on a day of the month | recur_on_day_of_month |
| Recur on a day of the week | recur_on_day_of_week recur_on_weekdays recur_on_weekends |
| Recur on a day of the year | recur_on_day_of_year |
| Recur on easter | recur_on_easter |
| Recur on an interval | recur_on_interval |
| Recur on a month of the year | recur_on_month_of_year |
| Recur on a position within a frequency | recur_on_position |
| Recur on a week of the year | recur_on_week_of_year |
| Control the start of the week | recur_with_week_start |
| Create a recurring holiday | rholiday |
| Create an offset rschedule | roffset |
| Create a recurrence rule | daily monthly rrule weekly yearly |
| Create a new set-based recurrence schedule | rintersect rset rsetdiff runion |
| Create a new stepper | %s+% %s-% stepper workdays |
