blob: 49969bf43cc5c6fa50bbcece73fb2a17db13fd55 (
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
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
_pkgname=QTLExperiment
_pkgver=1.4.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="S4 classes for QTL summary statistics and metadata"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('GPL-3.0-only')
depends=(
r-ashr
r-biocgenerics
r-checkmate
r-collapse
r-dplyr
r-rlang
r-s4vectors
r-summarizedexperiment
r-tibble
r-tidyr
r-vroom
)
checkdepends=(
r-testthat
)
optdepends=(
r-biocstyle
r-covr
r-knitr
r-rmarkdown
r-testthat
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('1e23219a564067f8eeda2c2efa0d0f07')
b2sums=('5377f70fa30d7b61e6f084b9428539a6ebfb14f7e87935fc14046ad524af17352c25102446ff49dbc1fa2b65b22b160e7b1001b76e9f85edba8c934280a87b06')
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"
}
|