guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/11: gnu: Add r-mmwrweek.


From: guix-commits
Subject: 05/11: gnu: Add r-mmwrweek.
Date: Thu, 26 Aug 2021 05:46:49 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 87682c88c858a2b545b347ad951524f14bd98633
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Aug 26 11:45:37 2021 +0200

    gnu: Add r-mmwrweek.
    
    * gnu/packages/cran.scm (r-mmwrweek): New variable.
---
 gnu/packages/cran.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index a8164c8..a66ec87 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -31170,3 +31170,26 @@ concentric rings and radial lines emanating from a 
central point.")
      "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+)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]