Skip to content

Commit

Permalink
fix: problem with xportr_logger
Browse files Browse the repository at this point in the history
  • Loading branch information
averissimo committed Nov 30, 2023
1 parent f50346b commit d59c241
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion R/messages.R
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d59c241

Please sign in to comment.