diff options
author | Pekka Ristola | 2023-12-05 13:31:17 +0200 |
---|---|---|
committer | Pekka Ristola | 2023-12-05 13:31:17 +0200 |
commit | b149d4ac77b25b12d6925a10184f3c4d10c19bd7 (patch) | |
tree | 302bcea8040729120ba396fe6613790bf2cb6174 | |
download | aur-b149d4ac77b25b12d6925a10184f3c4d10c19bd7.tar.gz |
Version 1.4.0
-rw-r--r-- | .SRCINFO | 27 | ||||
-rw-r--r-- | PKGBUILD | 52 |
2 files changed, 79 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..349bd98b5451 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,27 @@ +pkgbase = r-scddboost + pkgdesc = A compositional model to assess expression changes from single-cell rna-seq data + pkgver = 1.4.0 + pkgrel = 1 + url = https://bioconductor.org/packages/scDDboost + arch = x86_64 + license = GPL + checkdepends = r-testthat + makedepends = r-bh + depends = r-biocparallel + depends = r-ebseq + depends = r-ggplot2 + depends = r-mclust + depends = r-oscope + depends = r-rcpp + depends = r-rcppeigen + depends = r-singlecellexperiment + depends = r-summarizedexperiment + optdepends = r-biocstyle + optdepends = r-knitr + optdepends = r-rmarkdown + optdepends = r-testthat + source = https://bioconductor.org/packages/release/bioc/src/contrib/scDDboost_1.4.0.tar.gz + md5sums = ac0cac5975ebe4025ea07ad00e132847 + sha256sums = e92ba350e3f9b73a22f634c8e81dd52b8666f905092bfbb0f264dc2863b76f87 + +pkgname = r-scddboost diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..426a7115fa30 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,52 @@ +# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com> + +_pkgname=scDDboost +_pkgver=1.4.0 +pkgname=r-${_pkgname,,} +pkgver=${_pkgver//-/.} +pkgrel=1 +pkgdesc="A compositional model to assess expression changes from single-cell rna-seq data" +arch=(x86_64) +url="https://bioconductor.org/packages/${_pkgname}" +license=(GPL) +depends=( + r-biocparallel + r-ebseq + r-ggplot2 + r-mclust + r-oscope + r-rcpp + r-rcppeigen + r-singlecellexperiment + r-summarizedexperiment +) +makedepends=( + r-bh +) +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=('ac0cac5975ebe4025ea07ad00e132847') +sha256sums=('e92ba350e3f9b73a22f634c8e81dd52b8666f905092bfbb0f264dc2863b76f87') + +build() { + mkdir -p build + R CMD INSTALL "$_pkgname" -l build +} + +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" +} |