# Maintainer: Pekka Ristola # Contributor: Guoyi Zhang _pkgname=DAPAR _pkgver=1.34.6 pkgname=r-${_pkgname,,} pkgver=${_pkgver//-/.} pkgrel=1 pkgdesc="Tools for the Differential Analysis of Proteins Abundance with R" arch=(any) url="https://bioconductor.org/packages/$_pkgname" license=('Artistic-2.0') depends=( r-annotationdbi r-apcluster r-biobase r-clusterprofiler r-cp4p r-dapardata r-dendextend r-diptest r-doparallel r-dplyr r-factoextra r-factominer r-forcats r-foreach r-ggplot2 r-gplots r-graph r-highcharter r-igraph r-imp4p r-impute r-knitr r-limma r-lme4 r-mfuzz r-msnbase r-multcomp r-norm r-openxlsx r-org.sc.sgd.db r-preprocesscore r-purrr r-rcolorbrewer r-readxl r-reshape2 r-scales r-stringr r-tibble r-tidyr r-tidyverse r-vioplot r-visnetwork r-vsn ) checkdepends=( r-testthat ) optdepends=( r-biocstyle r-testthat ) source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") md5sums=('24ecc0e3b05c61098ccc42488ec3b6ba') b2sums=('91412ecb020321dac40251421df0e84d2afadf37c48ccec66598aff068ec2c46b09aba8a9ef18d430813d8f7bb966d9dc30024c1a5769b13ebd97d1ab2fd117c') 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" }