Package: calcal 1.0.4.9000

calcal: Calendrical Calculations

An R implementation of the algorithms described in Reingold and Dershowitz (4th ed., Cambridge University Press, 2018) <doi:10.1017/9781107415058>, allowing conversion between many different calendar systems. Cultural and religious holidays from several calendars can be calculated.

Authors:Rob Hyndman [aut, cre, cph], Edward Reingold [cph, ctb], Nachum Dershowitz [cph, ctb]

calcal_1.0.4.9000.tar.gz
calcal_1.0.4.9000.zip(r-4.7)calcal_1.0.4.9000.zip(r-4.6)calcal_1.0.4.9000.zip(r-4.5)
calcal_1.0.4.9000.tgz(r-4.6-any)calcal_1.0.4.9000.tgz(r-4.5-any)
calcal_1.0.4.9000.tar.gz(r-4.7-any)calcal_1.0.4.9000.tar.gz(r-4.6-any)
calcal_1.0.4.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
calcal/json (API)
NEWS

# Install 'calcal' in R:
install.packages('calcal', repos = c('https://robjhyndman.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/robjhyndman/calcal/issues

Pkgdown/docs site:https://pkg.robjhyndman.com

On CRAN:

Conda:

6.26 score 13 stars 4 scripts 188 downloads 165 exports 5 dependencies

Last updated from:73aa34f74a. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK237
source / vignettesOK161
linux-release-x86_64OK284
macos-release-arm64OK236
macos-oldrel-arm64OK183
windows-develOK262
windows-releaseOK247
windows-oldrelOK218
wasm-releaseOK104

Exports:adventafrench_dateapersian_datearmenian_dateas_afrenchas_apersianas_armenianas_babylonianas_bahaias_balineseas_chineseas_copticas_dateas_egyptianas_ethiopicas_frenchas_gregorianas_hebrewas_hindu_lunaras_hindu_solaras_icelandicas_islamicas_isoas_japaneseas_julianas_koreanas_mayanas_ohebrewas_oislamicas_old_hindu_lunaras_old_hindu_solaras_persianas_romanas_samaritanas_saudias_tibetanas_time_of_dayas_vietnameseastronomical_easterbabylonian_datebahai_datebahai_new_yearbalinese_datebirth_of_the_babcal_afrenchcal_apersiancal_armeniancal_babyloniancal_bahaical_balinesecal_chinesecal_copticcal_egyptiancal_ethiopiccal_frenchcal_gregoriancal_hebrewcal_hindu_lunarcal_hindu_solarcal_icelandiccal_islamiccal_isocal_japanesecal_juliancal_koreancal_mayancal_ohebrewcal_oislamiccal_old_hindu_lunarcal_old_hindu_solarcal_persiancal_romancal_samaritancal_saudical_tibetancal_vietnamesechinese_datechinese_new_yearchristmascoptic_christmascoptic_dateday_of_monthday_of_weekday_of_yeardays_remainingdiwalidragon_festivaleasteregyptian_dateeid_al_adhaeid_al_fitrepiphanyethiopic_datefeast_of_ridvanfrench_datefull_moonsgranularitygranularity_namesgregorian_datehanukkahhebrew_datehindu_lunar_new_yearhindu_solar_dateicelandic_dateislamic_dateislamic_new_yeariso_datejapanese_datejulian_datekajeng_keliwonkorean_datelocationlosarlunar_phasemawlidmayan_datemesha_sankrantimonth_of_yearmoonrisemoonsetnaw_ruznew_calendarnew_datenew_moonsohebrew_dateoislamic_dateold_hindu_lunar_dateold_hindu_solar_dateorthodox_christmasorthodox_easterpassoverpentecostpersian_datepurimqing_mingramaramadanroman_daterosh_hashanahsacred_wednesdayssamaritan_datesaudi_dateshavuotshivasukkotsunrisesunsetta_anit_esthertibetan_datetibetan_new_yeartime_of_daytishah_be_avtumpekunlucky_fridaysus_daylight_saving_endus_daylight_saving_startus_election_dayus_independence_dayus_labor_dayus_memorial_dayvietnamese_dateweek_of_monthweek_of_yearyearyom_kippur

Dependencies:cligluelifecyclerlangvctrs

Creating a new calendar

Rendered fromnew_calendar.Rmdusingknitr::rmarkdownon Jun 03 2026.

Last update: 2025-07-16
Started: 2025-07-16

Readme and manuals

Help Manual

Help pageTopics
Christian Ecclesiastical Holidaysadvent astronomical_easter christmas coptic_christmas easter epiphany orthodox_christmas orthodox_easter pentecost
Create a new date vector or convert a date vector to a new calendaras_date new_date
Convert to time of dayas_time_of_day
Babylonian calendar datesas_babylonian babylonian_date
Bahá'í calendar datesas_bahai bahai_date
Bahá'í holidaysbahai_new_year birth_of_the_bab feast_of_ridvan naw_ruz
Balinese Pawukon calendar datesas_balinese balinese_date
Chinese, Japanese, Korean and Vietnamese calendar datesas_chinese as_japanese as_korean as_vietnamese chinese_date japanese_date korean_date vietnamese_date
Chinese holidayschinese_new_year dragon_festival qing_ming
Coptic and Ethoiopic calendar datesas_coptic as_ethiopic coptic_date ethiopic_date
Compute granularities from datesdays_remaining day_of_month day_of_week day_of_year month_of_year week_of_month week_of_year year
Egyptian and Armenian calendar datesarmenian_date as_armenian as_egyptian egyptian_date
French Revolutionary calendar datesafrench_date as_afrench as_french french_date
Canonical granularitiesgranularity granularity_names
Gregorian calendar datesas_gregorian gregorian_date
Hebrew calendar datesas_hebrew as_ohebrew as_samaritan hebrew_date ohebrew_date samaritan_date
Hindu holidays and special daysdiwali hindu_lunar_new_year mesha_sankranti rama sacred_wednesdays shiva
Hindu solar and lunar calendar datesas_hindu_lunar as_hindu_solar as_old_hindu_lunar as_old_hindu_solar hindu_lunar_date hindu_solar_date old_hindu_lunar_date old_hindu_solar_date
Icelandic calendar datesas_icelandic icelandic_date
Islamic calendar datesas_islamic as_oislamic as_saudi islamic_date oislamic_date saudi_date
Islamic holidayseid_al_adha eid_al_fitr islamic_new_year mawlid ramadan
ISO calendar datesas_iso iso_date
Julian calendar datesas_julian julian_date
Balinese special dayskajeng_keliwon tumpek
Locationslocation
Lunar phase at datelunar_phase
Mayan calendar datesas_mayan mayan_date
Define calendar objectscal_afrench cal_apersian cal_armenian cal_babylonian cal_bahai cal_balinese cal_chinese cal_coptic cal_egyptian cal_ethiopic cal_french cal_gregorian cal_hebrew cal_hindu_lunar cal_hindu_solar cal_icelandic cal_islamic cal_iso cal_japanese cal_julian cal_korean cal_mayan cal_ohebrew cal_oislamic cal_old_hindu_lunar cal_old_hindu_solar cal_persian cal_roman cal_samaritan cal_saudi cal_tibetan cal_vietnamese new_calendar
Full moons and new moons in Gregorian yearsfull_moons new_moons
Persian datesapersian_date as_apersian as_persian persian_date
Roman calendar datesas_roman roman_date
Sun and moon rise and set given a date and locationmoonrise moonset sunrise sunset
Tibetan calendar datesas_tibetan tibetan_date
Tibetan holidayslosar tibetan_new_year
Time of daytime_of_day
US Holidaysunlucky_fridays us_daylight_saving_end us_daylight_saving_start us_election_day us_independence_day us_labor_day us_memorial_day
Jewish Holidayshanukkah passover purim rosh_hashanah shavuot sukkot ta_anit_esther tishah_be_av yom_kippur