Skip to content

Commit ed106db

Browse files
committed
Fix roxygen/Rd issue
1 parent 44499f2 commit ed106db

File tree

6 files changed

+62
-55
lines changed

6 files changed

+62
-55
lines changed

Diff for: DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Suggests:
7878
rsvg,
7979
ggridges
8080
LazyData: true
81-
RoxygenNote: 7.2.3
81+
RoxygenNote: 7.3.1
8282
Encoding: UTF-8
8383
Roxygen: list(markdown = TRUE)
8484
Config/Needs/check:

Diff for: NAMESPACE

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ S3method(to_basic,GeomDensity2d)
5353
S3method(to_basic,GeomDensityLine)
5454
S3method(to_basic,GeomDensityRidges)
5555
S3method(to_basic,GeomDensityRidges2)
56+
S3method(to_basic,GeomDensityRidgesGradient)
5657
S3method(to_basic,GeomDotplot)
5758
S3method(to_basic,GeomErrorbar)
5859
S3method(to_basic,GeomErrorbarh)
@@ -70,6 +71,7 @@ S3method(to_basic,GeomRasterAnn)
7071
S3method(to_basic,GeomRect)
7172
S3method(to_basic,GeomRibbon)
7273
S3method(to_basic,GeomRidgeline)
74+
S3method(to_basic,GeomRidgelineGradient)
7375
S3method(to_basic,GeomRug)
7476
S3method(to_basic,GeomSegment)
7577
S3method(to_basic,GeomSf)

Diff for: R/ggridges.R

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#' Get data for ridge plots
2-
#'
3-
#' @param data dataframe, the data returned by `ggplot2::ggplot_build()`.
4-
#' @param na.rm boolean, from params
5-
#'
6-
#' @return dataframe containing plotting data
7-
#'
1+
# Get data for ridge plots
2+
#
3+
# @param data dataframe, the data returned by `ggplot2::ggplot_build()`.
4+
# @param na.rm boolean, from params
5+
#
6+
# @return dataframe containing plotting data
7+
#
88
get_ridge_data <- function(data, na.rm) {
99
if (isTRUE(na.rm)) {
1010
data <- data[stats::complete.cases(data[c("x", "ymin", "ymax")]), ]
@@ -27,9 +27,9 @@ get_ridge_data <- function(data, na.rm) {
2727
}
2828

2929

30-
#' Prepare plotting data for ggridges
31-
#' @param closed boolean, should the polygon be closed at bottom (TRUE for
32-
#' geom_density_ridges2, FALSE for geom_density_ridges)
30+
# Prepare plotting data for ggridges
31+
# @param closed boolean, should the polygon be closed at bottom (TRUE for
32+
# geom_density_ridges2, FALSE for geom_density_ridges)
3333
prepare_ridge_chart <- function(data, prestats_data, layout, params, p, closed = FALSE, ...) {
3434
d <- get_ridge_data(data, params$na.rm)
3535

Diff for: man/get_ridge_data.Rd

-19
This file was deleted.

Diff for: man/prepare_ridge_chart.Rd

-23
This file was deleted.

Diff for: man/reexports.Rd

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

0 commit comments

Comments
 (0)