summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2021-10-30 01:37:59 +0200
committerGitHub <noreply@github.com>2021-10-29 16:37:59 -0700
commit657b9204cac400bf008d4ab0d7bdc2b0401275e8 (patch)
tree961005baae65298e5a7d870f3739ff3a287fad3a /var
parent1aaa7bd089255c3c97d99a4a7d5be976370f5b8e (diff)
downloadspack-657b9204cac400bf008d4ab0d7bdc2b0401275e8.tar.gz
spack-657b9204cac400bf008d4ab0d7bdc2b0401275e8.tar.bz2
spack-657b9204cac400bf008d4ab0d7bdc2b0401275e8.tar.xz
spack-657b9204cac400bf008d4ab0d7bdc2b0401275e8.zip
New package: r-distributional (#27048)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/r-distributional/package.py34
1 files changed, 34 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-distributional/package.py b/var/spack/repos/builtin/packages/r-distributional/package.py
new file mode 100644
index 0000000000..49ead08d68
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-distributional/package.py
@@ -0,0 +1,34 @@
+# 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 RDistributional(RPackage):
+ """Functions for Base Types and Core R and 'Tidyverse' Features.
+
+ Vectorised distribution objects with tools for manipulating, visualising,
+ and using probability distributions. Designed to allow model prediction
+ outputs to return distributions rather than their parameters, allowing
+ users to directly interact with predictive distributions in a
+ data-oriented workflow. In addition to providing generic replacements for
+ p/d/q/r functions, other useful statistics can be computed including
+ means, variances, intervals, and highest density regions."""
+
+ homepage = "https://github.com/mitchelloharawild/distributional"
+ cran = "distributional"
+
+ version('0.2.2', sha256='028e5a91aabe3a676eb7b7f3dc907f7f34735a123fe0d9adcabc03476504435f')
+
+ depends_on('r-vctrs@0.3.0:', type=('build', 'run'))
+ depends_on('r-rlang@0.4.5:', type=('build', 'run'))
+ depends_on('r-generics', type=('build', 'run'))
+ depends_on('r-ellipsis', type=('build', 'run'))
+ depends_on('r-numderiv', type=('build', 'run'))
+ depends_on('r-ggplot2', type=('build', 'run'))
+ depends_on('r-scales', type=('build', 'run'))
+ depends_on('r-farver', type=('build', 'run'))
+ depends_on('r-digest', type=('build', 'run'))
+ depends_on('r-lifecycle', type=('build', 'run'))