Skip to content

Commit

Permalink
fix note
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunuuuu committed Oct 28, 2023
1 parent 744ea4c commit ec8111e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ is_before_period <- function(years, quarters, y, q, inclusive = TRUE) {
}

# file or path utils function --------------
# name used: rxnorm, athena
faers_cache_dir <- function(name) {
path <- faers_cache_env[[name]]
if (is.null(path)) {
Expand All @@ -51,7 +52,7 @@ faers_user_cache_dir <- function() {
dir_create2(rappdirs::user_cache_dir("faers"))
}

#' Used by `is_installed` and `faers_meta_doc`
#' Used by `faers_cache_dir` and `faers_meta_doc`
#' @noRd
faers_cache_env <- new.env()

Expand Down

0 comments on commit ec8111e

Please sign in to comment.