summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorKonrad Hinsen <konrad.hinsen@fastmail.net>2018-03-28 13:14:07 +0200
committerLudovic Courtès <ludovic.courtes@inria.fr>2018-03-28 17:18:20 +0200
commit1cde746700fe633ff338621160e04c3deaf11584 (patch)
tree4bf44114711830a22d77bb161dfe71ceb14426e4 /gnu/packages
parent3481c714c6eaaab5db9fd3b92dd296022573957a (diff)
downloadguix-1cde746700fe633ff338621160e04c3deaf11584.tar.gz
gnu: Add r-parsedate.
* gnu/packages/cran.scm (r-parsedate): New variable.

Signed-off-by: Ludovic Courtès <ludovic.courtes@inria.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/cran.scm23
1 files changed, 23 insertions, 0 deletions
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 <sahi@swecha.net>
 ;;; Copyright © 2018 Sandeep Subramanian <sandeepsubramanian94@gmail.com>
 ;;; Copyright © 2018 Charlie Ritter <chewzeirta@posteo.net>
+;;; Copyright © 2018 Konrad Hinsen <konrad.hinsen@fastmail.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3548,3 +3549,25 @@ and analyzing transaction data and patterns (frequent itemsets and association r
 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)))