From 9689ac3f94922bede467ff0e603efd83d86796e9 Mon Sep 17 00:00:00 2001 From: florisvdh Date: Thu, 8 Aug 2024 15:22:07 +0200 Subject: [PATCH] n2khab_options(): fix bug in case both options are set * The value column of the tibble cannot hold different classes. So converting those other than character to character. --- R/options.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/options.R b/R/options.R index cb815c9..b2c7ed2 100644 --- a/R/options.R +++ b/R/options.R @@ -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