blob: f4bfe3b7459745125a8c2d6d8ae41f679d50e4f4 (
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
|
# Maintainer: Pekka Ristola <pekkarr [at] protonmail [dot] com>
# Contributor: Guoyi Zhang <guoyizhang at malacology dot net>
# Contributor: Robert Greener <me@r0bert.dev>
# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr>
_pkgname=ggpmisc
_pkgver=0.6.1
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc="Miscellaneous Extensions to 'ggplot2'"
arch=(any)
url="https://cran.r-project.org/package=$_pkgname"
license=('GPL-2.0-or-later')
depends=(
r-confintr
r-dplyr
r-generics
r-ggplot2
r-ggpp
r-lmodel2
r-lubridate
r-multcomp
r-multcompview
r-plyr
r-polynom
r-quantreg
r-rlang
r-scales
r-splus2r
r-tibble
)
checkdepends=(
r-broom
r-broom.mixed
r-testthat
r-vdiffr
)
optdepends=(
r-broom
r-broom.mixed
r-gginnards
r-ggrepel
r-ggtext
r-knitr
r-rmarkdown
r-testthat
r-vdiffr
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz"
"fix-tests.patch")
md5sums=('1535dc89bf7c6a72d7f01cad1823ccd4'
'733f754ce3c1486851d08acad34f7dba')
b2sums=('5e4974c1a800ebea2178166c15a044b4482418a8a75f4f32edb597d8077b19052985a2a784fef9879a221a4408ea8e840e4154e866e27ad156f92a30ed61b99d'
'0d6b5f2c056d6c4badfb880f3c47f7f1aa87c28f0d3c972a7df0e039ba0f68ffb6663ccafe790be759711a879d001aa53ed96ef9de2fd620382d31eb2b9a9c1b')
#prepare() {
# fix snapshot tests
# patch -Np1 -i fix-tests.patch
#}
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"
}
|