Skip to content

Commit

Permalink
Fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisaloo authored and chartgerink committed Jan 6, 2025
1 parent d9291b7 commit 89eae23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/set_labels.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ set_labels <- function(x, ...) {
# 1. saving the existing labels
# 2. dropping all labels & removing the safeframe class
# 3. readding the labels and the safeframe class

new_labels <- rlang::list2(...)
existing_labels <- labels(x)

x <- drop_safeframe(x, remove_labels = TRUE)

x <- label_variables(x, utils::modifyList(existing_labels, new_labels))
Expand Down

0 comments on commit 89eae23

Please sign in to comment.