diff options
author | Pekka Ristola | 2022-10-11 16:38:03 +0300 |
---|---|---|
committer | Pekka Ristola | 2022-10-11 16:38:03 +0300 |
commit | b009bde77b672cf77588dc19b1f75e254f398999 (patch) | |
tree | 0b2c516a32d16dc37b84a5bddd4448fb7916f90e | |
parent | 8932aa17ce1bedfd4a7e90e8218af8973fec2632 (diff) | |
download | aur-b009bde77b672cf77588dc19b1f75e254f398999.tar.gz |
Update to 1.2.0 and add check()
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 21 insertions, 11 deletions
@@ -1,27 +1,30 @@ pkgbase = r-tidyselect pkgdesc = Select from a Set of Strings - pkgver = 1.1.2 + pkgver = 1.2.0 pkgrel = 1 url = https://cran.r-project.org/package=tidyselect arch = any license = MIT - depends = r-ellipsis + checkdepends = r-stringr + checkdepends = r-testthat + depends = r-cli depends = r-glue - depends = r-purrr + depends = r-lifecycle depends = r-rlang depends = r-vctrs + depends = r-withr optdepends = r-covr optdepends = r-crayon optdepends = r-dplyr optdepends = r-knitr optdepends = r-magrittr optdepends = r-rmarkdown + optdepends = r-stringr optdepends = r-testthat optdepends = r-tibble - optdepends = r-withr - source = https://cran.r-project.org/src/contrib/tidyselect_1.1.2.tar.gz + source = https://cran.r-project.org/src/contrib/tidyselect_1.2.0.tar.gz source = CRAN-MIT-TEMPLATE::https://cran.r-project.org/web/licenses/MIT - sha256sums = 0389a3b15417954a30d6d692f6ebdd3d0f318cb94a5c9b05365df2f4ea1d8270 + sha256sums = 538d26b727e37d618e2efd3b00836048f103112a03e6994bf07a02392e269e3b sha256sums = e76e4aad5d3d9d606db6f8c460311b6424ebadfce13f5322e9bae9d49cc6090b pkgname = r-tidyselect @@ -3,7 +3,7 @@ # Contributor: frichtlm <frichtlm@gmail.com> _cranname=tidyselect -_cranver=1.1.2 +_cranver=1.2.0 pkgname=r-${_cranname,,} pkgver=${_cranver//[:-]/.} pkgrel=1 @@ -12,12 +12,14 @@ arch=(any) url="https://cran.r-project.org/package=${_cranname}" license=(MIT) depends=( - r-ellipsis + r-cli r-glue - r-purrr + r-lifecycle r-rlang r-vctrs + r-withr ) +checkdepends=(r-stringr r-testthat) optdepends=( r-covr r-crayon @@ -25,13 +27,13 @@ optdepends=( r-knitr r-magrittr r-rmarkdown + r-stringr r-testthat r-tibble - r-withr ) source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz" "CRAN-MIT-TEMPLATE::https://cran.r-project.org/web/licenses/MIT") -sha256sums=('0389a3b15417954a30d6d692f6ebdd3d0f318cb94a5c9b05365df2f4ea1d8270' +sha256sums=('538d26b727e37d618e2efd3b00836048f103112a03e6994bf07a02392e269e3b' 'e76e4aad5d3d9d606db6f8c460311b6424ebadfce13f5322e9bae9d49cc6090b') build() { @@ -39,6 +41,11 @@ build() { R CMD INSTALL "${_cranname}" -l "${srcdir}/build" } +check() { + cd "${_cranname}/tests" + R_LIBS="${srcdir}/build" NOT_CRAN=true Rscript --vanilla testthat.R +} + package() { install -dm0755 "${pkgdir}/usr/lib/R/library" |