blob: d7f4fc88c924bf2ebc2fcb73021a969c89a78954 (
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
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
_pkgname=IFAA
_pkgver=1.6.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Robust Inference for Absolute Abundance in Microbiome Analysis"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('GPL-2.0-only')
depends=(
r-desctools
r-doparallel
r-dorng
r-foreach
r-glmnet
r-hdci
r-mathjaxr
r-matrixextra
r-parallelly
r-s4vectors
r-stringr
r-summarizedexperiment
)
checkdepends=(
r-biocgenerics
r-runit
)
optdepends=(
r-biocgenerics
r-biocstyle
r-knitr
r-rmarkdown
r-runit
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('4028d5eb956b2c5694824d41e07739c6')
b2sums=('527f51d9e6b01ebfd658ff52b122d70d72210f6d19aee75cfee3abc16c3bf5a791bccd279c69176a1e1970fa246bc019611f2ac64c0ebf7efcb3f05ce948d3f5')
build() {
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
check() {
cd "$_pkgname/tests"
R_LIBS="$srcdir/build" Rscript --vanilla runTests.R
}
package() {
install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
}
|