mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
56 lines
1.2 KiB
Bash
56 lines
1.2 KiB
Bash
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
|
|
|
|
_pkgname=DifferentialRegulation
|
|
_pkgver=2.0.2
|
|
pkgname=r-${_pkgname,,}
|
|
pkgver=${_pkgver//-/.}
|
|
pkgrel=2
|
|
pkgdesc="Differentially regulated genes from scRNA-seq data"
|
|
arch=(x86_64)
|
|
url="https://bioconductor.org/packages/$_pkgname"
|
|
license=('GPL-3.0-only')
|
|
depends=(
|
|
blas
|
|
lapack
|
|
r-bandits
|
|
r-data.table
|
|
r-doparallel
|
|
r-dorng
|
|
r-foreach
|
|
r-ggplot2
|
|
r-gridextra
|
|
r-rcpp
|
|
r-singlecellexperiment
|
|
r-summarizedexperiment
|
|
r-tximport
|
|
)
|
|
makedepends=(
|
|
r-rcpparmadillo
|
|
)
|
|
checkdepends=(
|
|
r-testthat
|
|
)
|
|
optdepends=(
|
|
r-biocstyle
|
|
r-knitr
|
|
r-rmarkdown
|
|
r-testthat
|
|
)
|
|
source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
|
md5sums=('875793d502c3e521b4faa3eba0d1c2e7')
|
|
b2sums=('5685c9eb52f6070de4acc6f2199855ae72898ad3b5e5e8d60b651fbfbcf0a844aaa25dc54e318d0d2a2960ff9c0c4860fb82f646b26e3ff49bdff6f0e5f5799f')
|
|
|
|
build() {
|
|
mkdir build
|
|
R CMD INSTALL -l build "$_pkgname"
|
|
}
|
|
|
|
check() {
|
|
cd "$_pkgname/tests"
|
|
R_LIBS="$srcdir/build" NOT_CRAN=true Rscript --vanilla testhat.R
|
|
}
|
|
|
|
package() {
|
|
install -d "$pkgdir/usr/lib/R/library"
|
|
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
|
|
}
|