addpkg: r-report and its deps

This commit is contained in:
Butui Hu 2022-05-10 21:09:06 +08:00
parent 9d21a0aa88
commit 9fae6f34cd
15 changed files with 483 additions and 0 deletions

View file

@ -0,0 +1,62 @@
# Maintainer: Hu Butui <hot123tea123@gmail.com>
_pkgname=bayestestR
_pkgver=0.12.1
pkgname=r-${_pkgname,,}
pkgver=0.12.1
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-bayesqr
r-blavaan
r-bridgesampling
r-brms
r-dplyr
r-effectsize
r-emmeans
r-ggally
r-ggplot2
r-ggridges
r-httr
r-kernsmooth
r-knitr
r-lavaan
r-lme4
r-logspline
r-mass
r-mclust
r-mediation
r-modelbased
r-parameters
r-performance
r-rmarkdown
r-rstan
r-rstanarm
r-see
r-spelling
r-stringr
r-testthat
r-tidyr
r-tweedie
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('3f80c00222028236255e57107136793ea8413ab4c8c0e39dcaf6ffc29eba73b9')
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:

View file

@ -0,0 +1,12 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
for line in edit_file('PKGBUILD'):
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build():
git_pkgbuild_commit()

View file

@ -0,0 +1,10 @@
build_prefix: extra-x86_64
maintainers:
- github: hubutui
repo_depends:
- r-datawizard
- r-insight
update_on:
- regex: bayestestR_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=bayestestR

View file

@ -0,0 +1,64 @@
# Maintainer: Hu Butui <hot123tea123@gmail.com>
_pkgname=effectsize
_pkgver=0.6.0.1
pkgname=r-${_pkgname,,}
pkgver=0.6.0.1
pkgrel=1
pkgdesc='Indices of Effect Size and Standardized Parameters'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
depends=(
r
r-bayestestr
r-insight
r-parameters
r-performance
)
optdepends=(
r-afex
r-bayesfactor
r-boot
r-brms
r-car
r-correlation
r-covr
r-dplyr
r-emmeans
r-gamm4
r-ggplot2
r-knitr
r-lavaan
r-lm.beta
r-lme4
r-lmertest
r-mass
r-mediation
r-mgcv
r-modelbased
r-mumin
r-performance
r-pscl
r-rmarkdown
r-rms
r-rstanarm
r-rstantools
r-see
r-spelling
r-testthat
r-tidymodels
r-tidyr
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('3fe234c167af3beac46e01dbc9434db4f54e3816dbfc66aa8d5b819d3d5c17e6')
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:

View file

@ -0,0 +1,12 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
for line in edit_file('PKGBUILD'):
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build():
git_pkgbuild_commit()

View file

@ -0,0 +1,12 @@
build_prefix: extra-x86_64
maintainers:
- github: hubutui
repo_depends:
- r-bayestestr
- r-insight
- r-parameters
- r-performance
update_on:
- regex: effectsize_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=effectsize

View file

@ -0,0 +1,114 @@
# Maintainer: Hu Butui <hot123tea123@gmail.com>
_pkgname=parameters
_pkgver=0.17.0
pkgname=r-${_pkgname,,}
pkgver=0.17.0
pkgrel=1
pkgdesc='Processing of Model Parameters'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
depends=(
r
r-bayestestr
r-insight
)
optdepends=(
r-aer
r-afex
r-aod
r-bayesfactor
r-bayesfm
r-bbmle
r-betareg
r-blme
r-boot
r-brglm2
r-brms
r-broom
r-caic4
r-car
r-cgam
r-clubsandwich
r-cluster
r-cplm
r-dplyr
r-drr
r-effectsize
r-eganet
r-emmeans
r-factominer
r-fastica
r-gam
r-gamlss
r-gee
r-geepack
r-ggplot2
r-glmmadaptive
r-glmmtmb
r-gparotation
r-gt
r-knitr
r-lavaan
r-lavasearch2
r-lm.beta
r-lme4
r-lmertest
r-logspline
r-lqmm
r-m3c
r-magrittr
r-mass
r-matrix
r-mclust
r-mcmcglmm
r-mediation
r-metabma
r-metafor
r-mfx
r-mgcv
r-mice
r-multcomp
r-multimode
r-mumin
r-nbclust
r-nfactors
r-nlme
r-panelr
r-pbkrtest
r-performance
r-plm
r-pmcmrplus
r-projpred
r-pscl
r-psych
r-quantreg
r-randomforest
r-rmarkdown
r-rstanarm
r-sandwich
r-see
r-sjstats
r-spelling
r-survey
r-survival
r-testthat
r-tmb
r-tripack
r-truncreg
r-vgam
r-wrs2
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('e94089accb80951dceff94d9d28fb381647369d6963cf8582044980cf3d03073')
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:

View file

@ -0,0 +1,12 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
for line in edit_file('PKGBUILD'):
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build():
git_pkgbuild_commit()

View file

@ -0,0 +1,10 @@
build_prefix: extra-x86_64
maintainers:
- github: hubutui
repo_depends:
- r-bayestestr
- r-insight
update_on:
- regex: parameters_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=parameters

View file

@ -0,0 +1,80 @@
# Maintainer: Hu Butui <hot123tea123@gmail.com>
_pkgname=performance
_pkgver=0.9.0
pkgname=r-${_pkgname,,}
pkgver=0.9.0
pkgrel=1
pkgdesc='Assessment of Regression Models Performance'
arch=('any')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
depends=(
r
r-bayestestr
r-datawizard
r-insight
)
optdepends=(
r-aer
r-afex
r-bayesfactor
r-betareg
r-bigutilsr
r-brms
r-car
r-compquadform
r-correlation
r-cplm
r-dbscan
r-fixest
r-forecast
r-gamm4
r-ggplot2
r-glmmtmb
r-gridextra
r-ics
r-icsoutlier
r-islr
r-lavaan
r-lme4
r-lmtest
r-loo
r-magrittr
r-mass
r-matrix
r-metafor
r-mgcv
r-mlogit
r-nlme
r-nonnest2
r-ordinal
r-parallel
r-parameters
r-pscl
r-psych
r-randomforest
r-rmarkdown
r-rstanarm
r-rstantools
r-sandwich
r-see
r-spelling
r-survey
r-survival
r-testthat
r-tweedie
r-vgam
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('9c67168e06900def7acf55249ec40f3f93444714aa666c241ddf6c794324d9fe')
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:

View file

@ -0,0 +1,12 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
for line in edit_file('PKGBUILD'):
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build():
git_pkgbuild_commit()

View file

@ -0,0 +1,11 @@
build_prefix: extra-x86_64
maintainers:
- github: hubutui
repo_depends:
- r-bayestestr
- r-datawizard
- r-insight
update_on:
- regex: performance_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=performance

View file

@ -0,0 +1,46 @@
# Maintainer: Hu Butui <hot123tea123@gmail.com>
_pkgname=report
_pkgver=0.5.0
pkgname=r-${_pkgname,,}
pkgver=0.5.0
pkgrel=1
pkgdesc='Automated Reporting of Results and Statistical Models'
arch=('any')
url="https://github.com/easystats/report"
license=('GPL')
depends=(
r
r-bayestestr
r-datawizard
r-effectsize
r-insight
r-parameters
r-performance
)
optdepends=(
r-bayesfactor
r-brms
r-dplyr
r-httr
r-knitr
r-lavaan
r-lme4
r-logspline
r-rmarkdown
r-rstanarm
r-spelling
r-testthat
)
source=("${_pkgname}_${pkgver}.tar.gz::https://github.com/easystats/report/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('c661f4682cfa03936052fea733043f255b31d653ce3280006adffbc9f48b05fd')
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:

View file

@ -0,0 +1,12 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
for line in edit_file('PKGBUILD'):
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build():
git_pkgbuild_commit()

View file

@ -0,0 +1,14 @@
build_prefix: extra-x86_64
maintainers:
- github: hubutui
repo_depends:
- r-bayestestr
- r-datawizard
- r-effectsize
- r-insight
- r-parameters
- r-performance
update_on:
- source: github
github: easystats/report
use_max_tag: true