From 2eb750ab1f1175cb20483175afa8d5143b3158cd Mon Sep 17 00:00:00 2001 From: Mădălin Ionel Patrașcu Date: Mon, 27 Feb 2023 21:42:49 +0100 Subject: gnu: Add r-simplermarkdown. * gnu/packages/cran.scm (r-simplermarkdown): New variable. --- gnu/packages/cran.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/cran.scm') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index abe89201b0..abf2868122 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -9652,6 +9652,33 @@ filtering functions, resampling routines, and visualization of filter models. It also includes interpolation functions.") (license license:gpl2))) +(define-public r-simplermarkdown + (package + (name "r-simplermarkdown") + (version "0.0.4") + (source + (origin + (method url-fetch) + (uri (cran-uri "simplermarkdown" version)) + (sha256 + (base32 "069pgx5m22rdqa21lyn5zqm9ym3g7w6z1d2wjwms8b1f2cp6266g")))) + (properties `((upstream-name . "simplermarkdown"))) + (build-system r-build-system) + (propagated-inputs + ;; We cannot patch references to pandoc because the patched files are + ;; compiled to an opaque rdb/rdx pair. "guix gc" would not be able to + ;; find the patched references in those files. + (list pandoc + r-rjson)) + (home-page "https://github.com/djvanderlaan/simplermarkdown") + (synopsis "Simple engine for generating reports using R") + (description + "This package runs R-code present in a pandoc markdown file and includes +the resulting output in the resulting markdown file. This file can then be +converted into any of the output formats supported by pandoc. The package can +also be used as an engine for writing package vignettes.") + (license license:gpl3+))) + (define-public r-sitar (package (name "r-sitar") -- cgit v1.2.3