summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-12-08 09:06:04 -0600
committerGitHub <noreply@github.com>2019-12-08 09:06:04 -0600
commitcb258daf88a0ef0ab4e23da26f5bd01c1f9349a8 (patch)
tree9d20cb988dbed6be872eb5aa1f6c18a89e33f584
parent4593b7b693c680fdccfcac8a32ade1d6aaab39c5 (diff)
downloadspack-cb258daf88a0ef0ab4e23da26f5bd01c1f9349a8.tar.gz
spack-cb258daf88a0ef0ab4e23da26f5bd01c1f9349a8.tar.bz2
spack-cb258daf88a0ef0ab4e23da26f5bd01c1f9349a8.tar.xz
spack-cb258daf88a0ef0ab4e23da26f5bd01c1f9349a8.zip
Add new r-graphlayouts package (#14046)
-rw-r--r--var/spack/repos/builtin/packages/r-graphlayouts/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-graphlayouts/package.py b/var/spack/repos/builtin/packages/r-graphlayouts/package.py
new file mode 100644
index 0000000000..1aacbf25f8
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-graphlayouts/package.py
@@ -0,0 +1,27 @@
+# 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 RGraphlayouts(RPackage):
+ """graphlayouts: Additional Layout Algorithms for Network Visualizations.
+
+ Several new layout algorithms to visualize networks are provided which are
+ not part of 'igraph'. Most are based on the concept of stress majorization
+ by Gansner et al. (2004) <doi:10.1007/978-3-540-31843-9_25>. Some more
+ specific algorithms allow to emphasize hidden group structures in networks
+ or focus on specific nodes."""
+
+ homepage = "https://github.com/schochastics/graphlayouts"
+ url = "https://cloud.r-project.org/src/contrib/graphlayouts_0.5.0.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/graphlayouts"
+
+ version('0.5.0', sha256='83f61ce07580c5a64c7044c12b20d98ccf138c7e78ff12855cdfc206e1fab10d')
+
+ depends_on('r@3.2.0:', type=('build', 'run'))
+ depends_on('r-igraph', type=('build', 'run'))
+ depends_on('r-rcpp', type=('build', 'run'))
+ depends_on('r-rcpparmadillo', type=('build', 'run'))