diff mbox series

[bug#51464,1/2] gnu: Add r-formattable.

Message ID 20211028182609.1880-1-madalinionel.patrascu@mdc-berlin.de
State Accepted
Headers show
Series [bug#51464,1/2] gnu: Add r-formattable. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Mădălin Ionel Patrașcu Oct. 28, 2021, 6:26 p.m. UTC
* gnu/packages/cran.scm (r-formattable): New variable.
---
 gnu/packages/cran.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 792ea2a75b..03a1b3206a 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -23669,6 +23669,35 @@  (define-public r-forecast
 space models and automatic ARIMA modelling.")
     (license license:gpl3)))
 
+(define-public r-formattable
+  (package
+    (name "r-formattable")
+    (version "0.2.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "formattable" version))
+        (sha256
+          (base32 "1vdxi0xmg019qyzjrp8bkjxciz245jcxsrkhfzd44ynqcwi4s3ag"))))
+    (properties `((upstream-name . "formattable")))
+    (build-system r-build-system)
+    (propagated-inputs
+    `(("r-htmltools" ,r-htmltools)
+      ("r-htmlwidgets" ,r-htmlwidgets)
+      ("r-lifecycle" ,r-lifecycle)
+      ("r-rmarkdown" ,r-rmarkdown)))
+    (native-inputs
+     `(("r-knitr" ,r-knitr)))
+    (home-page "https://github.com/renkun-ken/formattable")
+    (synopsis "Printing vectors and data frames with text fromatting")
+    (description
+      "This R package @code{r-formattable} provides functions to create
+formattable vectors and data frames.  @emph{Formattable} vectors are printed
+with text formatting, and formattable data frames are printed with multiple
+types of formatting in HTML to improve the readability of data presented in
+tabular form rendered in web pages.")
+    (license license:expat)))
+
 (define-public r-xmisc
   (package
     (name "r-xmisc")