diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/r-tigris/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/r-tigris/package.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/var/spack/repos/builtin/packages/r-tigris/package.py b/var/spack/repos/builtin/packages/r-tigris/package.py index f5a93aa591..c1c17027d7 100644 --- a/var/spack/repos/builtin/packages/r-tigris/package.py +++ b/var/spack/repos/builtin/packages/r-tigris/package.py @@ -7,21 +7,20 @@ from spack import * class RTigris(RPackage): - """Load Census TIGER/Line Shapefiles + """Load Census TIGER/Line Shapefiles. - Download TIGER/Line shapefiles from the United States Census Bureau - and load into R as 'SpatialDataFrame' or 'sf' objects.""" + Download TIGER/Line shapefiles from the United States Census Bureau and + load into R as 'SpatialDataFrame' or 'sf' objects.""" - homepage = "https://cloud.r-project.org/package=tigris" - url = "https://cloud.r-project.org/src/contrib/tigris_0.5.3.tar.gz" - list_url = "https://cloud.r-project.org/src/contrib/Archive/tigris" + cran = "tigris" + version('1.5', sha256='5ef71ca83817ad6b97ee86d1e560e8e86ee21bdcb1807ce40c945b3213c04472') version('1.0', sha256='97c76568c7cf0615abcbf923a0b4387f6b8c1915b9eb42d0c34cb0f707654403') version('0.8.2', sha256='ed8d6ab25332c2cc800858d58324bd8264772d8a916a3f0a8d489250a7e7140e') version('0.5.3', sha256='6ecf76f82216798465cd9704acb432caea47469ffc4953f1aaefa4d642a28445') - depends_on('r@3.0.0:', when='@:0.5.3', type=('build', 'run')) - depends_on('r@3.3.0:', when='@0.6.1:', type=('build', 'run')) + depends_on('r@3.0.0:', type=('build', 'run')) + depends_on('r@3.3.0:', type=('build', 'run'), when='@0.6.1:') depends_on('r-stringr', type=('build', 'run')) depends_on('r-magrittr', type=('build', 'run')) depends_on('r-rgdal', type=('build', 'run')) @@ -32,4 +31,5 @@ class RTigris(RPackage): depends_on('r-uuid', type=('build', 'run')) depends_on('r-sf', type=('build', 'run')) depends_on('r-dplyr', type=('build', 'run')) - depends_on('r-rgeos', when='@:0.5.3', type=('build', 'run')) + + depends_on('r-rgeos', type=('build', 'run'), when='@:0.5.3') |