Skip to content

Commit

Permalink
Update utils_import_inputs.R
Browse files Browse the repository at this point in the history
Corrected which columns get printed out if columns are missing in checks for `import_input` utilities
  • Loading branch information
knoiva-indecon committed Aug 29, 2024
1 parent e58e295 commit fae7f14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FrEDI/R/utils_import_inputs.R
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ check_input_data <- function(
### If columns don't pass, message user and return NULL
### Otherwise, continue
if(!checkCols) {
msg2_i |> paste0(msg_i3) |> paste0(namesDf[whichCols] |> paste(collapse=", "), "!") |> message()
msg2_i |> paste0(msg_i3) |> paste0(namesDf[!whichCols] |> paste(collapse=", "), "!") |> message()
msg2_i |> paste0(msg_i2) |> message()
return(NULL)
} ### End if(!checkCols)
Expand Down

0 comments on commit fae7f14

Please sign in to comment.