blob: cf8e61cf06f32aba423d59d300e3484c29590192 (
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
_pkgname=COTAN
_pkgver=2.4.6
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="COexpression Tables ANalysis"
arch=(any)
url="https://bioconductor.org/packages/$_pkgname"
license=('GPL-3.0-only')
depends=(
r-assertthat
r-biocsingular
r-circlize
r-complexheatmap
r-dendextend
r-dplyr
r-ggplot2
r-ggrepel
r-ggthemes
r-paralleldist
r-parallelly
r-pcatools
r-plyr
r-rcolorbrewer
r-rfast
r-rlang
r-scales
r-seurat
r-stringr
r-tibble
r-tidyr
r-umap
r-withr
r-zeallot
)
checkdepends=(
r-r.utils
r-testthat
)
optdepends=(
r-biocstyle
r-cowplot
r-data.table
r-geoquery
r-gsubfn
r-htmlwidgets
r-knitr
r-plotly
r-proto
r-qpdf
r-r.utils
r-rmarkdown
r-rtsne
r-sf
r-spelling
r-testthat
r-tidyverse
r-torch
)
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('b31a566bbaf1946d18f4ab2cc9320ce6')
b2sums=('23c644995a4aa1da664743cea67cf552da46e751b975fbc7068caa5e4c5d2e2631fb5937fa24896d901060060836330a82f0dd7a24b636b9adb5fb00dbcd6fa5')
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"
}
|