blob: 1ffc4a84ad698b34a7f1525e39fc1af331535291 (
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.8.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=('dee7246f762794b535f67abf34b9a2d9')
b2sums=('bed43f4ed48e7966b992215d4072448f3ce1cbe073d1b72533fcacd1177f21bf3e21e91a5a1238d99b0ef1e75f02d51c916eb4c9c4a1bab93635442e067f5c29')
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"
}
|