From 8c304e098636ffe65a9efc6879e293c1311a6e41 Mon Sep 17 00:00:00 2001 From: microly Date: Tue, 26 Nov 2019 00:08:51 +0800 Subject: [PATCH 1/2] correct a spelling mistake in the documatation of continuous_scale --- R/scale-.r | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/scale-.r b/R/scale-.r index ed5128d9f8..c9016d6157 100644 --- a/R/scale-.r +++ b/R/scale-.r @@ -49,7 +49,7 @@ #' range \[0, 1]. This is always [scales::rescale()], except for #' diverging and n colour gradients (i.e., [scale_colour_gradient2()], #' [scale_colour_gradientn()]). The `rescaler` is ignored by position -#' scales, which ways use [scales::rescale()]. +#' scales, which always use [scales::rescale()]. #' @param oob One of: #' - Function that handles limits outside of the scale limits #' (out of bounds). From f6a7b23119a68ebca7203ec2d1959a761194d543 Mon Sep 17 00:00:00 2001 From: ly Date: Tue, 26 Nov 2019 22:03:44 +0800 Subject: [PATCH 2/2] run devtools::document() --- man/binned_scale.Rd | 2 +- man/continuous_scale.Rd | 2 +- man/scale_gradient.Rd | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/man/binned_scale.Rd b/man/binned_scale.Rd index 0da32bd185..85321cd983 100644 --- a/man/binned_scale.Rd +++ b/man/binned_scale.Rd @@ -62,7 +62,7 @@ If the purpose is to zoom, use the limit argument in the coordinate system range [0, 1]. This is always \code{\link[scales:rescale]{scales::rescale()}}, except for diverging and n colour gradients (i.e., \code{\link[=scale_colour_gradient2]{scale_colour_gradient2()}}, \code{\link[=scale_colour_gradientn]{scale_colour_gradientn()}}). The \code{rescaler} is ignored by position -scales, which ways use \code{\link[scales:rescale]{scales::rescale()}}.} +scales, which always use \code{\link[scales:rescale]{scales::rescale()}}.} \item{oob}{One of: \itemize{ diff --git a/man/continuous_scale.Rd b/man/continuous_scale.Rd index e47020117c..05fb1403bf 100644 --- a/man/continuous_scale.Rd +++ b/man/continuous_scale.Rd @@ -76,7 +76,7 @@ If the purpose is to zoom, use the limit argument in the coordinate system range [0, 1]. This is always \code{\link[scales:rescale]{scales::rescale()}}, except for diverging and n colour gradients (i.e., \code{\link[=scale_colour_gradient2]{scale_colour_gradient2()}}, \code{\link[=scale_colour_gradientn]{scale_colour_gradientn()}}). The \code{rescaler} is ignored by position -scales, which ways use \code{\link[scales:rescale]{scales::rescale()}}.} +scales, which always use \code{\link[scales:rescale]{scales::rescale()}}.} \item{oob}{One of: \itemize{ diff --git a/man/scale_gradient.Rd b/man/scale_gradient.Rd index 78793514a7..765ccdc25f 100644 --- a/man/scale_gradient.Rd +++ b/man/scale_gradient.Rd @@ -99,7 +99,7 @@ If the purpose is to zoom, use the limit argument in the coordinate system range [0, 1]. This is always \code{\link[scales:rescale]{scales::rescale()}}, except for diverging and n colour gradients (i.e., \code{\link[=scale_colour_gradient2]{scale_colour_gradient2()}}, \code{\link[=scale_colour_gradientn]{scale_colour_gradientn()}}). The \code{rescaler} is ignored by position -scales, which ways use \code{\link[scales:rescale]{scales::rescale()}}.} +scales, which always use \code{\link[scales:rescale]{scales::rescale()}}.} \item{oob}{One of: \itemize{ \item Function that handles limits outside of the scale limits