summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5ee508f2a13664ef96409b40907a96b25599e27e (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
# Maintainer: Hu Butui <hot123tea123@gmail.com>

_pkgname=bayestestR
_pkgver=0.13.2
pkgname=r-${_pkgname,,}
pkgver=0.13.2
pkgrel=1
pkgdesc='Understand and Describe Bayesian Models and Posterior Distributions'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
depends=(
  r
  r-datawizard
  r-insight
)
optdepends=(
  r-bayesfactor
  r-bayesplot
  r-bayesqr
  r-bh
  r-blavaan
  r-bridgesampling
  r-brms
  r-curl
  r-effectsize
  r-emmeans
  r-gamm4
  r-ggdist
  r-ggplot2
  r-glmmtmb
  r-httr
  r-kernsmooth
  r-knitr
  r-lavaan
  r-lme4
  r-logspline
  r-mass
  r-mclust
  r-mediation
  r-modelbased
  r-parameters
  r-patchwork
  r-performance
  r-posterior
  r-quadprog
  r-rcppeigen
  r-rmarkdown
  r-rstan
  r-rstanarm
  r-see
  r-testthat
  r-tweedie
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('f600557bff7d7d8948e9a179b4dfb09261e2676783fc22a47a3369e095acb697')

build() {
  R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
}

package() {
  install -dm0755 "${pkgdir}/usr/lib/R/library"
  cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
}
# vim:set ts=2 sw=2 et: