Skip to content

Commit 5aca6df

Browse files
Merge pull request #308 from lorenzwalthert/devel
Fix warnings
2 parents e15f0ff + 4a1ad98 commit 5aca6df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/cache.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ may_require_permanent_cache <- function(temp_cache_is_enough = FALSE) {
3434
"`R.cache::getCachePath()` and confirm the prompt or \n\n2) ",
3535
"non-interactively by setting the environment variable ",
3636
"`R_CACHE_ROOTPATH` to the location you want to put the cache. \n\nYou can ",
37-
"silent this warning with setting `args: [----no-warn-cache]` in your ",
37+
"silent this warning with setting `args: [--no-warn-cache]` in your ",
3838
".pre-commit-config.yaml.\n\n"
3939
))
4040
}

R/roxygen2.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ diff_requires_run_roxygenize <- function(root = here::here()) {
6666
" - id: roxygenize",
6767
"
6868
additional_dependencies:
69-
- r-lib/git2r\n\n"
69+
- git2r\n\n"
7070
)
7171
msg <- paste0(
7272
"The R package {git2r} must be available to benefit from caching of this hook.",

0 commit comments

Comments
 (0)