diff --git a/DESCRIPTION b/DESCRIPTION index 61e81239..ed7dd83e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -47,6 +47,7 @@ Description: Tools to build CDISC compliant data sets and check for CDISC compli URL: https://github.com/atorus-research/xportr BugReports: https://github.com/atorus-research/xportr/issues Imports: + checkmate, dplyr (>= 1.0.2), purrr (>= 0.3.4), stringr (>= 1.4.0), diff --git a/R/messages.R b/R/messages.R index 429388f8..50b4df7c 100644 --- a/R/messages.R +++ b/R/messages.R @@ -11,7 +11,7 @@ #' @export xportr_logger <- function(message, type = "none", ...) { assert_character(message) - assert_choice(verbose, choices = .internal_verbose_choices) + assert_choice(type, choices = .internal_verbose_choices) log_fun <- switch(type, stop = abort,