From 8059adada539c86c2ce8f1353de27b0b5741fd85 Mon Sep 17 00:00:00 2001 From: "King, Spencer" Date: Wed, 15 May 2024 21:24:51 +0000 Subject: [PATCH] gnu: Add r-shinydisconnect. * gnu/packages/cran.scm (r-shinydisconnect): New variable. Signed-off-by: Ricardo Wurmus Change-Id: Ibf90c8902b6e6e6c45b7bdb921f310f14ac6b803 --- gnu/packages/cran.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 1fe70968d39cb11b22930a5ba56652444d67533b..39bd480e90c2ea633b6eec63139970fabad763d1 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -5794,6 +5794,31 @@ extensive prebuilt widgets make it possible to build beautiful, responsive, and powerful applications with minimal effort.") (license license:artistic2.0))) +(define-public r-shinydisconnect + (package + (name "r-shinydisconnect") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "shinydisconnect" version)) + (sha256 + (base32 "1yhppfx8jpvz48iwxnimcwqhj02vqjrfmh4z5rdn9d35p51c8zjc")))) + (properties `((upstream-name . "shinydisconnect"))) + (build-system r-build-system) + (propagated-inputs (list r-checkmate r-glue r-htmltools r-shiny)) + (home-page "https://github.com/daattali/shinydisconnect") + (synopsis "Show a nice message when a Shiny app disconnects or errors") + (description + "This package provides a Shiny app that can disconnect for a variety of +reasons: an unrecoverable error occurred in the app, the server went down, the +user lost internet connection, or any other reason that might cause the Shiny +app to lose connection to its server. With shinydisconnect, you can call +@code{disonnectMessage} anywhere in a Shiny app's UI to add a nice message +when this happens. It works locally (running Shiny apps within RStudio) and +on Shiny servers.") + (license license:expat))) + (define-public r-shinyhelper (package (name "r-shinyhelper")