blob: 13b0ea178d76a0e8ce91ef04035a2736f5e89bc9 (
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
65
66
67
68
69
70
71
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
_pkgname=netZooR
_pkgver=1.8.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Unified methods for the inference and analysis of gene regulatory networks"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('GPL-3.0-only')
depends=(
r-annotationdbi
r-assertthat
r-biobase
r-data.table
r-doparallel
r-dplyr
r-foreach
r-ggdendro
r-ggplot2
r-go.db
r-gostats
r-gplots
r-igraph
r-matrixcalc
r-matrixstats
r-org.hs.eg.db
r-pandar
r-penalized
r-rcy3
r-reshape
r-reshape2
r-reticulate
r-stringdb
r-tidyr
r-vegan
r-viridislite
r-yarn
)
checkdepends=(
python-pandas
python-scipy
r-testthat
)
optdepends=(
"python-pandas: pandaPy and lionessPy"
"python-scipy: pandaPy and lionessPy"
r-knitr
r-pkgdown
r-rmarkdown
r-testthat
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('904aea3017f4cb3bedf5e66c31c3745c')
b2sums=('244b18a98511ef6b01ae94e869f8eb7c0f13fdddd9d4cb391f73f8ef0ead75cbf262106b6ab8f9418d50bd00d69ac5e8f06c7e2aeb7f9a62bc28ddffbdc230eb')
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"
}
|