diff options
author | Sukanka | 2022-06-06 02:24:49 +0800 |
---|---|---|
committer | Sukanka | 2022-06-06 02:24:49 +0800 |
commit | 35b7c88adc008cb6a19cc117a988250f78aa9a40 (patch) | |
tree | 5ed787ae0fea19876f4adece6578500a325fa669 | |
parent | a7391310d6e6043e054b3056cbbe920a3128fed0 (diff) | |
download | aur-35b7c88adc008cb6a19cc117a988250f78aa9a40.tar.gz |
add r-bayesplot
-rw-r--r-- | .SRCINFO | 28 | ||||
-rw-r--r-- | PKGBUILD | 64 |
2 files changed, 65 insertions, 27 deletions
@@ -1,31 +1,37 @@ pkgbase = r-bayesplot pkgdesc = Plotting for Bayesian Models - pkgver = 1.6.0 - pkgrel = 1 + pkgver = 1.9.0 + pkgrel = 4 url = https://cran.r-project.org/package=bayesplot arch = any - license = GPL3 + license = GPL depends = r - depends = r-dplyr>=0.7.1 - depends = r-ggplot2>=2.2.1 + depends = r-dplyr + depends = r-ggplot2 + depends = r-ggridges + depends = r-glue + depends = r-posterior depends = r-reshape2 depends = r-rlang - depends = r-ggridges - optdepends = pandoc - optdepends = r-arm + depends = r-tibble + depends = r-tidyselect + depends = pandoc + optdepends = r-ggfortify optdepends = r-gridextra + optdepends = r-hexbin optdepends = r-knitr optdepends = r-loo + optdepends = r-rcolorbrewer optdepends = r-rmarkdown optdepends = r-rstan optdepends = r-rstanarm optdepends = r-rstantools optdepends = r-scales optdepends = r-shinystan + optdepends = r-survival optdepends = r-testthat optdepends = r-vdiffr - source = https://cran.r-project.org/src/contrib/bayesplot_1.6.0.tar.gz - md5sums = da63b1645548d3c6990cc707b871d305 + source = https://cran.r-project.org/src/contrib/bayesplot_1.9.0.tar.gz + sha256sums = 0a81a4b99cf781334e57cfc3c469fad8b932a68204016a3bbca33cab4e2a1e43 pkgname = r-bayesplot - @@ -1,22 +1,54 @@ -# Maintainer: Alex Branham <branham@utexas.edu> -_cranver=1.6.0 -pkgname=r-bayesplot -pkgver=${_cranver//[:-]/.} -pkgrel=1 +# system requirements: pandoc (>= 1.12.3), pandoc-citeproc +# Maintainer: sukanka <su975853527@gmail.com> + +_pkgname=bayesplot +_pkgver=1.9.0 +pkgname=r-${_pkgname,,} +pkgver=1.9.0 +pkgrel=4 pkgdesc='Plotting for Bayesian Models' arch=('any') -url='https://cran.r-project.org/package=bayesplot' -license=('GPL3') -depends=('r' 'r-dplyr>=0.7.1' 'r-ggplot2>=2.2.1' 'r-reshape2' 'r-rlang' 'r-ggridges') -optdepends=('pandoc' 'r-arm' 'r-gridextra' 'r-knitr' 'r-loo' 'r-rmarkdown' 'r-rstan' 'r-rstanarm' 'r-rstantools' 'r-scales' 'r-shinystan' 'r-testthat' 'r-vdiffr') -source=("https://cran.r-project.org/src/contrib/bayesplot_"$_cranver".tar.gz") -md5sums=('da63b1645548d3c6990cc707b871d305') +url="https://cran.r-project.org/package=${_pkgname}" +license=('GPL') +depends=( + r + r-dplyr + r-ggplot2 + r-ggridges + r-glue + r-posterior + r-reshape2 + r-rlang + r-tibble + r-tidyselect + pandoc +) +optdepends=( + r-ggfortify + r-gridextra + r-hexbin + r-knitr + r-loo + r-rcolorbrewer + r-rmarkdown + r-rstan + r-rstanarm + r-rstantools + r-scales + r-shinystan + r-survival + r-testthat + r-vdiffr +) +source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('0a81a4b99cf781334e57cfc3c469fad8b932a68204016a3bbca33cab4e2a1e43') -build(){ - R CMD INSTALL bayesplot_"$_cranver".tar.gz -l "$srcdir" +build() { + R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" } + package() { - install -dm0755 "$pkgdir"/usr/lib/R/library - cp -a --no-preserve=ownership bayesplot "$pkgdir"/usr/lib/R/library + 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: |