Skip to content

Commit

Permalink
Add call to action to error message in check-data-dict pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
jeancochrane committed Jan 13, 2025
1 parent 7a88504 commit dc1ce6e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion R/hooks/check-data-dict.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ if (symmetric_diff_len > 0) {
" and ",
data_dict_filename,
": ",
paste(symmetric_diff, collapse = ", ")
paste(symmetric_diff, collapse = ", "),
". ",
"Did you forget to reknit README.Rmd after updating ",
params_filename,
"?"
)
stop(err_msg)
}

0 comments on commit dc1ce6e

Please sign in to comment.