From 4e706e6b183d0cd19e77ab74b605f5d50632f34c Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 20 Jan 2024 19:22:51 +0100 Subject: 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(+) (limited to 'gnu') 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 @@ (define-public r-shinyhelper 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 -- cgit v1.2.3