guix-commits
[Top][All Lists]
Advanced

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

05/114: gnu: Add r-here.


From: guix-commits
Subject: 05/114: gnu: Add r-here.
Date: Wed, 29 Sep 2021 13:21:59 -0400 (EDT)

rekado pushed a commit to branch wip-r
in repository guix.

commit 27d11fc8c6ab624655fd1de157823afa85e0ccdf
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Sep 29 15:28:40 2021 +0200

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 3e8b7e3..6a05999 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -8045,6 +8045,28 @@ weak stationarity, column means by group, weighted 
biplots, and a heuristic to
 obtain a better initial configuration in non-metric MDS.")
     (license license:gpl2)))
 
+(define-public r-here
+  (package
+    (name "r-here")
+    (version "1.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "here" version))
+       (sha256
+        (base32 "0srlr8h8qmr0wrmp7gs4g2ry5dni2hx8n947bik3s3a26f091v88"))))
+    (properties `((upstream-name . "here")))
+    (build-system r-build-system)
+    (propagated-inputs `(("r-rprojroot" ,r-rprojroot)))
+    (native-inputs `(("r-knitr" ,r-knitr)))
+    (home-page "https://here.r-lib.org/";)
+    (synopsis "Simpler way to find files")
+    (description
+     "This package lets you construct paths to your project's files.  Use the
+@code{here} function as a drop-in replacement for @code{file.path}, it will
+always locate the files relative to your project root.")
+    (license license:expat)))
+
 (define-public r-reticulate
   (package
     (name "r-reticulate")



reply via email to

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