blob: cd81290c91da86dc458591f57c5a5d29b204a2f4 (
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
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
# Contributor: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=BioNERO
_pkgver=1.14.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Biological Network Reconstruction Omnibus"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('GPL-3.0-only')
depends=(
r-biocparallel
r-complexheatmap
r-dynamictreecut
r-genie3
r-ggdendro
r-ggnetwork
r-ggplot2
r-ggrepel
r-igraph
r-intergraph
r-matrixstats
r-minet
r-netrep
r-patchwork
r-rcolorbrewer
r-reshape2
r-rlang
r-summarizedexperiment
r-sva
r-wgcna
)
checkdepends=(
r-networkd3
r-testthat
)
optdepends=(
r-biocstyle
r-covr
r-deseq2
r-knitr
r-networkd3
r-rmarkdown
r-testthat
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('bd8a627c25eb9e60f504ca4b30c01a56')
b2sums=('e6c670212c941b9be51e075182e64efba0da9723d5e2cfd2699f59e40abf012572135a5590ff7427d80f75e9f9839d663265198408d66b80d5318642b73875fe')
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"
}
|