Skip to content

Commit

Permalink
Simpler option
Browse files Browse the repository at this point in the history
  • Loading branch information
maurolepore committed Mar 10, 2024
1 parent f1b7f90 commit 5b1a7cd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions R/utils.R
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
extract_options <- function(pattern) {
out <- options()[grep(pattern, names(options()), value = TRUE)]
if (rlang::is_empty(out)) {
return(options())
}
out
options()[grep(pattern, names(options()), value = TRUE)]
}

tiltIndicatorAfter_options <- function() {
Expand Down

0 comments on commit 5b1a7cd

Please sign in to comment.