aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-09-05 19:23:51 +0200
committerRicardo Wurmus <rekado@elephly.net>2018-09-05 20:03:06 +0200
commit589bd1c4260a429536d3a69a4b7c0a7bcd2e4357 (patch)
treec27f78d9624a25a9bdfb94e46216fe11da4afe98 /gnu/packages/cran.scm
parent78f2c08c0b780dd2fe72548b901df7eb887da7f1 (diff)
downloadpatches-589bd1c4260a429536d3a69a4b7c0a7bcd2e4357.tar
patches-589bd1c4260a429536d3a69a4b7c0a7bcd2e4357.tar.gz
gnu: Add r-flextable.
* gnu/packages/cran.scm (r-flextable): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 1025ff093a..ea3f1c4981 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -4855,6 +4855,37 @@ version 1, by Keon-Woong Moon with Korean demographic data with several plot
functions.")
(license license:gpl2)))
+(define-public r-flextable
+ (package
+ (name "r-flextable")
+ (version "0.4.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "flextable" version))
+ (sha256
+ (base32
+ "09j2y0z7rkc0w1cl9pp1cpk6fnzzfr6245mxa3ca42z9k2cy2jfl"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-gdtools" ,r-gdtools)
+ ("r-htmltools" ,r-htmltools)
+ ("r-knitr" ,r-knitr)
+ ("r-officer" ,r-officer)
+ ("r-r6" ,r-r6)
+ ("r-rmarkdown" ,r-rmarkdown)
+ ("r-stringr" ,r-stringr)
+ ("r-xml2" ,r-xml2)))
+ (home-page "https://davidgohel.github.io/flextable")
+ (synopsis "Functions for tabular reporting")
+ (description
+ "This package provides tools to create pretty tables for HTML documents
+and other formats. Functions are provided to let users create tables, modify
+and format their content. It extends the @code{officer} package and can be
+used within R markdown documents when rendering to HTML and to Word
+documents.")
+ (license license:gpl3)))
+
(define-public r-writexl
(package
(name "r-writexl")