From 7363310b39639bcf6a6e78a0d51c326175b2ec35 Mon Sep 17 00:00:00 2001 From: Claus Wilke Date: Fri, 17 Aug 2018 17:59:13 -0500 Subject: [PATCH] Bring .Rd files in sync with latest code base. (#2833) * Bring .Rd files in sync with latest code base. * rebuild docs with roxygen 6.1.0 --- DESCRIPTION | 2 +- man/scale_brewer.Rd | 8 ++++---- man/scale_gradient.Rd | 2 +- man/scale_grey.Rd | 4 ++-- man/scale_viridis.Rd | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index bcbfff5607..9cbbd67a3e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -239,6 +239,6 @@ Collate: 'zxx.r' 'zzz.r' VignetteBuilder: knitr -RoxygenNote: 6.0.1.9000 +RoxygenNote: 6.1.0 Roxygen: list(markdown = TRUE) Encoding: UTF-8 diff --git a/man/scale_brewer.Rd b/man/scale_brewer.Rd index b12923bdc0..feb4299834 100644 --- a/man/scale_brewer.Rd +++ b/man/scale_brewer.Rd @@ -33,9 +33,9 @@ limits, breaks, labels and so forth.} \item{palette}{If a string, will use that named palette. If a number, will index into the list of palettes of appropriate \code{type}} -\item{direction}{Sets the order of colors in the scale. If 1, the default, -colors are as output by \code{\link[RColorBrewer]{brewer.pal}}. If -1, the -order of colors is reversed.} +\item{direction}{Sets the order of colours in the scale. If 1, the default, +colours are as output by \code{\link[RColorBrewer:brewer.pal]{RColorBrewer::brewer.pal()}}. If -1, the +order of colours is reversed.} \item{aesthetics}{Character string or vector of character strings listing the name(s) of the aesthetic(s) that this scale works with. This can be useful, for @@ -44,7 +44,7 @@ same time, via \code{aesthetics = c("colour", "fill")}.} \item{values}{if colours should not be evenly positioned along the gradient this vector gives the position (between 0 and 1) for each colour in the -\code{colours} vector. See \code{\link{rescale}} for a convience function +\code{colours} vector. See \code{\link[=rescale]{rescale()}} for a convenience function to map an arbitrary range to between 0 and 1.} \item{space}{colour space in which to calculate gradient. Must be "Lab" - diff --git a/man/scale_gradient.Rd b/man/scale_gradient.Rd index f37d139f9d..ace7c800ad 100644 --- a/man/scale_gradient.Rd +++ b/man/scale_gradient.Rd @@ -130,7 +130,7 @@ Defaults to 0.} \item{values}{if colours should not be evenly positioned along the gradient this vector gives the position (between 0 and 1) for each colour in the -\code{colours} vector. See \code{\link{rescale}} for a convience function +\code{colours} vector. See \code{\link[=rescale]{rescale()}} for a convenience function to map an arbitrary range to between 0 and 1.} } \description{ diff --git a/man/scale_grey.Rd b/man/scale_grey.Rd index 2cedbc6d71..c32e80b965 100644 --- a/man/scale_grey.Rd +++ b/man/scale_grey.Rd @@ -66,9 +66,9 @@ scales, "top" or "bottom" for horizontal scales} \item{super}{The super class to use for the constructed scale} }} -\item{start}{gray value at low end of palette} +\item{start}{grey value at low end of palette} -\item{end}{gray value at high end of palette} +\item{end}{grey value at high end of palette} \item{na.value}{Colour to use for missing values} diff --git a/man/scale_viridis.Rd b/man/scale_viridis.Rd index 1043472c27..621aa8c6f3 100644 --- a/man/scale_viridis.Rd +++ b/man/scale_viridis.Rd @@ -50,7 +50,7 @@ same time, via \code{aesthetics = c("colour", "fill")}.} \item{values}{if colours should not be evenly positioned along the gradient this vector gives the position (between 0 and 1) for each colour in the -\code{colours} vector. See \code{\link{rescale}} for a convience function +\code{colours} vector. See \code{\link[=rescale]{rescale()}} for a convenience function to map an arbitrary range to between 0 and 1.} \item{space}{colour space in which to calculate gradient. Must be "Lab" -