Package: almanac 1.0.1
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.1.tar.gz
almanac_1.0.1.zip(r-4.7-x86_64)almanac_1.0.1.zip(r-4.7-arm64)almanac_1.0.1.zip(r-4.6-x86_64)almanac_1.0.1.zip(r-4.6-arm64)
almanac_1.0.1.tar.gz(r-4.7-arm64)almanac_1.0.1.tar.gz(r-4.7-x86_64)almanac_1.0.1.tar.gz(r-4.6-arm64)almanac_1.0.1.tar.gz(r-4.6-x86_64)
almanac_1.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
almanac/json (API)
| # Install 'almanac' in R: |
| install.packages('almanac', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/davisvaughan/almanac/issues
Last updated from:c7d6c3c337. Checks:10 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 140 | ||
| linux-devel-x86_64 | OK | 195 | ||
| source / vignettes | OK | 254 | ||
| linux-release-arm64 | OK | 147 | ||
| linux-release-x86_64 | OK | 162 | ||
| windows-devel-arm64 | OK | 291 | ||
| windows-devel-x86_64 | OK | 144 | ||
| windows-release-arm64 | OK | 243 | ||
| windows-release-x86_64 | OK | 159 | ||
| wasm-release | OK | 101 |
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
Last update: 2026-10-27
Started: 2020-05-27
Last update: 2026-10-27
Started: 2020-05-27
Last update: 2023-04-13
Started: 2020-05-27
Last update: 2023-04-13
Started: 2023-04-13
Last update: 2023-04-13
Started: 2020-05-27
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 |
