r-ellipsis: enable tests

r-testthat 3.2.1 no longer depends on r-ellipsis, so the
tests can be enabled without creating a dependency cycle
This commit is contained in:
Pekka Ristola 2023-12-04 13:48:46 +02:00
parent 5f4361f9bb
commit 5fb02ab142
No known key found for this signature in database
GPG key ID: 2C20BE716E05213E
2 changed files with 12 additions and 0 deletions

View file

@ -15,6 +15,9 @@ license=(MIT)
depends=(
r-rlang
)
checkdepends=(
r-testthat
)
optdepends=(
r-covr
r-testthat
@ -28,6 +31,11 @@ build() {
R CMD INSTALL "$_pkgname" -l build
}
check() {
cd "$_pkgname/tests"
R_LIBS="$srcdir/build" NOT_CRAN=true Rscript --vanilla testthat.R
}
package() {
install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"

View file

@ -4,9 +4,13 @@ maintainers:
email: pekkarr@protonmail.com
repo_depends:
- r-rlang
repo_makedepends:
- r-testthat
update_on:
- source: rpkgs
pkgname: ellipsis
repo: cran
md5: true
- alias: r
- source: manual
manual: 1