|
7 | 7 | #' documentation is being built to avoid constantly parsing configurations |
8 | 8 | #' during evaluation of each tag. |
9 | 9 | #' |
10 | | -#' @typed x: roxy_tag |
11 | | -#' An internal, intermediate `roxygen2` tag object upon which to evaluate |
12 | | -#' configured behaviors. |
13 | | -#' @typed config: list(format= ) |
14 | | -#' A list of configuration parameters. |
15 | | -#' @typed e: environment |
16 | | -#' A package environment used while running `roxygen2`. |
17 | 10 | #' @typed path: character[1] |
18 | 11 | #' A file path to use when searching for a config file. Either the file path |
19 | 12 | #' to a `DESCRIPTION` or the root path of a package, depending on the context |
@@ -50,8 +43,8 @@ CONFIG <- paste0(".", utils::packageName(), "_config") # nolint |
50 | 43 | #' @typedreturn list |
51 | 44 | #' A named list of configured behaviors. |
52 | 45 | #' |
53 | | -#' @importFrom cli cli_alert_info |
54 | 46 | #' @keywords internal |
| 47 | +#' @importFrom cli cli_alert_info |
55 | 48 | config <- function(path = getwd(), refresh = FALSE, cache = TRUE) { |
56 | 49 | roxytypes_config <- roxygen2::roxy_meta_get("roxytypes") |
57 | 50 | if (!refresh && length(roxytypes_config) > 0) |
@@ -111,8 +104,8 @@ config_from_desc <- function(path = ".") { |
111 | 104 | #' @describeIn config_helpers |
112 | 105 | #' Load a configuration from a dotfile |
113 | 106 | #' |
114 | | -#' @importFrom utils packageName |
115 | 107 | #' @keywords internal |
| 108 | +#' @importFrom utils packageName |
116 | 109 | config_from_file <- function(path = ".") { |
117 | 110 | pattern <- "^meta\\.[rR]" |
118 | 111 |
|
|
0 commit comments