diff --git a/DESCRIPTION b/DESCRIPTION index 13bb9255..fc97316e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -35,5 +35,5 @@ Config/Needs/website: tidyverse/tidytemplate Encoding: UTF-8 LazyLoad: yes Roxygen: list(markdown = TRUE, r6 = FALSE) -RoxygenNote: 7.1.2 +RoxygenNote: 7.2.1 Config/testthat/edition: 3 diff --git a/NEWS.md b/NEWS.md index 27453a1d..8ce08c01 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,7 @@ # scales (development version) +* Re-document to fix HTML issues in `.Rd`. + # scales 1.2.0 ## New features diff --git a/man/dollar_format.Rd b/man/dollar_format.Rd index 0a07d6ff..fdf73383 100644 --- a/man/dollar_format.Rd +++ b/man/dollar_format.Rd @@ -35,7 +35,7 @@ dollar( ) } \arguments{ -\item{accuracy}{Number to round to. If \code{NULL}, the default, +\item{accuracy, largest_with_cents}{Number to round to. If \code{NULL}, the default, values will be rounded to the nearest integer, unless any of the values has non-zero fractional component (e.g. cents) and the largest value is less than \code{largest_with_cents} which by default is 100,000.} @@ -44,9 +44,7 @@ value is less than \code{largest_with_cents} which by default is 100,000.} formatting. This is useful if the underlying data is very small or very large.} -\item{prefix}{Symbols to display before and after value.} - -\item{suffix}{Symbols to display before and after value.} +\item{prefix, suffix}{Symbols to display before and after value.} \item{big.mark}{Character used between every 3 digits to separate thousands.} @@ -56,11 +54,6 @@ decimal point.} \item{trim}{Logical, if \code{FALSE}, values are right-justified to a common width (see \code{\link[base:format]{base::format()}}).} -\item{largest_with_cents}{Number to round to. If \code{NULL}, the default, -values will be rounded to the nearest integer, unless any of the -values has non-zero fractional component (e.g. cents) and the largest -value is less than \code{largest_with_cents} which by default is 100,000.} - \item{negative_parens}{\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} Use \code{style_negative = "parens"} instead.} diff --git a/man/ordinal_format.Rd b/man/ordinal_format.Rd index b7e50350..c2a692a3 100644 --- a/man/ordinal_format.Rd +++ b/man/ordinal_format.Rd @@ -23,9 +23,7 @@ ordinal( ) } \arguments{ -\item{prefix}{Symbols to display before and after value.} - -\item{suffix}{Symbols to display before and after value.} +\item{prefix, suffix}{Symbols to display before and after value.} \item{big.mark}{Character used between every 3 digits to separate thousands.} diff --git a/man/scales-package.Rd b/man/scales-package.Rd index 94a17fda..49cedbcd 100644 --- a/man/scales-package.Rd +++ b/man/scales-package.Rd @@ -6,7 +6,7 @@ \alias{scales-package} \title{scales: Scale Functions for Visualization} \description{ -\if{html}{\figure{logo.png}{options: align='right' alt='logo' width='120'}} +\if{html}{\figure{logo.png}{options: style='float: right' alt='logo' width='120'}} Graphical scales map data to aesthetics, and provide methods for automatically determining breaks and labels for axes and legends. } diff --git a/man/scientific_format.Rd b/man/scientific_format.Rd index c8249e5d..dfa483d9 100644 --- a/man/scientific_format.Rd +++ b/man/scientific_format.Rd @@ -33,9 +33,7 @@ scientific( formatting. This is useful if the underlying data is very small or very large.} -\item{prefix}{Symbols to display before and after value.} - -\item{suffix}{Symbols to display before and after value.} +\item{prefix, suffix}{Symbols to display before and after value.} \item{decimal.mark}{The character to be used to indicate the numeric decimal point.}