guix-patches
[Top][All Lists]
Advanced

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

[bug#30969] [PATCH] gnu: Add r-parsedate.


From: Konrad Hinsen
Subject: [bug#30969] [PATCH] gnu: Add r-parsedate.
Date: Wed, 28 Mar 2018 13:14:07 +0200

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 39f2a323a..7977d0291 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -3296,3 +3296,25 @@ Dependencies of the distribution of the specified 
variable (response
 variable) to other variables (explanatory variables) are derived and
 evaluated by the @dfn{Akaike Information Criterion} (AIC).")
     (license license:gpl2+)))
+
+(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:
address@hidden 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)))
-- 
2.16.2






reply via email to

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