summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2016-11-03 17:43:47 +0100
committerRicardo Wurmus <rekado@elephly.net>2016-11-03 19:01:44 +0100
commitac3265abada4c55080008c964fec85e684094183 (patch)
tree25250bc98ad89d87035f0fba33333a519a4f4ffe /gnu
parentb81245ccb38dc16d115519dd3166d8bb2c295bb8 (diff)
downloadguix-ac3265abada4c55080008c964fec85e684094183.tar.gz
gnu: Add r-htmltable.
* gnu/packages/web.scm (r-htmltable): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/web.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 976820171b..9ea9503521 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -3309,6 +3309,35 @@ various contexts including the R console, R Markdown documents, and Shiny web
 applications.")
     (license l:expat)))
 
+(define-public r-htmltable
+  (package
+    (name "r-htmltable")
+    (version "1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "htmlTable" version))
+       (sha256
+        (base32
+         "0x2f2hrbhvm53zqwn0ny9wxbk34nwf6zww8cx4bjy5ax15asdllm"))))
+    (properties `((upstream-name . "htmlTable")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-knitr" ,r-knitr)
+       ("r-magrittr" ,r-magrittr)
+       ("r-stringr" ,r-stringr)))
+    (home-page "http://gforge.se/packages/")
+    (synopsis "Advanced tables for Markdown/HTML")
+    (description
+     "This package provides functions to build tables with advanced layout
+elements such as row spanners, column spanners, table spanners, zebra
+striping, and more.  While allowing advanced layout, the underlying
+CSS-structure is simple in order to maximize compatibility with word
+processors such as LibreOffice.  The package also contains a few text
+formatting functions that help outputting text compatible with HTML or
+LaTeX.")
+    (license l:gpl3+)))
+
 (define-public r-curl
   (package
     (name "r-curl")