guix_mirror_bot pushed a commit to branch r-team
in repository guix.

commit 00f1c6d204a793946312d0d66a999f5b8576d2aa
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Mon Mar 2 09:39:20 2026 +0100

    gnu: Add r-wrapr.
    
    * gnu/packages/cran.scm (r-wrapr): New variable.
    
    Change-Id: I1136901ffc75e22cab13e2e1776347438c77c00d
---
 gnu/packages/cran.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 3bda62ece7..f9190a12a9 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -8218,6 +8218,38 @@ user's email address and GitHub username, using various 
sources of system and
 configuration information.")
     (license license:expat)))
 
+(define-public r-wrapr
+  (package
+    (name "r-wrapr")
+    (version "2.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "wrapr" version))
+       (sha256
+        (base32 "1r2mqgf4wiwx83lgs20r59c3h7yynkaif4qp6lbd20y06avb1jz1"))))
+    (properties `((upstream-name . "wrapr")))
+    (build-system r-build-system)
+    (arguments
+     (list
+      #:phases '(modify-phases %standard-phases
+                  (add-after 'unpack 'set-HOME
+                    (lambda _
+                      (setenv "HOME" "/tmp"))))))
+    (native-inputs (list r-knitr r-r-rsp r-tinytest))
+    (home-page "https://github.com/WinVector/wrapr";)
+    (synopsis "Wrap R Tools for debugging and parametric programming")
+    (description
+     "This package provides tools for writing and debugging R code.  Provides:
+@code{%.>%} dot-pipe (an S3 configurable pipe), @code{unpack/to} (R style
+multiple assignment/return), @code{build_frame()} /
+@code{draw_frame()} (@code{data.frame} example tools), @code{qc()} (quoting
+concatenate), @code{:=} (named map builder), @code{let()}
+(converts non-standard evaluation interfaces to parametric standard evaluation
+interfaces, inspired by @code{gtools::strmacro()} and @code{base::bquote()}),
+and more.")
+    (license (list license:gpl2 license:gpl3))))
+
 (define-public r-rtdists
   (package
     (name "r-rtdists")

Reply via email to