dev-R/lubridate: new package, add 1.8.0

Signed-off-by: Robert Greener <me@r0bert.dev>
This commit is contained in:
Robert Greener
2022-07-02 11:31:51 +01:00
parent 2b334aeb65
commit 3fc79101dd
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit R-packages edo
DESCRIPTION='Make Dealing with Dates a Little Easier'
KEYWORDS="~amd64"
LICENSE='GPL2+'
RESTRICT="!test? ( test )"
IUSE="test"
DEPEND="
dev-R/generics
>=dev-R/cpp11-0.2.7
sys-libs/timezone-data
test? (
>=dev-R/testthat-2.1.0
>=dev-R/vctrs-0.3.0
)
"
SUGGESTED_PACKAGES="
dev-R/covr
dev-R/knitr
>=dev-R/testthat-2.1.0
>=dev-R/vctrs-0.3.0
dev-R/rmarkdown
"
src_test() {
cd "${WORKDIR}/${P}/tests"
R_LIBS="${T}/R" edo Rscript --vanilla testthat.R
}