|
20 | 20 | #' |
21 | 21 | #' @param path path to plumber API file. |
22 | 22 | #' |
23 | | -#' @param dirs (optional) a character vector of extra directories |
| 23 | +#' @param dirs **(optional)** a character vector of extra directories |
24 | 24 | #' to watch for file changes. Paths are resolved from the current working |
25 | 25 | #' directory, not the directory of the plumber API file. |
26 | 26 | #' |
27 | | -#' @param port \[default [httpuv::randomPort()]] port to launch API on. |
| 27 | +#' @param port port to launch API on. |
28 | 28 | #' |
29 | | -#' port can either be set explicitly, or it defaults to the |
30 | | -#' `plumber.port` option. If the plumber option is undefined, the fallback |
31 | | -#' value of [httpuv::randomPort()] is used. |
| 29 | +#' If NULL, defaults to the `plumber.port` option. |
| 30 | +#' If the plumber option is undefined, the fallback value of [httpuv::randomPort()] is used. |
32 | 31 | #' |
33 | | -#' @param host \[default "127.0.0.1"] host to launch API on. |
| 32 | +#' @param host host to launch API on. |
34 | 33 | #' |
35 | | -#' host can either be set explicitly, or it defaults to the |
36 | | -#' `plumber.host` option. If the plumber option is undefined, the fallback |
37 | | -#' value of "127.0.0.1" is used. |
| 34 | +#' If NULL, defaults to the `plumber.host` option. |
| 35 | +#' If the plumber option is undefined, the fallback value of "127.0.0.1" is used. |
38 | 36 | #' |
39 | | -#' @param ignore \[default `c("*.sqlite", "*.git*")`] vector of file globs |
40 | | -#' to ignore. |
| 37 | +#' @param ignore vector of file globs to ignore. |
| 38 | +#' |
| 39 | +#' If NULL, defaults to `c("*.sqlite", "*.git")` |
41 | 40 | #' |
42 | 41 | #' @seealso [plumber::options_plumber], |
43 | 42 | #' [plumber::get_option_or_env], [plumber::serializer_html] |
|
0 commit comments