blob: e7ce164d4b536b87da30500a1bef82e0e33bbea9 (
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
67
68
69
70
71
72
73
74
75
76
77
78
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
# Contributor: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=radiant.data
_pkgver=1.6.6
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Data Menu for Radiant: Business Analytics using R and Shiny"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('AGPL-3.0-only AND CC-BY-SA-4.0')
depends=(
r-arrow
r-base64enc
r-broom
r-bslib
r-car
r-curl
r-dplyr
r-dt
r-ggplot2
r-glue
r-import
r-jsonlite
r-knitr
r-lubridate
r-magrittr
r-markdown
r-patchwork
r-plotly
r-png
r-psych
r-randomizr
r-readr
r-readxl
r-rlang
r-rmarkdown
r-rstudioapi
r-scales
r-shiny
r-shinyace
r-shinyfiles
r-stringi
r-tibble
r-tidyr
r-writexl
)
checkdepends=(
r-testthat
)
optdepends=(
r-dbi
r-dbplyr
r-pkgdown
r-rpostgres
r-rsqlite
r-testthat
r-webshot
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('e5432e5ef8796bb18f6ab0d40f91c7e1')
b2sums=('c7d8de7be7bc38fb838579186279cdf151b8e3c686cb40143c54e944b9f7c9633e11152614d49a93cd158bfb079f20a342a2cad9ac98a22c2257d4c6d5f2ed9d')
build() {
mkdir build
R CMD INSTALL -l build "$_pkgname"
}
check() {
cd "$_pkgname/tests"
R_LIBS="$srcdir/build" NOT_CRAN=true Rscript --vanilla testthat.R
}
package() {
install -d "$pkgdir/usr/lib/R/library"
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
}
|