summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-ggmap/package.py
blob: 9a007a055fb28ac102af0c45f5995e15ff0cba85 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Copyright 2013-2024 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.package import *


class RGgmap(RPackage):
    """Spatial Visualization with ggplot2.

    A collection of functions to visualize spatial data and models on top of
    static maps from various online sources (e.g Google Maps and Stamen Maps).
    It includes tools common to those tasks, including functions for
    geolocation and routing."""

    cran = "ggmap"

    license("GPL-2.0-only")

    version("3.0.2", sha256="ba5fe3975fd4ca1a5fbda4910c9705ac2edacec75c658177edaf87f1c55cdcae")
    version("3.0.1", sha256="fc824b547f1fd0b52b6fbd18a82fe6f29f97b1f592e2c61baf4686ddfd47e35d")
    version("3.0.0", sha256="96c24ffdc0710d0633ac4721d599d2c06f43a29c59d1e85c94ff0af30dfdb58d")
    version("2.6.2", sha256="4e9cf53ab108fc70805d971dadb69b26fe67ea289c23c38adf6e30b198379d90")
    version("2.6.1", sha256="fc450ef422005fc7d2018a34f6b410fbdf80824f9ed60351d91205c413585a57")

    depends_on("r@3.1.0:", type=("build", "run"))
    depends_on("r-ggplot2@2.2.0:", type=("build", "run"))
    depends_on("r-rgooglemaps", type=("build", "run"))
    depends_on("r-png", type=("build", "run"))
    depends_on("r-plyr", type=("build", "run"))
    depends_on("r-jpeg", type=("build", "run"))
    depends_on("r-digest", type=("build", "run"))
    depends_on("r-scales", type=("build", "run"))
    depends_on("r-dplyr", type=("build", "run"), when="@3.0.0:")
    depends_on("r-bitops", type=("build", "run"), when="@3.0.0:")
    depends_on("r-glue", type=("build", "run"), when="@3.0.0:")
    depends_on("r-httr", type=("build", "run"), when="@3.0.0:")
    depends_on("r-stringr", type=("build", "run"), when="@3.0.0:")
    depends_on("r-purrr", type=("build", "run"), when="@3.0.0:")
    depends_on("r-magrittr", type=("build", "run"), when="@3.0.0:")
    depends_on("r-tibble", type=("build", "run"), when="@3.0.0:")
    depends_on("r-tidyr", type=("build", "run"), when="@3.0.0:")
    depends_on("r-cli", type=("build", "run"), when="@3.0.1:")
    depends_on("r-rlang", type=("build", "run"), when="@3.0.1:")

    depends_on("r-proto", type=("build", "run"), when="@:2.6.2")
    depends_on("r-reshape2", type=("build", "run"), when="@:2.6.2")
    depends_on("r-mapproj", type=("build", "run"), when="@:2.6.2")
    depends_on("r-geosphere", type=("build", "run"), when="@:2.6.2")
    depends_on("r-rjson", type=("build", "run"), when="@:3.0.0")