r-shinyjs: new package (#23114)

This commit is contained in:
Glenn Johnson 2021-04-20 04:09:19 -05:00 committed by GitHub
parent f1acdf5f88
commit 11c529fddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')