guix-commits
[Top][All Lists]
Advanced

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

06/96: gnu: Add r-downlit.


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

rekado pushed a commit to branch master
in repository guix.

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

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index dca6c75e..4082644 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -26683,3 +26683,34 @@ drawing library.  The ragg package provides a set of 
graphic devices based on
 AGG to use as alternative to the raster devices provided through the
 @code{grDevices} package.")
     (license license:expat)))
+
+(define-public r-downlit
+  (package
+    (name "r-downlit")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "downlit" version))
+       (sha256
+        (base32
+         "0z4fz7c9kyd9v72wl3iqs2wxspi975d6b0rgjr9lvg8a18maa9z6"))))
+    (properties `((upstream-name . "downlit")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-brio" ,r-brio)
+       ("r-digest" ,r-digest)
+       ("r-evaluate" ,r-evaluate)
+       ("r-fansi" ,r-fansi)
+       ("r-rlang" ,r-rlang)
+       ("r-vctrs" ,r-vctrs)
+       ("r-yaml" ,r-yaml)))
+    (home-page "https://downlit.r-lib.org/";)
+    (synopsis "Syntax highlighting and automatic linking")
+    (description
+     "This package provides syntax highlighting of R code, specifically
+designed for the needs of RMarkdown packages like @code{pkgdown},
+@code{hugodown}, and @code{bookdown}.  It includes linking of function calls
+to their documentation on the web, and automatic translation of ANSI escapes
+in output to the equivalent HTML.")
+    (license license:expat)))



reply via email to

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