An R Package to work with Vedic Calendar System.
@maintainer: @neerajdhanraj
To get tithi
or lunar day given a Gregorian calendar date
library("VedicDateTime")
place <- c(15.34, 75.13, +5.5)
tithi(gregorian_to_jd(08,09,2022), place)
To get vaara
or day of the week given a Gregorian calendar date
library("VedicDateTime")
vaara(gregorian_to_jd(08,09,2022))
To get masa
or lunar month given a Gregorian calendar date
library("VedicDateTime")
place <- c(15.34, 75.13, +5.5)
masa(gregorian_to_jd(08,09,2022), place)
To get Julian day from a given Gregorian calendar date
library("VedicDateTime")
gregorian_to_jd(08,09,2022) # dd, mm, yyyy
To install the development version from GitHub
devtools::install_github("saradindusengupta/VedicDateTime")
devtools::install_github("prajwalkpatil/VedicDateTime")
To build from source, clone the repository from Github
devtools::build(args = c('--compact-vignettes=both'))
devtools::install()
To check for CRAN submission
rhub::check_for_cran(check_args = c('--compact-vignettes=both'))
devtools::check(build_args = c('--compact-vignettes=both'))
devtools::release(args = c('--compact-vignettes=both'))
To run the test cases for development
devtools::test()
To generate the test coverage report cases for development
covr::package_coverage("VedicDateTime")
Check cran-comments.md to verify latest updates