Subject: [PATCH v2 01/13] gnu: Add r-simplermarkdown.

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Mon, 27 Feb 2023 21:42:49 +0100

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index c80e98134a..965b10c3a5 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -9652,6 +9652,30 @@ (define-public r-signal
 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
+     (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-gsubfn
   (package
     (name "r-gsubfn")

base-commit: 4db367f8ae4e704784ced52b552437ca00b94b89
-- 
2.39.1