aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-12-23 17:27:12 +0100
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2016-01-07 17:18:16 +0100
commita8227e4ae92f5272aa293cf62c13b2b3aaaeff99 (patch)
tree553ca3a5faee812739f94521c37897ffddf01b7d /gnu
parentd706257b5b8698e3a18f2b7bff1d23e1bb1c4e8c (diff)
downloadguix-a8227e4ae92f5272aa293cf62c13b2b3aaaeff99.tar.gz
guix-a8227e4ae92f5272aa293cf62c13b2b3aaaeff99.zip
gnu: Add DT.
* gnu/packages/statistics.scm (r-dt): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/statistics.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index ed1b11819d..57712b218f 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1685,3 +1685,37 @@ matrices. It includes Cholesky decomposition and backsolving as well as
standard R subsetting and Kronecker products.")
(license license:gpl2+)))
+(define-public r-dt
+ (package
+ (name "r-dt")
+ (version "0.1")
+ (source (origin
+ (method url-fetch)
+ (uri (cran-uri "DT" version))
+ (sha256
+ (base32
+ "0mj7iiy1gglw7kixybmb7kr1bcl5r006zcb3klkw7p6vvvzdm6qj"))))
+ (properties
+ `((upstream-name . "DT")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-htmltools" ,r-htmltools)
+ ("r-htmlwidgets" ,r-htmlwidgets)
+ ("r-magrittr" ,r-magrittr)))
+ (home-page "http://rstudio.github.io/DT")
+ (synopsis "R wrapper of the DataTables JavaScript library")
+ (description
+ "This package allows for data objects in R to be rendered as HTML tables
+using the JavaScript library 'DataTables' (typically via R Markdown or Shiny).
+The 'DataTables' library has been included in this R package.")
+ ;; The DT package as a whole is distributed under GPLv3. The DT package
+ ;; inludes other software components under different licenses:
+ ;;
+ ;; * Expat: jQuery, jquery.highlight.js, DataTables
+ ;; * ASL2.0: selectize.js
+ ;; * WTFPL: noUiSlider
+ (license (list license:gpl3
+ license:expat
+ license:asl2.0
+ (license:non-copyleft "http://www.wtfpl.net/txt/copying/")))))
+