Adds new R package: GSODR (#17529)
* R GSODR package * use cloud mirror
This commit is contained in:
parent
f42dc4fa4d
commit
4ac1a532f3
19
var/spack/repos/builtin/packages/r-countrycode/package.py
Normal file
19
var/spack/repos/builtin/packages/r-countrycode/package.py
Normal file
@ -0,0 +1,19 @@
|
||||
# Copyright 2013-2020 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 RCountrycode(RPackage):
|
||||
"""Countrycode standardizes country names, converts them into
|
||||
~40 different coding schemes, and assigns region descriptors."""
|
||||
|
||||
homepage = "https://vincentarelbundock.github.io/countrycode/"
|
||||
url = "https://cloud.r-project.org/src/contrib/countrycode_1.2.0.tar.gz"
|
||||
list_url = "https://cloud.r-project.org/src/contrib/Archive/countrycode"
|
||||
|
||||
version('1.2.0', sha256='32c65702dcc33d512ff99f14c12f4e0c48fe7ed7c8aa2f0a64194576d129dd40')
|
||||
|
||||
depends_on('r@2.10:', type=('build', 'run'))
|
@ -16,6 +16,7 @@ class RDataTable(RPackage):
|
||||
url = "https://cloud.r-project.org/src/contrib/data.table_1.10.0.tar.gz"
|
||||
list_url = "https://cloud.r-project.org/src/contrib/Archive/data.table"
|
||||
|
||||
version('1.12.8', sha256='d3a75f3a355ff144cc20a476041617e21fcf2a9f79265fd9bbd4693f3671f9dc')
|
||||
version('1.12.2', sha256='db55c18f0d703a8bc1c806dd1f7551bb405cb867717f52ef9dd64405394d22f5')
|
||||
version('1.12.0', sha256='611b112123dbd4ebd5200770fcdfaaeaab622adeb2b290d36018d3092742e3f7')
|
||||
version('1.11.8', sha256='dc427465599cadd848b28a78e2fce3362867847b44148252054385999fe566d9')
|
||||
|
24
var/spack/repos/builtin/packages/r-gsodr/package.py
Normal file
24
var/spack/repos/builtin/packages/r-gsodr/package.py
Normal file
@ -0,0 +1,24 @@
|
||||
# Copyright 2013-2020 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 RGsodr(RPackage):
|
||||
"""A Global Surface Summary of the Day (GSOD) Weather Data Client for R"""
|
||||
|
||||
homepage = "https://docs.ropensci.org/GSODR/"
|
||||
url = "https://cloud.r-project.org/src/contrib/GSODR_2.1.1.tar.gz"
|
||||
list_url = "https://cloud.r-project.org/src/contrib/Archive/GSODR"
|
||||
|
||||
version('2.1.1', sha256='dba732e5bd1e367b9d710e6b8924f0c02fa4546202f049124dba02bc2e3329f5')
|
||||
|
||||
depends_on('r@3.5.0:', type=('build', 'run'))
|
||||
depends_on('r-countrycode', type=('build', 'run'))
|
||||
depends_on('r-curl', type=('build', 'run'))
|
||||
depends_on('r-data-table@1.11.6:', type=('build', 'run'))
|
||||
depends_on('r-future-apply', type=('build', 'run'))
|
||||
depends_on('r-httr', type=('build', 'run'))
|
||||
depends_on('r-r-utils', type=('build', 'run'))
|
Loading…
Reference in New Issue
Block a user