[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51464] [PATCH 1/2] gnu: Add r-formattable.
From: |
Mădălin Ionel Patrașcu |
Subject: |
[bug#51464] [PATCH 1/2] gnu: Add r-formattable. |
Date: |
Thu, 28 Oct 2021 20:26:08 +0200 |
* gnu/packages/cran.scm (r-formattable): New variable.
---
gnu/packages/cran.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
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")
--
2.33.0