summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2021-04-23 09:36:12 -0500
committerGitHub <noreply@github.com>2021-04-23 16:36:12 +0200
commit7c6692b0cbba5ccf296e0c9c947021da8c84a7e4 (patch)
tree5c079ee691486e6dbb1ffa1d63d9f2927b7bfbaf
parenta7fb70853ebe59a5d26ac7b7b152d6f50a97fd3e (diff)
downloadspack-7c6692b0cbba5ccf296e0c9c947021da8c84a7e4.tar.gz
spack-7c6692b0cbba5ccf296e0c9c947021da8c84a7e4.tar.bz2
spack-7c6692b0cbba5ccf296e0c9c947021da8c84a7e4.tar.xz
spack-7c6692b0cbba5ccf296e0c9c947021da8c84a7e4.zip
r-colourpicker: new package (#23136)
-rw-r--r--var/spack/repos/builtin/packages/r-colourpicker/package.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-colourpicker/package.py b/var/spack/repos/builtin/packages/r-colourpicker/package.py
new file mode 100644
index 0000000000..97620f0d7c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-colourpicker/package.py
@@ -0,0 +1,31 @@
+# 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 RColourpicker(RPackage):
+ """A Colour Picker Tool for Shiny and for Selecting Colours in Plots:
+
+ A colour picker that can be used as an input in 'Shiny' apps or Rmarkdown
+ documents. The colour picker supports alpha opacity, custom colour
+ palettes, and many more options. A Plot Colour Helper tool is available as
+ an 'RStudio' Addin, which helps you pick colours to use in your plots. A
+ more generic Colour Picker 'RStudio' Addin is also provided to let you
+ select colours to use in your R code."""
+
+ homepage = "https://github.com/daattali/colourpicker"
+ cran = "colourpicker"
+
+ version('1.1.0', sha256='2dfbb6262d187d3b17357ff9c22670ced3621feda5b2a2a500558478e4d551e2')
+
+ depends_on('r@3.1.0:', type=('build', 'run'))
+ depends_on('r-ggplot2', type=('build', 'run'))
+ depends_on('r-htmltools', type=('build', 'run'))
+ depends_on('r-htmlwidgets@0.7:', type=('build', 'run'))
+ depends_on('r-jsonlite', type=('build', 'run'))
+ depends_on('r-miniui@0.1.1:', type=('build', 'run'))
+ depends_on('r-shiny@0.11.1:', type=('build', 'run'))
+ depends_on('r-shinyjs@2.0.0:', type=('build', 'run'))