From 4ce8e7defdbe80bf1353d684b7838c933571b007 Mon Sep 17 00:00:00 2001 From: AAoritz Date: Thu, 14 Mar 2024 10:16:19 +0100 Subject: [PATCH] set verbose as default with local_options --- R/nuts_aggregate.R | 2 +- R/nuts_classify.R | 2 +- R/nuts_convert_version.R | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/R/nuts_aggregate.R b/R/nuts_aggregate.R index 34158ef..27cac74 100644 --- a/R/nuts_aggregate.R +++ b/R/nuts_aggregate.R @@ -249,7 +249,7 @@ nuts_aggregate <- function(data, # Console Message #----------------- - is_verbose_mode <- (getOption("nuts.verbose", "quiet") == "verbose") + is_verbose_mode <- (getOption("nuts.verbose", "verbose") == "verbose") if (is_verbose_mode) { cli_h1("Converting version of NUTS codes") cli_bullets( diff --git a/R/nuts_classify.R b/R/nuts_classify.R index 520d414..0a3aa47 100644 --- a/R/nuts_classify.R +++ b/R/nuts_classify.R @@ -288,7 +288,7 @@ nuts_classify <- function(data, # Console Message #----------------- is_verbose_mode <- - (getOption("nuts.verbose", "quiet") == "verbose") + (getOption("nuts.verbose", "verbose") == "verbose") if (is_verbose_mode) { cli_h1("Classifying version of NUTS codes") cli_bullets( diff --git a/R/nuts_convert_version.R b/R/nuts_convert_version.R index 3a99096..66661c4 100644 --- a/R/nuts_convert_version.R +++ b/R/nuts_convert_version.R @@ -296,7 +296,7 @@ nuts_convert_version <- # Console Message #----------------- - is_verbose_mode <- (getOption("nuts.verbose", "quiet") == "verbose") + is_verbose_mode <- (getOption("nuts.verbose", "verbose") == "verbose") if (is_verbose_mode) { cli_h1("Converting version of NUTS codes") cli_bullets(