gnu: Add r-mmwrweek.

* gnu/packages/cran.scm (r-mmwrweek): New variable.
This commit is contained in:
Ricardo Wurmus 2021-08-26 11:45:37 +02:00
parent 4638c52e32
commit 87682c88c8
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -31170,3 +31170,26 @@ (define-public r-zonator
"Create new analysis setups and deal with results of Zonation
conservation prioritization software.")
(license license:bsd-2)))
(define-public r-mmwrweek
(package
(name "r-mmwrweek")
(version "0.1.3")
(source
(origin
(method url-fetch)
(uri (cran-uri "MMWRweek" version))
(sha256
(base32
"1l1ks44v52iggw9nhs56lfj6804yab5b17k8fzrc6h1kvj3vda0s"))))
(properties `((upstream-name . "MMWRweek")))
(build-system r-build-system)
(home-page "http://wwwn.cdc.gov/nndss/document/MMWR_Week_overview.pdf")
(synopsis "Convert dates to MMWR day, week, and year")
(description
"The first day of any MMWR week is Sunday. MMWR week numbering is
sequential beginning with 1 and incrementing with each week to a maximum of 52
or 53. MMWR week #1 of an MMWR year is the first week of the year that has at
least four days in the calendar year. This package provides functionality to
convert dates to MMWR day, week, and year and the reverse.")
(license license:gpl2+)))