-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.scm
71 lines (69 loc) · 2.82 KB
/
manifest.scm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
(use-modules (guix packages)
(guix download)
(guix git-download)
(guix build-system r)
(guix licenses))
;; Use version ahead of current cran release to take advantage of
;; <https://github.com/haozhu233/kableExtra/pull/851>. once that is on cran,
;; we can use their version again.
(define-public r-kableextra
(let ((commit "cc2bd72e62291fd7af19b24e5128c50628d0d9ea")
(revision "1"))
(package
(name "r-kableextra")
(version (git-version "1.4.0.4" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/haozhu233/kableExtra")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "11jgs3w0hqajniwa7dcg7szrqcd40najz2dmp1r00i131ybv0gzv"))))
(properties `((upstream-name . "kableExtra")))
(build-system r-build-system)
(propagated-inputs (list (specification->package "r-digest")
(specification->package "r-htmltools")
(specification->package "r-knitr")
(specification->package "r-magrittr")
(specification->package "r-rmarkdown")
(specification->package "r-rstudioapi")
(specification->package "r-scales")
(specification->package "r-stringr")
(specification->package "r-svglite")
(specification->package "r-viridislite")
(specification->package "r-xml2")))
(native-inputs (list (specification->package "esbuild")
(specification->package "r-knitr")))
(home-page "https://github.com/haozhu233/kableExtra")
(synopsis "Construct Complex Table with 'kable' and Pipe Syntax")
(description
"Build complex HTML or @code{LaTeX} tables using kable() from knitr and the
piping syntax from magrittr'. Function kable() is a light weight table
generator coming from knitr'. This package simplifies the way to manipulate the
HTML or @code{LaTeX} codes generated by kable() and allows users to construct
complex tables and customize styles using a readable syntax.")
(license expat))))
(packages->manifest
(append
(list r-kableextra)
(map specification->package
(list "bibtool"
"texlive"
"pandoc"
"r"
"r-bookdown"
"r-data-table"
"r-dt"
"r-dplyr"
"r-here"
"r-import"
"r-purrr"
"r-stringr"
"r-styler"
"r-rmarkdown"
"r-tidyr"
"r-tinytex"
"r-withr"
"r-yaml"))))