summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorNeil Flood <neilflood@fastmail.fm>2018-11-25 06:21:54 +1000
committerAdam J. Stewart <ajstewart426@gmail.com>2018-11-24 14:21:54 -0600
commita0fc573ff4f49f07ea25d4b8950a22649508194d (patch)
treeef579fdcdce02705e8a18668d7220db2f704a93e /var
parent862d1799fbb5d8b30e0dee08f24ea1b8e53b2803 (diff)
downloadspack-a0fc573ff4f49f07ea25d4b8950a22649508194d.tar.gz
spack-a0fc573ff4f49f07ea25d4b8950a22649508194d.tar.bz2
spack-a0fc573ff4f49f07ea25d4b8950a22649508194d.tar.xz
spack-a0fc573ff4f49f07ea25d4b8950a22649508194d.zip
r-geor: new package, and a couple of its dependencies (#9920)
* r-geor: new package, and a couple of its dependencies * Update to new copyright header * Include the list_url for the R package archive dir * Added explicit version ranges on dependencies, as per the relevant CRAN pages * Correct dependency types in r-splancs.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/r-geor/package.py23
-rw-r--r--var/spack/repos/builtin/packages/r-randomfields/package.py22
-rw-r--r--var/spack/repos/builtin/packages/r-randomfieldsutils/package.py21
-rw-r--r--var/spack/repos/builtin/packages/r-splancs/package.py19
4 files changed, 85 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-geor/package.py b/var/spack/repos/builtin/packages/r-geor/package.py
new file mode 100644
index 0000000000..b0573fed08
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-geor/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2018 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 RGeor(RPackage):
+ """Geostatistical analysis including traditional, likelihood-based
+ and Bayesian methods."""
+
+ homepage = "https://cran.r-project.org/web/packages/geoR/"
+ url = "https://cran.r-project.org/src/contrib/geoR_1.7-5.2.1.tar.gz"
+ list_url = "https://cran.r-project.org/src/contrib/Archive/geoR"
+
+ version('1.7-5.2.1', 'a50f477bea1bec9070a4de01f69b831c')
+
+ depends_on('r@2.10:', type=('build', 'run'))
+ depends_on('r-mass', type=('build', 'run'))
+ depends_on('r-sp', type=('build', 'run'))
+ depends_on('r-splancs', type=('build', 'run'))
+ depends_on('r-randomfields', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-randomfields/package.py b/var/spack/repos/builtin/packages/r-randomfields/package.py
new file mode 100644
index 0000000000..d5465ae4d3
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-randomfields/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2018 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 RRandomfields(RPackage):
+ """Methods for the inference on and the simulation of Gaussian fields
+ are provided, as well as methods for the simulation of extreme
+ value random fields."""
+
+ homepage = "https://cran.r-project.org/web/packages/RandomFields"
+ url = "https://cran.r-project.org/src/contrib/RandomFields_3.1.50.tar.gz"
+ list_url = "https://cran.r-project.org/src/contrib/Archive/RandomFields"
+
+ version('3.1.50', 'fd91aea76365427c0ba3b25fb3af43a6')
+
+ depends_on('r@3.3:', type=('build', 'run'))
+ depends_on('r-sp', type=('build', 'run'))
+ depends_on('r-randomfieldsutils@0.3.25:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-randomfieldsutils/package.py b/var/spack/repos/builtin/packages/r-randomfieldsutils/package.py
new file mode 100644
index 0000000000..a6c0acaf4e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-randomfieldsutils/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2018 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 RRandomfieldsutils(RPackage):
+ """Various utilities are provided that might be used in spatial statistics
+ and elsewhere. It delivers a method for solving linear equations that
+ checks the sparsity of the matrix before any algorithm is used.
+ Furthermore, it includes the Struve functions."""
+
+ homepage = "https://cran.r-project.org/web/packages/RandomFieldsUtils"
+ url = "https://cran.r-project.org/src/contrib/RandomFieldsUtils_0.3.25.tar.gz"
+ list_url = "https://cran.r-project.org/src/contrib/Archive/RandomFieldsUtils"
+
+ version('0.3.25', '026c15a23296c9726012135891f016d5')
+
+ depends_on('r@3.3:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-splancs/package.py b/var/spack/repos/builtin/packages/r-splancs/package.py
new file mode 100644
index 0000000000..79441b2323
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-splancs/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2018 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 RSplancs(RPackage):
+ """Spatial and Space-Time Point Pattern Analysis"""
+
+ homepage = "https://cran.r-project.org/web/packages/splancs/index.html"
+ url = "https://cran.r-project.org/src/contrib/splancs_2.01-40.tar.gz"
+ list_url = "https://cran.r-project.org/src/contrib/Archive/splancs"
+
+ version('2.01-40', 'dc08a5c9a1fd2098d78459152f4917ce')
+
+ depends_on('r@2.10:', type=('build', 'run'))
+ depends_on('r-sp@0.9:', type=('build', 'run'))