guix-commits
[Top][All Lists]
Advanced

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

02/03: gnu: Add r-shinymeta.


From: guix-commits
Subject: 02/03: gnu: Add r-shinymeta.
Date: Sat, 20 Jan 2024 13:47:33 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 4e706e6b183d0cd19e77ab74b605f5d50632f34c
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Jan 20 19:22:51 2024 +0100

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index d6fccb125e..1f1d648fd6 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -5092,6 +5092,42 @@ Shiny apps, using modal dialog boxes, with no need to 
observe each help button
 separately.")
     (license license:gpl3)))
 
+(define-public r-shinymeta
+  (package
+    (name "r-shinymeta")
+    (version "0.2.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "shinymeta" version))
+       (sha256
+        (base32 "1lizg5sjg0f2axr9vk8z4w43lbyim83gd4dzx91dygknv3kgyp89"))))
+    (properties `((upstream-name . "shinymeta")))
+    (build-system r-build-system)
+    (arguments
+     (list
+      #:phases
+      '(modify-phases %standard-phases
+         ;; Needed by styler for writing to caches.
+         (add-after 'unpack 'set-HOME
+           (lambda _ (setenv "HOME" "/tmp"))))))
+    (propagated-inputs (list r-callr
+                             r-fastmap
+                             r-fs
+                             r-htmltools
+                             r-rlang
+                             r-shiny
+                             r-sourcetools
+                             r-styler))
+    (home-page "https://rstudio.github.io/shinymeta/";)
+    (synopsis "Export domain logic from Shiny using meta-programming")
+    (description
+     "This package provides tools for capturing logic in a Shiny app and
+exposing it as code that can be run outside of Shiny (e.g., from an R
+console).  It also provides tools for bundling both the code and results to
+the end user.")
+    (license license:gpl3)))
+
 ;; This package includes minified JavaScript files.  When upgrading please
 ;; check that there are no new minified JavaScript files.
 (define-public r-shinytree



reply via email to

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