diff --git a/R/request-gracefully.R b/R/request-gracefully.R index 735bc10..c3f8a39 100644 --- a/R/request-gracefully.R +++ b/R/request-gracefully.R @@ -16,6 +16,8 @@ #' of the failed request. #' @export #' +#' @keywords utility +#' #' @examplesIf rlang::is_installed("webfakes") #' # This fails without throwing an error #' req <- httr2::request(httr2::example_url()) |> diff --git a/R/wikkitidy-example.R b/R/wikkitidy-example.R index 4e86121..8a1d46d 100644 --- a/R/wikkitidy-example.R +++ b/R/wikkitidy-example.R @@ -7,6 +7,8 @@ #' @export #' @return A character vector, containing either the path of the chosen file, or #' the nicknames of all available example files. +#' +#' @keywords utility #' @examples #' wikkitidy_example() #' wikkitidy_example("akan_wiki") diff --git a/_pkgdown.yml b/_pkgdown.yml index e075a53..ef52a79 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -46,4 +46,4 @@ reference: - has_keyword("data_type") - title: Utilities contents: - - wikkitidy_example + - has_keyword("utility") diff --git a/man/gracefully.Rd b/man/gracefully.Rd index 060228a..31c4810 100644 --- a/man/gracefully.Rd +++ b/man/gracefully.Rd @@ -42,3 +42,4 @@ resp <- gracefully(req, httr2::req_perform) print(resp) \dontshow{\}) # examplesIf} } +\keyword{utility} diff --git a/man/wikkitidy_example.Rd b/man/wikkitidy_example.Rd index 5940212..e2a3813 100644 --- a/man/wikkitidy_example.Rd +++ b/man/wikkitidy_example.Rd @@ -21,3 +21,4 @@ directory. This function make them easy to access wikkitidy_example() wikkitidy_example("akan_wiki") } +\keyword{utility}