Skip to content

Commit

Permalink
Merge pull request #525 from m-muecke/main
Browse files Browse the repository at this point in the history
fix: missing namespace for diff_requires_run_roxygenize call in roxyg…
  • Loading branch information
lorenzwalthert authored Oct 27, 2023
2 parents 0bae714 + da8b2af commit ac751ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/hooks/exported/roxygenize.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ if (!is.null(cache)) {
all_files <- file.info(candidates)
last_modified <- max(all_files$mtime)
if (last_modified > cache[[1]]) {
if (diff_requires_run_roxygenize()) {
if (precommit::diff_requires_run_roxygenize()) {
precommit::roxygenize_with_cache(key = wd, dirs = path_relative_cache)
}
}
Expand Down

0 comments on commit ac751ac

Please sign in to comment.