From da8b2af130cb3a37e9cc11a7f13678ab40c2f27c Mon Sep 17 00:00:00 2001 From: Maximilian Muecke Date: Fri, 27 Oct 2023 18:03:07 +0200 Subject: [PATCH] fix: missing namespace for diff_requires_run_roxygenize call in roxygenize hook --- inst/hooks/exported/roxygenize.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inst/hooks/exported/roxygenize.R b/inst/hooks/exported/roxygenize.R index 48cbdf254..36b3d5286 100755 --- a/inst/hooks/exported/roxygenize.R +++ b/inst/hooks/exported/roxygenize.R @@ -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) } }