blob: 4ea623d4ca77072519ee389a3da98ddbc01905cb (
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
72
73
74
75
76
77
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
_pkgname=Moonlight2R
_pkgver=1.4.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Identify oncogenes and tumor suppressor genes from omics data"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('GPL-3.0-only')
depends=(
r-annotationhub
r-biobase
r-biocgenerics
r-circlize
r-clusterprofiler
r-complexheatmap
r-doparallel
r-dose
r-dplyr
r-easypubmed
r-epimix
r-experimenthub
r-foreach
r-fuzzyjoin
r-genomicranges
r-geoquery
r-ggplot2
r-gplots
r-hiver
r-magrittr
r-org.hs.eg.db
r-parmigene
r-purrr
r-qpdf
r-randomforest
r-rcolorbrewer
r-readr
r-rismed
r-rtracklayer
r-seqminer
r-stringr
r-tibble
r-tidyheatmap
r-tidyr
)
checkdepends=(
r-testthat
)
optdepends=(
r-biocstyle
r-devtools
r-knitr
r-png
r-rmarkdown
r-roxygen2
r-testthat
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('96842c4ab79b82de4ee8a43d1cc10976')
b2sums=('c9220627cc0a12937a9bc3b726ac3abc2c451389267c6a88792039ea6e709016a15e679efbbee51aa550434c9b2db2eee91137019dde76c9725f46c2a371ea05')
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"
}
|