Skip to content

Commit

Permalink
remove example of deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasp85 committed Nov 7, 2023
1 parent 1100164 commit 053e096
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
9 changes: 0 additions & 9 deletions R/label-number-si.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,6 @@
#' @export
#' @family labels for continuous scales
#' @family labels for log scales
#' @examplesIf getRversion() >= "3.5"
#' # label_number_si() doesn't actually produce SI prefixes:
#' demo_continuous(c(1, 1e9), labels = label_number_si("g"))
#'
#' # If you want real SI prefixes, use cut_si()
#' demo_continuous(c(1, 1e9), labels = label_number(scale_cut = cut_si("m")))
#'
#' # If you want the existing behavior, use cut_short_scale()
#' demo_continuous(c(1, 1e9), labels = label_number(scale_cut = cut_short_scale()))
label_number_si <- function(unit = "", accuracy = NULL, scale = 1, suffix = "", ...) {
lifecycle::deprecate_stop(
when = "1.2.0",
Expand Down
12 changes: 0 additions & 12 deletions man/label_number_si.Rd

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

0 comments on commit 053e096

Please sign in to comment.