From 11c529fddcd57b25d960ccd26d319d479521780c Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Tue, 20 Apr 2021 04:09:19 -0500 Subject: r-shinyjs: new package (#23114) --- .../repos/builtin/packages/r-shinyjs/package.py | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-shinyjs/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/r-shinyjs/package.py b/var/spack/repos/builtin/packages/r-shinyjs/package.py new file mode 100644 index 0000000000..2d76eb3a9d --- /dev/null +++ b/var/spack/repos/builtin/packages/r-shinyjs/package.py @@ -0,0 +1,29 @@ +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class RShinyjs(RPackage): + """Easily Improve the User Experience of Your Shiny Apps in Seconds + + Perform common useful JavaScript operations in Shiny apps that will greatly + improve your apps without having to know any JavaScript. Examples include: + hiding an element, disabling an input, resetting an input back to its + original value, delaying code execution by a few seconds, and many more + useful functions for both the end user and the developer. 'shinyjs' can + also be used to easily call your own custom JavaScript functions from R.""" + + homepage = "https://deanattali.com/shinyjs/" + cran = "shinyjs" + + version('2.0.0', sha256='c2cdd9fab41f6b46bb41b288cd9b3fb3a7fe9627b664e3a58a0cb5dd4c19f8ff') + + depends_on('r@3.1.0:', type=('build', 'run')) + depends_on('r-digest@0.6.8:', type=('build', 'run')) + depends_on('r-htmltools@0.2.9:', type=('build', 'run')) + depends_on('r-jsonlite', type=('build', 'run')) + depends_on('r-shiny@1.0.0:', type=('build', 'run')) + depends_on('pandoc', type='build') -- cgit v1.2.3-60-g2f50