spack/var/spack/repos/builtin/packages/r-splancs/package.py
Neil Flood a0fc573ff4 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.
2018-11-24 14:21:54 -06:00

20 lines
691 B
Python

# 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'))