spack/var/spack/repos/builtin/packages/r-rnoaa/package.py
Harmen Stoppels fce95e2efb
license year bump (#34921)
* license bump year
* fix black issues of modified files
* mypy
* fix 2021 -> 2023
2023-01-18 14:30:17 -08:00

45 lines
2.0 KiB
Python

# Copyright 2013-2023 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 RRnoaa(RPackage):
"""'NOAA' Weather Data from R.
Client for many 'NOAA' data sources including the 'NCDC' climate 'API' at
<https://www.ncdc.noaa.gov/cdo-web/webservices/v2>, with functions for each
of the 'API' 'endpoints': data, data categories, data sets, data types,
locations, location categories, and stations. In addition, we have an
interface for 'NOAA' sea ice data, the 'NOAA' severe weather inventory,
'NOAA' Historical Observing 'Metadata' Repository ('HOMR') data, 'NOAA'
storm data via 'IBTrACS', tornado data via the 'NOAA' storm prediction
center, and more."""
cran = "rnoaa"
version("1.3.8", sha256="57974b48162637e98888f041d6f0e580d3c60bd5008af2d2bc659491f0deb98a")
version("1.3.0", sha256="4c421ad6e4c2b25e4dea5351c338aed70bea6e382562412d1dad825a50b0d161")
version("0.8.4", sha256="fb9ae771111dd5f638c1eff3290abad2ff9cc7e68a6678bf2414433ebed2dbbf")
depends_on("r-crul@0.7.0:", type=("build", "run"))
depends_on("r-lubridate", type=("build", "run"))
depends_on("r-dplyr", type=("build", "run"))
depends_on("r-tidyr", type=("build", "run"))
depends_on("r-tidyselect", type=("build", "run"), when="@1.3.0:")
depends_on("r-ggplot2", type=("build", "run"))
depends_on("r-scales", type=("build", "run"))
depends_on("r-xml", type=("build", "run"))
depends_on("r-xml2", type=("build", "run"))
depends_on("r-jsonlite", type=("build", "run"))
depends_on("r-gridextra", type=("build", "run"))
depends_on("r-tibble", type=("build", "run"))
depends_on("r-isdparser@0.2.0:", type=("build", "run"))
depends_on("r-geonames", type=("build", "run"))
depends_on("r-hoardr@0.5.2:", type=("build", "run"))
depends_on("r-data-table", type=("build", "run"), when="@1.3.0:")
depends_on("r-rappdirs", type=("build", "run"), when="@:1.3.0")