Skip to content

Commit

Permalink
Update utils_import_inputs.R
Browse files Browse the repository at this point in the history
Improved messaging for `import_inputs` check on pop cols
  • Loading branch information
knoiva-indecon committed Jul 9, 2024
1 parent c4709a7 commit 2100653
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion FrEDI/R/utils_import_inputs.R
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,8 @@ check_valCols <- function(
return()
} ### End if(nMatches)
### Message user
msg_vcol2 <- paste0("Using column ", "\"", vColMatch, "\"", ", and renaming to ", "\"", valCol, "\"", "...")
renameVal <- doPop |> ifelse("state_", "") |> paste0(valCol)
msg_vcol2 <- paste0("Using column ", "\"", vColMatch, "\"", ", and renaming to ", "\"", renameVal, "\"", "...")
msg1_i |> paste0(msg_vcol2) |> message()
} ### End if(hasValCol) (no else)

Expand Down

0 comments on commit 2100653

Please sign in to comment.