blob: 0dcf8c35d969f0e0717c54c95be7bdfdcd0e3a93 (
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
|
# 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 RUnits(RPackage):
"""Support for measurement units in R vectors, matrices and arrays:
automatic propagation, conversion, derivation and simplification of
units; raising errors in case of unit incompatibility. Compatible with
the POSIXct, Date and difftime classes. Uses the UNIDATA udunits
library and unit database for unit compatibility checking and
conversion."""
homepage = "https://github.com/edzer/units/"
url = "https://cran.r-project.org/src/contrib/units_0.4-6.tar.gz"
list_url = "https://cran.r-project.org/src/contrib/Archive/units"
version('0.4-6', '0bb90dde5dad7608fa6feb1599381bf2')
depends_on('r-udunits2', type=('build', 'run'))
|