Skip to content

Commit f65dfb2

Browse files
committed
Fixes to docs for R CMD check
1 parent a5383f2 commit f65dfb2

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

R/scale-size.r

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,10 @@ scale_size_discrete <- function(..., range = c(1, 6)) {
5656
#'
5757
#' @param ... Other arguments passed on to \code{\link{continuous_scale}}
5858
#' to control name, limits, breaks, labels and so forth.
59-
#' @param range Range of output sizes. Should be greater than 0.
6059
#' @param max_size Size of largest points.
6160
#' @export
6261
scale_size_area <- function(..., max_size = 6) {
6362
continuous_scale("size", "area",
64-
pal = abs_area(max_size),
63+
palette = abs_area(max_size),
6564
rescaler = rescale_max, ...)
6665
}

R/stat-identity.r

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
#' @param geom The geometric object to use display the data
1212
#' @param position The position adjustment to use for overlappling points
1313
#' on this layer
14+
#' @param width The width of the tiles.
15+
#' @param height The height of the tiles.
1416
#' @param ... other arguments passed on to \code{\link{layer}}. This can
1517
#' include aesthetics whose values you want to set, not map. See
1618
#' \code{\link{layer}} for more details.

man/scale_size_area.Rd

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
\code{\link{continuous_scale}} to control name, limits,
1010
breaks, labels and so forth.}
1111

12-
\item{range}{Range of output sizes. Should be greater
13-
than 0.}
14-
1512
\item{max_size}{Size of largest points.}
1613
}
1714
\description{

man/stat_identity.Rd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
\item{position}{The position adjustment to use for
2121
overlappling points on this layer}
2222

23+
\item{width}{The width of the tiles.}
24+
25+
\item{height}{The height of the tiles.}
26+
2327
\item{...}{other arguments passed on to
2428
\code{\link{layer}}. This can include aesthetics whose
2529
values you want to set, not map. See \code{\link{layer}}

0 commit comments

Comments
 (0)