New package: r-anytime (#22624)

Co-authored-by: Alex C Leute <aclrc@rit.edu>
This commit is contained in:
Jen Herting 2021-04-02 22:09:50 -04:00 committed by GitHub
parent b51363e0ac
commit 3a36ca4b36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'))