blob: af17acaf7d31d4175f61a711dcb99870cfcb5b9e (
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
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
# Contributor: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=quantiseqr
_pkgver=1.14.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Quantification of the Tumor Immune contexture from RNA-seq data"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('GPL-3.0-only')
depends=(
r-biobase
r-ggplot2
r-limsolve
r-preprocesscore
r-rlang
r-summarizedexperiment
r-tidyr
)
checkdepends=(
r-testthat
)
optdepends=(
r-annotationdbi
r-biocstyle
r-dplyr
r-experimenthub
r-geoquery
r-knitr
r-macrophage
r-org.hs.eg.db
r-reshape2
r-rmarkdown
r-testthat
r-tibble
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('a9551c10906fbb2f456a906cea0ab952')
b2sums=('c35e3c707a68748f658e139dbfb5d6b8848e3349a0ff9b2995d2c78a552660ead478ffb14feed1e50e616e14428ab0300c92f9d86b9686316cfd7455abd005c8')
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"
}
|