blob: 7abcc3affd6ccdb3781862c3751b9f971c59d0a5 (
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>
# Contributor: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=GenomicDataCommons
_pkgver=1.32.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="NIH / NCI Genomic Data Commons Access"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('Artistic-2.0')
depends=(
r-dplyr
r-genomicranges
r-httr
r-iranges
r-jsonlite
r-rappdirs
r-readr
r-rlang
r-tibble
r-tidyr
r-xml2
)
checkdepends=(
r-testthat
)
optdepends=(
r-biocparallel
r-biocstyle
r-data.table
r-dt
r-genomicalignments
r-ggplot2
r-knitr
r-listviewer
r-maftools
r-r.utils
r-rmarkdown
r-rsamtools
r-testthat
r-txdb.hsapiens.ucsc.hg38.knowngene
r-variantannotation
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('3480676378673b38ed73380619d42aac')
b2sums=('bccb8817fc50072fd81823aa14d9caad127239172b83da30e6149f5ee803bf919aaabd3a40431b79a1b0b08b40bdd5bd9f8466aa014c1b277b0de32949c80a8a')
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"
}
|