blob: c8f8af1f35a0205ca8eb97bf13a99a58681afab7 (
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
_pkgname=xcore
_pkgver=1.8.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="xcore expression regulators inference"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('GPL-2.0-only')
depends=(
r-delayedarray
r-edger
r-foreach
r-genomicranges
r-glmnet
r-iranges
r-iterators
r-magrittr
r-multiassayexperiment
r-s4vectors
)
checkdepends=(
r-ridge
r-testthat
)
optdepends=(
r-annotationhub
r-biocgenerics
r-biocparallel
r-biocstyle
r-data.table
r-devtools
r-doparallel
r-experimenthub
r-knitr
r-pheatmap
r-proxy
r-ridge
r-rmarkdown
r-rtracklayer
r-testthat
r-usethis
r-xcoredata
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('3a569ce1cb4bc17f0d628a5c5c0565da')
b2sums=('95e2bac594a303c9c7ced8b6fc4290e0d16a351f7e9b81da94ffbe14ba8ee95eea0b88ef941b55694847efc8f69c94f441df6b5d5a6a74347c209e5229249877')
build() {
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
check() {
cd "$_pkgname/tests"
R_LIBS="$srcdir/build" NOT_CRAN=true Rscript --vanilla testthat.R
}
package() {
install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
}
|