blob: 966b85b59bcb941da61954a0df33ad8bbe1f8934 (
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
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
# Contributor: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=tenXplore
_pkgver=1.24.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=2
pkgdesc="ontological exploration of scRNA-seq of 1.3 million mouse neurons from 10x genomics"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('Artistic-2.0')
depends=(
r-annotationdbi
r-matrixstats
r-ontoproc
r-org.mm.eg.db
r-restfulse
r-shiny
r-summarizedexperiment
)
checkdepends=(
r-testthat
)
optdepends=(
r-biocstyle
r-knitr
r-org.hs.eg.db
r-rmarkdown
r-testthat
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('13e1778f8b644661a521bb832af6e7d6')
b2sums=('e8a277b300e0bcf658d881259cdb0f787a5e18fd94b7f040f5778a517e49224217cea5213e2f9759bd71ec3545db14c17fba3973d9348ed494ad5d2058ccde62')
build() {
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
check() {
cd "$_pkgname/tests"
R_LIBS="$srcdir/build" NOT_CRAN=true Rscript --vanilla test.R
}
package() {
install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
}
|