Skip to content

Commit 144aea1

Browse files
committed
Upgrade roxygen2
1 parent ef33dc7 commit 144aea1

File tree

174 files changed

+396
-393
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

174 files changed

+396
-393
lines changed

DESCRIPTION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,3 +209,4 @@ Collate:
209209
'zxx.r'
210210
'zzz.r'
211211
VignetteBuilder: knitr
212+
RoxygenNote: 5.0.0

NAMESPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Generated by roxygen2 (4.1.1): do not edit by hand
1+
# Generated by roxygen2: do not edit by hand
22

33
S3method("$",ggproto)
44
S3method("$",ggproto_parent)

R/fortify-lm.r

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#' If you have missing values in your model data, you may need to refit
44
#' the model with \code{na.action = na.exclude}.
55
#'
6-
#'
76
#' @return The original data with extra columns:
87
#' \item{.hat}{Diagonal of the hat matrix}
98
#' \item{.sigma}{Estimate of residual standard deviation when

R/plot-construction.r

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@
5757
#'
5858
#' @param e1 An object of class \code{ggplot} or \code{theme}
5959
#' @param e2 A component to add to \code{e1}
60-
#'
6160
#' @export
62-
#'
6361
#' @seealso \code{\link{theme}}
6462
#' @method + gg
6563
#' @rdname gg-add

R/scale-discrete-.r

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#' level, and increasing by one for each level (i.e. the labels are placed
77
#' at integer positions). This is what allows jittering to work.
88
#'
9-
#'
109
#' @param ... common discrete scale parameters: \code{name}, \code{breaks},
1110
#' \code{labels}, \code{na.value}, \code{limits} and \code{guide}. See
1211
#' \code{\link{discrete_scale}} for more details

R/stat-count.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#' \code{\link{stat_bin}} requires continuous x data, whereas
1313
#' \code{stat_count} can be used for both discrete and continuous x data.
1414
#'
15-
#' @export
15+
#' @export
1616
#' @rdname geom_bar
1717
stat_count <- function(mapping = NULL, data = NULL, geom = "bar",
1818
position = "stack", width = NULL, ...,

R/utilities-grid.r

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
1-
#' unit & arrow functions from grid.
2-
#'
3-
#' See \code{\link[grid]{arrow}} and \code{\link[grid]{unit}} for more details.
4-
#' These functions are re-exported from grid by ggplot2 since they are
5-
#' so commonly used.
6-
#'
7-
#' @name ggplot2-grid
8-
#' @export unit arrow
9-
#' @aliases unit arrow
10-
#' @keywords internal
11-
NULL
1+
#' @export
2+
grid::unit
3+
4+
#' @export
5+
grid::arrow
126

137
# Name ggplot grid object
148
# Convenience function to name grid objects

R/utilities.r

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
#' Create a transparent colour.
2-
#'
3-
#' @name alpha
41
#' @export
52
#' @examples
63
#' ggplot(mpg, aes(displ, hwy)) +
74
#' geom_point(alpha = 0.5, colour = "blue")
85
#'
96
#' ggplot(mpg, aes(displ, hwy)) +
107
#' geom_point(colour = alpha("blue", 0.5))
11-
NULL
8+
scales::alpha
129

1310
"%||%" <- function(a, b) {
1411
if (!is.null(a)) a else b

man/absoluteGrob.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/add_theme.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)