diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/r-anytime/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/r-anytime/package.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-anytime/package.py b/var/spack/repos/builtin/packages/r-anytime/package.py new file mode 100644 index 0000000000..d77250de27 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-anytime/package.py @@ -0,0 +1,25 @@ +# Copyright 2013-2021 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 RAnytime(RPackage): + """Anything to 'POSIXct' or 'Date' Converter + + Convert input in any one of character, integer, numeric, + factor, or ordered type into 'POSIXct' (or 'Date') objects, + using one of a number of predefined formats, and relying on + Boost facilities for date and time parsing.""" + + homepage = "http://dirk.eddelbuettel.com/code/anytime.html" + url = "https://cloud.r-project.org/src/contrib/anytime_0.3.9.tar.gz" + list_url = "https://cloud.r-project.org/src/contrib/Archive/anytime" + + version('0.3.9', sha256='1096c15249ac70997a8a41c37eeb2a6d38530621abeae05d3dcd96a8acc7574a') + + depends_on('r@3.2.0:', type=('build', 'run')) + depends_on('r-rcpp@0.12.9:', type=('build', 'run')) + depends_on('r-bh', type=('build', 'run')) |