Skip to content

Commit 783fd5c

Browse files
Merge pull request #289 from pat-s/patch-1
- Fix typo (#289).
2 parents e630f7c + 030a8e4 commit 783fd5c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

R/cache.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ has_persistent_R.cache <- function() {
2222
#' @export
2323
may_require_permanent_cache <- function(temp_cache_is_enough = FALSE) {
2424
if (has_persistent_R.cache()) {
25-
cat("Using persistant cache at", R.cache::getCacheRootPath(), "\n")
25+
cat("Using persistent cache at", R.cache::getCacheRootPath(), "\n")
2626
} else {
2727
if (temp_cache_is_enough) {
2828
cat("Using temporary cache at", R.cache::getCacheRootPath(), "\n")

tests/testthat/test-cache.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ test_that("CLI API works for style-files", {
4040
"style-files",
4141
suffix = "-cache-success.R",
4242
env = paste0("R_CACHE_ROOTPATH=", R.cache_root),
43-
msg = "Using persistant"
43+
msg = "Using persistent"
4444
)
4545
})
4646

@@ -66,7 +66,7 @@ test_that("CLI API works for roxygenize", {
6666
"roxygenize",
6767
suffix = "-cache-success.R",
6868
env = paste0("R_CACHE_ROOTPATH=", R.cache_root),
69-
msg = "Using persistant",
69+
msg = "Using persistent",
7070
file_transformer = function(x) {
7171
git2r::init()
7272
x

0 commit comments

Comments
 (0)