diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2024-01-20 19:22:51 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2024-01-20 19:45:26 +0100 |
commit | 4e706e6b183d0cd19e77ab74b605f5d50632f34c (patch) | |
tree | 78880fa6f90c189100ed939b8de3a5b09683c40e | |
parent | c410d4e268f8fd64273b558ea2e0ba554cdabe49 (diff) | |
download | guix-4e706e6b183d0cd19e77ab74b605f5d50632f34c.tar.gz guix-4e706e6b183d0cd19e77ab74b605f5d50632f34c.zip |
gnu: Add r-shinymeta.
* gnu/packages/cran.scm (r-shinymeta): New variable.
Change-Id: I35e1c032283cdc010e4551c0d33f9d4202d9deee
-rw-r--r-- | gnu/packages/cran.scm | 36 |
1 files changed, 36 insertions, 0 deletions
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 |