blob: 302361fdf293ac8c0ff1e7492f9043bab625174f (
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
|
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=datawizard
_pkgver=0.13.0
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Easy Data Wrangling and Statistical Transformations"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('MIT')
depends=(
r-insight
)
optdepends=(
r-bayestestr
r-brms
r-curl
r-data.table
r-dplyr
r-effectsize
r-emmeans
r-gamm4
r-ggplot2
r-gt
r-haven
r-httr
r-knitr
r-lme4
r-mediation
r-modelbased
r-parameters
r-poorman
r-psych
r-readr
r-readxl
r-rio
r-rmarkdown
r-rstanarm
r-see
r-testthat
r-tibble
r-tidyr
r-withr
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('f4e4a3bcaeedb0c8cedd59843836884b')
b2sums=('17b80457c760f51271cf506cc81dedcd5d3801f1a8fa2dffff0d70baf7713a52ce12780516d40262556591c4ef8804057aaa19c90f643fa097b4e7c8526afd29')
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"
install -d "$pkgdir/usr/share/licenses/$pkgname"
ln -s "/usr/lib/R/library/$_pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
}
|