Skip to content

Commit

Permalink
change cache dir into R cache subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunuuuu committed Nov 5, 2023
1 parent 34f598b commit 592ec13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils-file.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ faers_cache_dir <- function(name, create = TRUE) {
}

faers_user_cache_dir <- function(create = TRUE) {
path <- rappdirs::user_cache_dir(pkg_nm())
path <- file.path(rappdirs::user_cache_dir("R"), pkg_nm())
if (create) {
dir_create2(path, recursive = TRUE)
} else {
Expand Down

0 comments on commit 592ec13

Please sign in to comment.