From 1cde746700fe633ff338621160e04c3deaf11584 Mon Sep 17 00:00:00 2001 From: Konrad Hinsen Date: Wed, 28 Mar 2018 13:14:07 +0200 Subject: gnu: Add r-parsedate. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/cran.scm (r-parsedate): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/cran.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 7b49fbdbc0..6f85f0d803 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2018 Sahithi Yarlagadda ;;; Copyright © 2018 Sandeep Subramanian ;;; Copyright © 2018 Charlie Ritter +;;; Copyright © 2018 Konrad Hinsen ;;; ;;; This file is part of GNU Guix. ;;; @@ -3548,3 +3549,25 @@ (define-public r-arules It also provides C implementations of the association mining algorithms Apriori and Eclat.") (license license:gpl3))) + +(define-public r-parsedate + (package + (name "r-parsedate") + (version "1.1.3") + (source + (origin + (method url-fetch) + (uri (cran-uri "parsedate" version)) + (sha256 + (base32 + "0mg7hbm3903iwvmpn51gjpaaq03rsp72hjb1g8h5g84r81iha002")))) + (build-system r-build-system) + (home-page "https://github.com/gaborcsardi/parsedate") + (synopsis + "Recognize and parse dates in various formats") + (description + "This package provides three functions for dealing with dates: +@code{parse_iso_8601} recognizes and parses all valid ISO 8601 date and +time formats, @code{parse_date} parses dates in unspecified formats, +and @code{format_iso_8601} formats a date in ISO 8601 format.") + (license license:gpl2))) -- cgit v1.2.3