From bd9c671f53787f6fd709ad8b64ae9426588c6eda Mon Sep 17 00:00:00 2001 From: Joe Brown Date: Sat, 17 Feb 2024 12:22:03 -0500 Subject: [PATCH] correcting syntax in getOption() --- R/hush.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/hush.R b/R/hush.R index 96e88a4..bf59deb 100644 --- a/R/hush.R +++ b/R/hush.R @@ -13,7 +13,7 @@ options(matilda.verbose = TRUE) matilda_message <- function(...) { # Get the current verbose option setting - verbose <- getOption(matilda.verbose, default = TRUE) + verbose <- getOption("matilda.verbose", default = TRUE) # Check if verbose if (verbose) { @@ -35,7 +35,7 @@ matilda_message <- function(...) { matilda_warning <- function(...) { # Get the current verbose option setting - verbose <- getOption(matilda.verbose, default = TRUE) + verbose <- getOption("matilda.verbose", default = TRUE) # Check if verbose if (verbose) {