blob: 7b16083b7360a1710bfe150746fa9ec6c5fb69cb (
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
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
_pkgname=MultiRNAflow
_pkgver=1.0.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=3
pkgdesc="An R package for analysing RNA-seq raw counts with several biological conditions and different time points"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('GPL-3.0-only')
depends=(
r-biobase
r-complexheatmap
r-deseq2
r-factoextra
r-factominer
r-ggalluvial
r-ggplot2
r-ggrepel
r-ggsci
r-gprofiler2
r-mfuzz
r-plot3d
r-plot3drgl
r-plyr
r-rcolorbrewer
r-reshape2
r-rlang
r-s4vectors
r-scales
r-summarizedexperiment
r-upsetr
)
checkdepends=(
r-testthat
)
optdepends=(
r-biocgenerics
r-biocstyle
r-e1071
r-knitr
r-rmarkdown
r-testthat
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('cefc109896f4cb34b4ee6a09ae966f42')
b2sums=('f177caeb4ada5c30e51d852e816b2bfaad64149e2b6cba1a287f0b799a000998684bb54f6bb77cb49050a507a5cee5c5b9456ae3084362519ff8e67045321e41')
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"
}
|