diff options
author | Christoph Fink | 2023-03-22 02:51:23 +0200 |
---|---|---|
committer | Christoph Fink | 2023-03-22 02:51:23 +0200 |
commit | 2b41935123b6e0d9b58eb86c65b2bde07998a971 (patch) | |
tree | ab0c5a6cd8fc7a38c0c5cc8b510ffd2ead0cba74 | |
parent | e23f11d150495cd0fc8ad645edced9898c4fbddb (diff) | |
download | aur-2b41935123b6e0d9b58eb86c65b2bde07998a971.tar.gz |
upgpkg: r-testthat 3.1.7-3
upgpkg: r-vctrs 0.6.0-4
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 19 insertions, 22 deletions
@@ -1,23 +1,11 @@ pkgbase = r-testthat pkgdesc = Unit Testing for R pkgver = 3.1.7 - pkgrel = 2 + pkgrel = 3 url = https://cran.r-project.org/package=testthat arch = i686 arch = x86_64 license = MIT - checkdepends = r-covr - checkdepends = r-curl>=0.9.5 - checkdepends = r-diffviewer>=0.1.0 - checkdepends = r-knitr - checkdepends = r-mockery - checkdepends = r-rmarkdown - checkdepends = r-rstudioapi - checkdepends = r-shiny - checkdepends = r-usethis - checkdepends = r-vctrs>=0.1.0 - checkdepends = r-xml2 - checkdepends = r-testthat>=3.0.0 depends = r>=3.1 depends = r-brio depends = r-callr>=3.5.1 @@ -9,7 +9,7 @@ _cranname=testthat _cranver=3.1.7 pkgname=r-${_cranname,,} pkgver=${_cranver//[:-]/.} -pkgrel=2 +pkgrel=3 pkgdesc="Unit Testing for R" arch=(i686 x86_64) url="https://cran.r-project.org/package=${_cranname}" @@ -48,10 +48,19 @@ optdepends=( "r-vctrs>=0.1.0" "r-xml2" ) -checkdepends=( - "${optdepends[@]}" - "r-testthat>=3.0.0" -) + + +# unittests require this very package (r-testthat) +# Upon first build, it is not available. + +# To run the tests on subsequent builds, uncomment +# the lines below, as well as the `check()` function +# further down + +# checkdepends=( +# "${optdepends[@]}" +# "r-testthat>=3.0.0" +#) source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz") b2sums=('aed7c006139c6193408ae02cd28037909313497e7e5cd14706507f4ddfe8632d73b2e3c8d88fd626001bf3fc6fbc42b711b7b10470976c3519fb1a4af8e5b730') @@ -61,10 +70,10 @@ build() { R CMD INSTALL ${_cranname}_${_cranver}.tar.gz -l "${srcdir}/build/" } -check() { - cd "${srcdir}/${_cranname}/tests" - R_LIBS="${srcdir}/build/" Rscript --vanilla testthat.R -} +# check() { +# cd "${srcdir}/${_cranname}/tests" +# R_LIBS="${srcdir}/build/" Rscript --vanilla testthat.R +# } package() { install -dm0755 "${pkgdir}/usr/lib/R/library" |