Skip to content

Commit

Permalink
Fix #399 - imporve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasp85 committed Oct 31, 2023
1 parent c0ef74c commit b8c577e
Show file tree
Hide file tree
Showing 66 changed files with 236 additions and 64 deletions.
2 changes: 1 addition & 1 deletion R/label-bytes.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#' * `auto_si` or `auto_binary` to automatically pick the most appropriate
#' unit for each value.
#' @inheritParams number_format
#' @param ... Other arguments passed on to [number()]
#' @inheritDotParams number
#' @return A labeller function that takes a numeric vector of breaks and
#' returns a character vector of labels.
#' @export
Expand Down
2 changes: 1 addition & 1 deletion R/label-dollar.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#' @param prefix,suffix Symbols to display before and after value.
#' @param negative_parens `r lifecycle::badge("deprecated")` Use
#' `style_negative = "parens"` instead.
#' @param ... Other arguments passed on to [base::format()].
#' @inheritDotParams number
#' @export
#' @family labels for continuous scales
#' @examples
Expand Down
1 change: 1 addition & 0 deletions R/label-number-si.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#' @param scale A scaling factor: `x` will be multiplied by `scale` before
#' formatting. This is useful if the underlying data is already using an SI
#' prefix.
#' @inheritDotParams label_number
#' @export
#' @family labels for continuous scales
#' @family labels for log scales
Expand Down
2 changes: 1 addition & 1 deletion R/label-ordinal.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#' Name gives suffix, and value specifies which numbers to match.
#' @param gender Masculin or feminin gender for French ordinal.
#' @param plural Plural or singular for French ordinal.
#' @param ... Other arguments passed on to [base::format()].
#' @inheritDotParams number
#' @export
#' @family labels for continuous scales
#' @examples
Expand Down
1 change: 1 addition & 0 deletions R/label-percent.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#' Label percentages (2.5%, 50%, etc)
#'
#' @inherit label_number return params
#' @inheritDotParams label_number
#' @export
#' @family labels for continuous scales
#' @examples
Expand Down
2 changes: 1 addition & 1 deletion man/Range.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/alpha.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/area_pal.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/asn_trans.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/atanh_trans.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/boxcox_trans.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/breaks_extended.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/breaks_pretty.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/breaks_width.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/brewer_pal.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/col2hcl.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/col_numeric.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/comma.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/cscale.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/date_trans.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/demo_continuous.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/dichromat_pal.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/div_gradient_pal.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/dscale.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/exp_trans.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/expand_range.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/fullseq.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/gradient_n_pal.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/grey_pal.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hms_trans.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hue_pal.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/identity_pal.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/identity_trans.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 38 additions & 1 deletion man/label_bytes.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 29 additions & 1 deletion man/label_dollar.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/label_number.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 37 additions & 1 deletion man/label_number_si.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b8c577e

Please sign in to comment.