Skip to content

Commit

Permalink
it seems hugo has renamed the cache dir to hugo_cache_runner
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Sep 21, 2023
1 parent 6ab3a2b commit 909c553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ clean_hugo_cache = function() {
if (!file.exists(tmp <- Sys.getenv('TMPDIR'))) return()
# clean up the hugo cache dir during R CMD check
if (xfun::is_R_CMD_check())
unlink(file.path(tmp, 'hugo_cache'), recursive = TRUE)
unlink(file.path(tmp, 'hugo_cache_runner'), recursive = TRUE)
}

# add the time of now to a date
Expand Down

0 comments on commit 909c553

Please sign in to comment.