aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/statistics.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2017-05-31 17:12:07 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-06-09 03:27:49 +0200
commitdb0bb6f0afad658eddfa350a8ba8c05e151f6a28 (patch)
tree840cd7dd28fa4b8a739d23e910306a3a1970ad38 /gnu/packages/statistics.scm
parent0377d5006efe29e249316352b3abaf64eac1c63d (diff)
downloadguix-db0bb6f0afad658eddfa350a8ba8c05e151f6a28.tar
guix-db0bb6f0afad658eddfa350a8ba8c05e151f6a28.tar.gz
gnu: Add r-lubridate.
* gnu/packages/statistics.scm (r-lubridate): New variable.
Diffstat (limited to 'gnu/packages/statistics.scm')
-rw-r--r--gnu/packages/statistics.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index b81bb42073..625f9f4884 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -5231,3 +5231,29 @@ devices that don't have Cairo's capabilities such as alpha support or
anti-aliasing. Backends are modular such that any subset of backends
is supported.")
(license license:gpl2)))
+
+(define-public r-lubridate
+ (package
+ (name "r-lubridate")
+ (version "1.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "lubridate" version))
+ (sha256
+ (base32
+ "0ci6rwij9i1inn840m0mlh1nqgh6vm2lada9kdnjpcjp5kyfv1qs"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-stringr" ,r-stringr)))
+ (home-page
+ "http://cran.r-project.org/web/packages/lubridate")
+ (synopsis "Make dealing with dates a little easier")
+ (description
+ "This package provides functions to work with date-times and time-spans:
+fast and user friendly parsing of date-time data, extraction and updating of
+components of a date-time (years, months, days, hours, minutes, and seconds),
+algebraic manipulation on date-time and time-span objects. The 'lubridate'
+package has a consistent and memorable syntax that makes working with dates
+easy and fun.")
+ (license license:gpl2)))