Skip to content

Commit 95211e1

Browse files
committed
style: long lines
1 parent 07a297e commit 95211e1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

R/cache.R

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,11 @@ set_cache <- function(cache_dir = NULL,
171171
)
172172
}
173173

174-
# this is effectively a startup message, and for some reason, cli_inform doesn't support start suppression, so we're on our own
175-
# https://github.com/r-lib/cli/issues/589 when this closes we can go back.
176174
cli::cli_inform(c(
177175
"!" = "epidatr cache is being used (set env var EPIDATR_USE_CACHE=FALSE if not intended).",
178176
"i" = "The cache directory is {cache_dir}.",
179-
"i" = "The cache will be cleared after {days} day{ifelse(days>1,'s','')} and will be pruned if it exceeds {max_size} MB.",
177+
"i" = "The cache will be cleared after {days} day{ifelse(days>1,'s','')}
178+
and will be pruned if it exceeds {max_size} MB.",
180179
"i" = "The log of cache transactions is stored at {file.path(cache_dir, logfile)}."
181180
), class = if (startup) "packageStartupMessage" else NULL)
182181
}

0 commit comments

Comments
 (0)