Skip to content

Commit

Permalink
clean up unneeded addition
Browse files Browse the repository at this point in the history
  • Loading branch information
brownag committed Mar 16, 2024
1 parent 78bdee5 commit bcd64a7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions R/geotargets-option.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ geotargets_option_get <- function(option_name) {
option_name <- geotargets_repair_option_name(option_name)
option_value <- geotargets_env()[[option_name]]

if (length(option_value) == 0) {
option_value <- NULL
}

get_option <- function(option_name, option_value, name) {
getOption(option_name, default = option_value %||% name)
}
Expand Down

0 comments on commit bcd64a7

Please sign in to comment.