Skip to content

Commit

Permalink
Remove get_labels
Browse files Browse the repository at this point in the history
  • Loading branch information
llrs-roche committed Nov 11, 2024
1 parent db66b36 commit 865962c
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 33 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export(col_labels)
export(col_relabel)
export(datanames)
export(example_cdisc_data)
export(get_labels)
export(join_key)
export(join_keys)
export(parent)
Expand Down
20 changes: 0 additions & 20 deletions R/deprecated.R
Original file line number Diff line number Diff line change
@@ -1,23 +1,3 @@
.deprecate_function <- function(what, details) {
lifecycle::deprecate_stop(
when = "0.4.0",
what = what,
details = details
)
}

#' @rdname col_labels
#' @include formatters_var_labels.R
#' @details
#' `r lifecycle::badge("deprecated")`
#'
#' In previous versions of `teal.data` labels were managed with `get_labels()`.
#' This function is deprecated as of `0.4.0`, use `col_labels` instead.
#' @export
get_labels <- function(...) {
.deprecate_function("get_labels()", "Use col_labels(data)")
}

#' Names of data sets in `teal_data` object
#'
#' @description
Expand Down
3 changes: 0 additions & 3 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,3 @@ reference:
- col_labels<-
- col_relabel
- example_cdisc_data
- title: Deprecated
contents:
- get_labels
10 changes: 1 addition & 9 deletions man/col_labels.Rd

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

0 comments on commit 865962c

Please sign in to comment.