blob: 8f0b7532b167e0a92bfa459af21e7031cea109eb (
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
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=mplot
_pkgver=1.0.6
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=2
pkgdesc="Graphical Model Stability and Variable Selection Procedures"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-or-later')
depends=(
r-bestglm
r-doparallel
r-dorng
r-dplyr
r-foreach
r-ggplot2
r-glmnet
r-googlevis
r-leaps
r-magrittr
r-plyr
r-reshape2
r-scales
r-shiny
r-shinydashboard
r-tidyr
)
optdepends=(
r-dt
r-glmulti
r-knitr
r-mvoutlier
r-rmarkdown
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('78087394e1789662440a3a99a036c03c')
b2sums=('c23cebea73fd1ca40304b3dbb6bff6ce6923e7707c9c88769ae672bd03d5f70a70eee7d2b1122c9943a3b56e270bf050c8ca40ba2569b3e6c7165d15cf9964ab')
build() {
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
package() {
install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
}
|