summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-lubridate/package.py
blob: d156d2c7761c2f0880060866861101eb87759f2b (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
# Copyright 2013-2018 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 RLubridate(RPackage):
    """Functions to work with date-times and timespans: fast and user friendly
    parsing of date-time data, extraction and updating of components of a
    date-time (years, months, days, hours, minutes, and seconds), algebraic
    manipulation on date-time and timespan objects. The 'lubridate' package has
    a consistent and memorable syntax that makes working with dates easy and
    fun."""

    homepage = "https://cran.r-project.org/web/packages/lubridate/index.html"
    url      = "https://cran.r-project.org/src/contrib/lubridate_1.7.1.tar.gz"
    list_url = "https://cran.r-project.org/src/contrib/Archive/lubridate"

    version('1.7.1', '17dcb4c6a95189941bbdcffecf61b83b')
    version('1.5.6', 'a5dc44817548ee219d26a10bae92e611')

    depends_on('r-rcpp@0.11:', type=('build', 'run'))
    depends_on('r-stringr', type=('build', 'run'))