blob: a7823c6b861dd4d3a51d258d3af69809da1d18ef (
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
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
_pkgname=phenomis
_pkgver=1.8.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Postprocessing and univariate analysis of omics data"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('CECILL-2.0')
depends=(
r-biobase
r-biodb
r-biodbchebi
r-data.table
r-futile.logger
r-ggplot2
r-ggrepel
r-htmlwidgets
r-igraph
r-limma
r-multiassayexperiment
r-multidataset
r-plotly
r-pmcmrplus
r-ranger
r-rcolorbrewer
r-ropls
r-summarizedexperiment
r-tibble
r-tidyr
r-venndiagram
)
checkdepends=(
r-testthat
)
optdepends=(
r-biocgenerics
r-biocstyle
r-biosigner
r-cll
r-knitr
r-omicade4
r-rmarkdown
r-testthat
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz"
"$_pkgname-LICENSE::http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt")
md5sums=('73d059932bb380964ca38e2fa1a550a3'
'599cf91b33571e942d3ba5f9623b8011')
b2sums=('6b1f46403c17ed89388e108ed0e3cfe190bea29e07bae2d7db0415fdab670078b5c76c4e51a87793b57a7abb0238cab71f01f6a7d6ba1d98c80cc7ae3038fd77'
'ff97dacc39b8597e670dbaf5bc0f0e4db73eada273708433fc227fa72c054a30a67dbc7b2416089d68f09ab65da721e5b30711022c41047d9cf706731d568038')
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"
install -Dm644 "$_pkgname-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|