summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-geosphere/package.py
blob: 58d3da5aeab7f4153fd5b10a37de29775403c682 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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 RGeosphere(RPackage):
    """Spherical trigonometry for geographic applications. That is, compute
    distances and related measures for angular (longitude/latitude)
    locations."""

    homepage = "https://cran.r-project.org/package=geosphere"
    url      = "https://cran.r-project.org/src/contrib/geosphere_1.5-5.tar.gz"
    list_url = "https://cran.r-project.org/src/contrib/Archive/geosphere"

    version('1.5-5', '28efb7a8e266c7f076cdbcf642455f3e')

    depends_on('r-sp', type=('build', 'run'))