summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCsonka Mihaly2019-05-02 19:05:05 +0200
committerCsonka Mihaly2019-05-02 19:05:05 +0200
commit58f88b20285131cb6f52776d50038a6c5bbcd526 (patch)
treec1fb97451d069f902d2996ae0f7767caf0019e82
parentd106993d855eb45d9beb0de9894da25fe395853d (diff)
downloadaur-58f88b20285131cb6f52776d50038a6c5bbcd526.tar.gz
Add optional dependency.
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD1
2 files changed, 2 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 23a7402fbc5e..7a437da25146 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,6 +6,7 @@ pkgbase = r-unix
arch = x86_64
license = MIT
depends = r
+ optdepends = r-testthat
source = https://cran.r-project.org/src/contrib/unix_1.5.tar.gz
md5sums = c2964321773cb7f98c0fb37cc6d169a6
diff --git a/PKGBUILD b/PKGBUILD
index 2f4c543ed3bc..1f073bed624c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,6 +10,7 @@ arch=('x86_64')
url="https://cran.r-project.org/package=${_cranname}"
license=('MIT')
depends=('r')
+optdepends=('r-testthat')
source=("https://cran.r-project.org/src/contrib/${_pkgtar}")
md5sums=('c2964321773cb7f98c0fb37cc6d169a6')