R/remove_tag.R

Defines functions remove_tag

#' Internal. Remove "label" attribute from a specific variable in a data frame
#'
#' @noRd
#'
remove_tag <- function(x, var) {
  attr(x[[var]], "label") <- NULL
  x
}

Try the safeframe package in your browser

Any scripts or data that you put into this service are public.

safeframe documentation built on June 28, 2025, 1:08 a.m.