blob: da5cd84ab032fb374a44e426195f84ef060172b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
_pkgname=ISLET
_pkgver=1.6.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Individual-Specific ceLl typE referencing Tool"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('GPL-2.0-only')
depends=(
r-abind
r-biocgenerics
r-biocparallel
r-lme4
r-nnls
r-purrr
r-summarizedexperiment
)
checkdepends=(
r-runit
)
optdepends=(
r-biocstyle
r-dplyr
r-htmltools
r-knitr
r-rmarkdown
r-runit
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('3f20f6f9e207ab5f955a3f3f52eff688')
b2sums=('941da50f4c7e91371501dd32c0812b8e22db6905adfedbe40985aa644c0f2b0c5990ec4117031a6d8df724e2ed0ecee390fda9c3b4920ac1dc5a12b09d67cd06')
build() {
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
check() {
cd "$_pkgname/tests"
R_LIBS="$srcdir/build" Rscript --vanilla runTests.R
}
package() {
install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
}
|