Skip to content

Commit

Permalink
Better variable order
Browse files Browse the repository at this point in the history
  • Loading branch information
jabenninghoff committed Nov 12, 2024
1 parent 64eaf82 commit bed81b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/validation.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
#' otherwise `TRUE`, invisibly.
#' @export
check_validation <- function(out, sheet = NA) {
pass <- TRUE
warn_start <- "one or more validation rules "
warn_loc <- ""
warn_end <- ", check validation results"
pass <- TRUE
if (!is.na(sheet)) warn_loc <- paste0(" in sheet '", sheet, "'")

Check warning on line 16 in R/validation.R

View check run for this annotation

Codecov / codecov/patch

R/validation.R#L16

Added line #L16 was not covered by tests
warn_end <- ", check validation results"

val_sum <- validate::summary(out)
if (any(val_sum$fails > 0)) {
Expand Down

0 comments on commit bed81b5

Please sign in to comment.