mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
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:
parent
5f4361f9bb
commit
5fb02ab142
2 changed files with 12 additions and 0 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue