blob: 4026d4779b1a5269c4156576f2c5ad6249ed9c9e (
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
79
80
81
82
83
84
85
86
87
88
|
# Maintainer: Carson Buttars <carsonbuttars13@gmail.com>
_pkgname=modeltime
_pkgver=1.3.5
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=5
pkgdesc="The Tidymodels Extension for Time Series Modeling"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('MIT')
depends=(
r-cli
r-dials
r-dplyr
r-doparallel
r-forcats
r-foreach
r-ggplot2
r-glue
r-gt
r-hardhat
r-janitor
r-magrittr
r-parallelly
r-parsnip
r-plotly
r-purrr
r-prophet
r-reactable
r-rlang
r-scales
r-stanheaders
r-stringr
r-tibble
r-tidymodels
r-tidyr
r-timetk
r-workflows
r-xgboost
r-yardstick
r-tidymodels
)
checkdepends=(
r-testthat
)
optdepends=(
r-earth
r-kernlab
r-knitr
r-glmnet
r-greybox
r-lubridate
r-qpdf
r-randomforest
r-recipes
r-rmarkdown
r-rsample
r-rstan
r-slider
r-sparklyr
r-smooth
r-testthat
r-thief
r-trelliscopejs
r-tsrepr
r-tune
r-webshot
r-workplowsets
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
md5sums=('26cd724a9f4320b999a298ba48ac7d0c')
b2sums=('39f9137a224c170322948b061ac931c3845099f349fa2147b6f5f6d3d8fdb44411e96347567178f0b0e0e7b56a6e2627cc348631989a41383c91db5d4756516b')
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"
}
|