Skip to content

Commit

Permalink
n2khab_options(): fix bug in case both options are set *
Browse files Browse the repository at this point in the history
The value column of the tibble cannot hold different classes.

So converting those other than character to character.
  • Loading branch information
florisvdh committed Aug 8, 2024
1 parent 1f843ea commit 9689ac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/options.R
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ n2khab_options <- function() {
),
"n2khab_use_raster",
tryCatch(
n2khab_using_raster(),
as.character(n2khab_using_raster()),
error = function(e) {
message(as.character(e))
NA
Expand Down

0 comments on commit 9689ac3

Please sign in to comment.