From 85838e98fb1b4858b99604577ad747695b1686a8 Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Mon, 18 Jan 2021 16:59:05 -0600 Subject: add version 2.2-2 to r-gwmodel (#21121) * add version 2.2-2 to r-gwmodel * Update var/spack/repos/builtin/packages/r-gwmodel/package.py Fix comma, space issue. Co-authored-by: Adam J. Stewart Co-authored-by: Adam J. Stewart --- .../repos/builtin/packages/r-gwmodel/package.py | 24 ++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/r-gwmodel/package.py b/var/spack/repos/builtin/packages/r-gwmodel/package.py index 108c1bf0e8..8e1e81dc20 100644 --- a/var/spack/repos/builtin/packages/r-gwmodel/package.py +++ b/var/spack/repos/builtin/packages/r-gwmodel/package.py @@ -7,23 +7,39 @@ from spack import * class RGwmodel(RPackage): - """GWmodel: Geographically-Weighted Models""" + """Geographically-Weighted Models + + Techniques from a particular branch of spatial statistics,termed + geographically-weighted (GW) models. GW models suit situations when data + are not described well by some global model, but where there are spatial + regions where a suitably localised calibration provides a better + description. 'GWmodel' includes functions to calibrate: GW summary + statistics (Brunsdon et al., 2002) , GW + principal components analysis (Harris et al., 2011) + , GW discriminant analysis (Brunsdon et + al., 2007) and various forms of GW + regression (Brunsdon et al., 1996) + ; some of which are provided in + basic and robust (outlier resistant) forms.""" homepage = "http://gwr.nuim.ie/" url = "https://cloud.r-project.org/src/contrib/GWmodel_2.0-9.tar.gz" list_url = "https://cloud.r-project.org/src/contrib/Archive/GWmodel" + version('2.2-2', sha256='4e2b221b85fbc828ffc4f057c137ded849afcaac2a75c27d2d6d0a6db17f8a06') version('2.1-3', sha256='3e1a36fddf8e64f61d548067bb043216f8d12069d814a4cbf07a9cae0b310af6') version('2.1-1', sha256='91241b4e26d423a54c7c6784ef5159759058a5dafdff18a1ea8451faf979d1f3') version('2.0-9', sha256='b479af2c19d4aec30f1883d00193d52e342c609c1badcb51cc0344e4404cffa7') depends_on('r@3.0.0:', type=('build', 'run')) depends_on('r-maptools@0.5-2:', type=('build', 'run')) - depends_on('r-rcpp', type=('build', 'run')) - depends_on('r-rcpparmadillo', type=('build', 'run')) depends_on('r-robustbase', type=('build', 'run')) depends_on('r-sp', type=('build', 'run')) - depends_on('r-spacetime', type=('build', 'run')) + depends_on('r-sp@1.4-0:', when='@2.2-2:', type=('build', 'run')) + depends_on('r-rcpp', type=('build', 'run')) depends_on('r-spatialreg', type=('build', 'run')) + depends_on('r-spacetime', type=('build', 'run')) depends_on('r-spdep', type=('build', 'run')) depends_on('r-fnn', when='@2.1-1:', type=('build', 'run')) + depends_on('r-rcpparmadillo', type=('build', 'run')) + depends_on('gmake', type='build') -- cgit v1.2.3-70-g09d2