Skip to content

Commit

Permalink
revision
Browse files Browse the repository at this point in the history
  • Loading branch information
nmercadeb committed Apr 9, 2024
1 parent 8f98482 commit bf7ee67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/validateFunctions.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ validateCohortTable <- function(cohort) {
validateIndexDate <- function(indexDate, cohort) {
assertCharacter(indexDate)
if(!indexDate %in% colnames(cohort)){
cli::cli_abort(paste0(substitute(indexDate), " must be a date column in the cohort table"))
cli::cli_abort("{indexDate} must be a date column in the cohort table")
}
}

Expand Down

0 comments on commit bf7ee67

Please sign in to comment.