guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/96: gnu: Add r-pkgdown.


From: guix-commits
Subject: 07/96: gnu: Add r-pkgdown.
Date: Wed, 10 Feb 2021 19:06:23 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit fa6cc510ea5336f6be370edfc76a19d6519756cb
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Feb 10 21:39:12 2021 +0100

    gnu: Add r-pkgdown.
    
    * gnu/packages/cran.scm (r-pkgdown): New variable.
---
 gnu/packages/cran.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 4082644..a2ddea2 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -26714,3 +26714,49 @@ designed for the needs of RMarkdown packages like 
@code{pkgdown},
 to their documentation on the web, and automatic translation of ANSI escapes
 in output to the equivalent HTML.")
     (license license:expat)))
+
+(define-public r-pkgdown
+  (package
+    (name "r-pkgdown")
+    (version "1.6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "pkgdown" version))
+       (sha256
+        (base32
+         "1k31biyvxkv3xjc1yy3nzb9wfza3vbx97fv17nly5a6vlv7zqbs4"))))
+    (properties `((upstream-name . "pkgdown")))
+    (build-system r-build-system)
+    (inputs `(("pandoc" ,pandoc)))
+    (propagated-inputs
+     `(("r-callr" ,r-callr)
+       ("r-crayon" ,r-crayon)
+       ("r-desc" ,r-desc)
+       ("r-digest" ,r-digest)
+       ("r-downlit" ,r-downlit)
+       ("r-fs" ,r-fs)
+       ("r-httr" ,r-httr)
+       ("r-magrittr" ,r-magrittr)
+       ("r-memoise" ,r-memoise)
+       ("r-openssl" ,r-openssl)
+       ("r-purrr" ,r-purrr)
+       ("r-ragg" ,r-ragg)
+       ("r-rematch2" ,r-rematch2)
+       ("r-rlang" ,r-rlang)
+       ("r-rmarkdown" ,r-rmarkdown)
+       ("r-tibble" ,r-tibble)
+       ("r-whisker" ,r-whisker)
+       ("r-withr" ,r-withr)
+       ("r-xml2" ,r-xml2)
+       ("r-yaml" ,r-yaml)))
+    (native-inputs
+     `(("r-knitr" ,r-knitr)))
+    (home-page "https://pkgdown.r-lib.org";)
+    (synopsis "Make static HTML documentation for an R package")
+    (description
+     "The goal of this package is to generate an attractive and useful website
+from a source package.  @code{pkgdown} converts your documentation, vignettes,
+README file, and more to HTML making it easy to share information about your
+package online.")
+    (license license:expat)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]