From 5fe1f8cfa914be8defc41bd12e964c45b93e55ef Mon Sep 17 00:00:00 2001 From: PietrH Date: Thu, 5 Dec 2024 15:14:16 +0100 Subject: [PATCH 1/4] Remove exposed #' roxygen tag in example --- R/coord-polar.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/coord-polar.R b/R/coord-polar.R index aa5e7c538b..de9453ddb9 100644 --- a/R/coord-polar.R +++ b/R/coord-polar.R @@ -20,7 +20,7 @@ #' # to demonstrate how these common plots can be described in the #' # grammar. Use with EXTREME caution. #' -#' #' # A pie chart = stacked bar chart + polar coordinates +#' # A pie chart = stacked bar chart + polar coordinates #' pie <- ggplot(mtcars, aes(x = factor(1), fill = factor(cyl))) + #' geom_bar(width = 1) #' pie + coord_polar(theta = "y") From 4b07e4593571748f46622482ef6436e5165456fc Mon Sep 17 00:00:00 2001 From: PietrH Date: Thu, 5 Dec 2024 15:15:28 +0100 Subject: [PATCH 2/4] devtools::document() --- man/coord_polar.Rd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/coord_polar.Rd b/man/coord_polar.Rd index 12957c2fd9..d2e03956bd 100644 --- a/man/coord_polar.Rd +++ b/man/coord_polar.Rd @@ -86,7 +86,7 @@ sensible when \code{inner.radius > 0}. # to demonstrate how these common plots can be described in the # grammar. Use with EXTREME caution. -#' # A pie chart = stacked bar chart + polar coordinates +# A pie chart = stacked bar chart + polar coordinates pie <- ggplot(mtcars, aes(x = factor(1), fill = factor(cyl))) + geom_bar(width = 1) pie + coord_polar(theta = "y") From b3e48ae9c34ad26fe7340d271dedf15a51e5accb Mon Sep 17 00:00:00 2001 From: PietrH Date: Thu, 5 Dec 2024 15:16:28 +0100 Subject: [PATCH 3/4] Remove exposed roxygen `#'` tag --- R/guide-axis-stack.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/guide-axis-stack.R b/R/guide-axis-stack.R index 74fe2b2b3a..a58a4344cc 100644 --- a/R/guide-axis-stack.R +++ b/R/guide-axis-stack.R @@ -22,7 +22,7 @@ NULL #' @export #' #' @examples -#' #' # A standard plot +#' # A standard plot #' p <- ggplot(mpg, aes(displ, hwy)) + #' geom_point() + #' theme(axis.line = element_line()) From 1fa608061b50c3ab6f26970bb6172121e1d29d18 Mon Sep 17 00:00:00 2001 From: PietrH Date: Thu, 5 Dec 2024 15:29:32 +0100 Subject: [PATCH 4/4] devtools::document() --- man/guide_axis_stack.Rd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/guide_axis_stack.Rd b/man/guide_axis_stack.Rd index a001a35ac2..4a18fc3fdb 100644 --- a/man/guide_axis_stack.Rd +++ b/man/guide_axis_stack.Rd @@ -53,7 +53,7 @@ The \code{first} guide will be placed closest to the panel and any subsequent guides provided through \code{...} will follow in the given order. } \examples{ -#' # A standard plot +# A standard plot p <- ggplot(mpg, aes(displ, hwy)) + geom_point() + theme(axis.line = element_line())