Skip to content

Commit

Permalink
Improve checks on datasets_selected
Browse files Browse the repository at this point in the history
  • Loading branch information
llrs-roche committed Jan 8, 2025
1 parent 01af1e5 commit 7d1d1e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/tm_missing_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ tm_missing_data <- function(label = "Missing data",
lower = plot_width[2], upper = plot_width[3], null.ok = TRUE, .var.name = "plot_width"
)

checkmate::assert_character(datasets_selected)
checkmate::assert_character(datasets_selected, min.len = 0, min.chars = 1)
checkmate::assert_character(parent_dataname, min.len = 0, max.len = 1)
ggtheme <- match.arg(ggtheme)

Expand Down

0 comments on commit 7d1d1e9

Please sign in to comment.