Skip to content

Commit 23c6998

Browse files
committed
fixed check notes
1 parent 0b500fe commit 23c6998

File tree

3 files changed

+24
-13
lines changed

3 files changed

+24
-13
lines changed

DESCRIPTION

+20-9
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,23 @@ Package: sugrrants
22
Title: Supporting Graphs for Analysing Time Series
33
Version: 0.1.6
44
Date: 2018-10-19
5-
Authors@R: c(
6-
person("Earo", "Wang", email = "earo.wang@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0001-6448-5260")),
7-
person("Di", "Cook", role = c("aut", "ths"), comment = c(ORCID = "0000-0002-3813-7155")),
8-
person("Rob", "Hyndman", role = c("aut", "ths"), comment = c(ORCID = "0000-0002-2140-5352"))
9-
)
10-
Description: Provides 'ggplot2' graphics for analysing time series data. It aims
11-
to fit into the 'tidyverse' and grammar of graphics framework for handling
12-
temporal data.
5+
Authors@R:
6+
c(person(given = "Earo",
7+
family = "Wang",
8+
role = c("aut", "cre"),
9+
email = "earo.wang@gmail.com",
10+
comment = c(ORCID = "0000-0001-6448-5260")),
11+
person(given = "Di",
12+
family = "Cook",
13+
role = c("aut", "ths"),
14+
comment = c(ORCID = "0000-0002-3813-7155")),
15+
person(given = "Rob",
16+
family = "Hyndman",
17+
role = c("aut", "ths"),
18+
comment = c(ORCID = "0000-0002-2140-5352")))
19+
Description: Provides 'ggplot2' graphics for analysing time
20+
series data. It aims to fit into the 'tidyverse' and grammar of
21+
graphics framework for handling temporal data.
1322
License: GPL (>= 3)
1423
URL: https://pkg.earo.me/sugrrants
1524
BugReports: https://github.com/earowang/sugrrants/issues
@@ -28,9 +37,11 @@ Suggests:
2837
readr,
2938
rmarkdown,
3039
testthat,
40+
tidyr,
3141
tsibble (>= 0.5.0),
3242
viridis
33-
VignetteBuilder: knitr
43+
VignetteBuilder:
44+
knitr
3445
Encoding: UTF-8
3546
LazyData: true
3647
Roxygen: list(markdown = TRUE)

R/prettify.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ prettify.ggplot <- function(plot, label = c("label", "text"), locale, abbr = TRU
140140
)
141141
if (!is_null(breaks)) {
142142
plot +
143-
expand_limits(y = c(min_na(breaks$y) - half_y, max_na(breaks$y) + half_y))
143+
ggplot2::expand_limits(y = c(min_na(breaks$y) - half_y, max_na(breaks$y) + half_y))
144144
}
145145
plot
146146
}

docs/index.html

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)