New package: r-anytime (#22624)
Co-authored-by: Alex C Leute <aclrc@rit.edu>
This commit is contained in:
parent
b51363e0ac
commit
3a36ca4b36
1 changed files with 25 additions and 0 deletions
25
var/spack/repos/builtin/packages/r-anytime/package.py
Normal file
25
var/spack/repos/builtin/packages/r-anytime/package.py
Normal 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'))
|
Loading…
Reference in a new issue