summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-12-08 09:05:46 -0600
committerGitHub <noreply@github.com>2019-12-08 09:05:46 -0600
commit4593b7b693c680fdccfcac8a32ade1d6aaab39c5 (patch)
treea5b95eae34ba487ec61319ff12942d3da59b7bb2
parent3547776921f726260ad91f2f060b3e2d8419b43f (diff)
downloadspack-4593b7b693c680fdccfcac8a32ade1d6aaab39c5.tar.gz
spack-4593b7b693c680fdccfcac8a32ade1d6aaab39c5.tar.bz2
spack-4593b7b693c680fdccfcac8a32ade1d6aaab39c5.tar.xz
spack-4593b7b693c680fdccfcac8a32ade1d6aaab39c5.zip
Add new r-tidygraph package (#14045)
-rw-r--r--var/spack/repos/builtin/packages/r-tidygraph/package.py32
1 files changed, 32 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-tidygraph/package.py b/var/spack/repos/builtin/packages/r-tidygraph/package.py
new file mode 100644
index 0000000000..d74368407a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-tidygraph/package.py
@@ -0,0 +1,32 @@
+# Copyright 2013-2019 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 RTidygraph(RPackage):
+ """tidygraph: A Tidy API for Graph Manipulation.
+
+ A graph, while not "tidy" in itself, can be thought of as two tidy data
+ frames describing node and edge data respectively. 'tidygraph' provides an
+ approach to manipulate these two virtual data frames using the API defined
+ in the 'dplyr' package, as well as provides tidy interfaces to a lot of
+ common graph algorithms."""
+
+ homepage = "https://github.com/thomasp85/tidygraph"
+ url = "https://cloud.r-project.org/src/contrib/tidygraph_1.1.2.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/tidygraph"
+
+ version('1.1.2', sha256='5642001d4cccb122d66481b7c61a06c724c02007cbd356ee61cb29726a56fafe')
+
+ depends_on('r-tibble', type=('build', 'run'))
+ depends_on('r-dplyr@0.8:', type=('build', 'run'))
+ depends_on('r-igraph', type=('build', 'run'))
+ depends_on('r-magrittr', type=('build', 'run'))
+ depends_on('r-rlang', type=('build', 'run'))
+ depends_on('r-r6', type=('build', 'run'))
+ depends_on('r-rcpp', type=('build', 'run'))
+ depends_on('r-tidyr', type=('build', 'run'))
+ depends_on('r-pillar', type=('build', 'run'))