blob: f5e82c326f7c0c1bde9b8ddddf2d6a57121a8218 (
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
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
_pkgname=seqArchR
_pkgver=1.10.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Identify Different Architectures of Sequence Elements"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('GPL-3.0-only')
depends=(
python-packaging
python-scikit-learn
r-biocparallel
r-biostrings
r-cli
r-cvtools
r-fpc
r-ggplot2
r-ggseqlogo
r-matrixstats
r-prettyunits
r-reshape2
r-reticulate
)
checkdepends=(
r-testthat
r-vdiffr
)
optdepends=(
r-biocstyle
r-covr
r-cowplot
r-hopach
r-knitr
r-rmarkdown
r-testthat
r-vdiffr
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('51de82aa4ddab7b96a23a2bf7125e07b')
b2sums=('f87aa51f3fcac6c97753b7328927671d833157516f92741d72142f4596aafc3db2a8b6ae67158cf56e5265d96b71048bd6aee110ec5612db7f258c8f8dd333e3')
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"
}
|