summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Frichtl2019-10-06 10:14:02 -0400
committerMatt Frichtl2019-10-06 10:14:02 -0400
commit1729eef68288e32aa05420c3dd70bc4486d6833d (patch)
tree681d6098c1c65ea1e156bf4f98f33dfc05d7be00
parent1e281896f80db178d4b986c0a705b2b698c68449 (diff)
downloadaur-1729eef68288e32aa05420c3dd70bc4486d6833d.tar.gz
Updated to version 2.2.1
-rw-r--r--.SRCINFO52
-rw-r--r--PKGBUILD18
2 files changed, 64 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5f336fcf2ad..b48298a9685 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -25,3 +25,55 @@ pkgbase = r-testthat
pkgname = r-testthat
+pkgbase = r-testthat
+ pkgdesc = Unit Testing for R
+ pkgver = 2.2.1
+ pkgrel = 1
+ url = https://cran.r-project.org/package=testthat
+ arch = x86_64
+ license = MIT
+ depends = r>=3.1
+ depends = r-cli
+ depends = r-crayon>=1.3.4
+ depends = r-digest
+ depends = r-evaluate
+ depends = r-magrittr
+ depends = r-praise
+ depends = r-r6>=2.2.0
+ depends = r-rlang>=0.3.0
+ depends = r-withr>=2.0.0
+ source = https://cran.r-project.org/src/contrib/testthat_2.2.1.tar.gz
+ md5sums = b0ee8c0485ccf7b9e68108c87d8d1b16
+
+pkgname = r-testthat
+
+pkgbase = r-testthat
+ pkgdesc = Unit Testing for R
+ pkgver = 2.2.1
+ pkgrel = 1
+ url = https://cran.r-project.org/package=testthat
+ arch = x86_64
+ license = MIT
+ depends = r>=3.1
+ depends = r-cli
+ depends = r-crayon>=1.3.4
+ depends = r-digest
+ depends = r-evaluate
+ depends = r-magrittr
+ depends = r-praise
+ depends = r-r6>=2.2.0
+ depends = r-rlang>=0.3.0
+ depends = r-withr>=2.0.0
+ optdepends = r-covr
+ optdepends = r-curl
+ optdepends = r-devtools
+ optdepends = r-knitr
+ optdepends = r-rmarkdown
+ optdepends = r-usethis
+ optdepends = r-vctrs
+ optdepends = r-xml2
+ source = https://cran.r-project.org/src/contrib/testthat_2.2.1.tar.gz
+ md5sums = b0ee8c0485ccf7b9e68108c87d8d1b16
+
+pkgname = r-testthat
+
diff --git a/PKGBUILD b/PKGBUILD
index cca5ae4adc2..e3e90da4740 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
+# Maintainer: Matt Frichtl <frichtlm@gmail.com>
# Contributor: Kibouo <csonka.mihaly@hotmail.com>
# Contributor: Ward Segers <w@rdsegers.be>
# Contributor: Alex Branham <alex.branham@gmail.com>
-_cranver=2.1.1
+_cranver=2.2.1
_cranname=testthat
_pkgtar=${_cranname}_${_cranver}.tar.gz
pkgname=r-testthat
@@ -11,16 +12,21 @@ pkgdesc='Unit Testing for R'
arch=('x86_64')
url='https://cran.r-project.org/package=testthat'
license=('MIT')
-depends=('r' 'r-cli' 'r-crayon' 'r-digest' 'r-magrittr' 'r-praise' 'r-r6>=2.2.0' 'r-rlang' 'r-withr>=2.0.0')
-optdepends=('r-covr' 'r-devtools' 'r-knitr' 'r-rmarkdown' 'r-usethis' 'r-xml2')
+depends=('r>=3.1' 'r-cli' 'r-crayon>=1.3.4' 'r-digest' 'r-evaluate' 'r-magrittr' 'r-praise' 'r-r6>=2.2.0' 'r-rlang>=0.3.0' 'r-withr>=2.0.0')
+optdepends=('r-covr' 'r-curl' 'r-devtools' 'r-knitr' 'r-rmarkdown' 'r-usethis' 'r-vctrs' 'r-xml2')
source=("https://cran.r-project.org/src/contrib/${_pkgtar}")
-md5sums=('329062cb31384b33e1717a3366fb6440')
+md5sums=('b0ee8c0485ccf7b9e68108c87d8d1b16')
build(){
+ cd "${srcdir}"
+
R CMD INSTALL testthat_"$_cranver".tar.gz -l "$srcdir"
}
+
package() {
- install -dm0755 "$pkgdir"/usr/lib/R/library
- cp -a --no-preserve=ownership testthat "$pkgdir"/usr/lib/R/library
+ cd "${srcdir}"
+
+ install -dm0755 "$pkgdir/usr/lib/R/library"
+ cp -a --no-preserve=ownership "$_cranname" "$pkgdir/usr/lib/R/library"
}