diff --git a/R/as_bk_data.R b/R/as_bk_data.R index 3c42069..c9e0ac7 100644 --- a/R/as_bk_data.R +++ b/R/as_bk_data.R @@ -6,7 +6,7 @@ #' @param x The object to coerce. Currently supports conversion of #' [rapid::class_security_schemes()] objects. #' -#' @return A list. +#' @returns A list. #' @keywords internal as_bk_data <- S7::new_generic("as_bk_data", dispatch_args = "x") diff --git a/R/generate_pkg-setup.R b/R/generate_pkg-setup.R index d93bded..40fc050 100644 --- a/R/generate_pkg-setup.R +++ b/R/generate_pkg-setup.R @@ -2,7 +2,7 @@ #' #' @inheritParams .is_pkg #' -#' @return `NULL`, invisibly. +#' @returns `NULL`, invisibly. #' @keywords internal .assert_is_pkg <- function(base_path = usethis::proj_get()) { if (.is_pkg(base_path)) { @@ -20,7 +20,7 @@ #' #' @param base_path The root URL of the current project. #' -#' @return `TRUE` if the project is a package, `FALSE` if not. +#' @returns `TRUE` if the project is a package, `FALSE` if not. #' @keywords internal .is_pkg <- function(base_path = usethis::proj_get()) { root_file <- rlang::try_fetch( diff --git a/R/generate_pkg-template.R b/R/generate_pkg-template.R index 585db0a..023e557 100644 --- a/R/generate_pkg-template.R +++ b/R/generate_pkg-template.R @@ -6,7 +6,7 @@ #' @param target The name of the file to create. #' @param dir The directory where the file should be created. #' -#' @return The path to the generated or updated file, invisibly. +#' @returns The path to the generated or updated file, invisibly. #' @keywords internal .bk_use_template <- function( template, diff --git a/R/generate_pkg.R b/R/generate_pkg.R index d758e6d..e32a680 100644 --- a/R/generate_pkg.R +++ b/R/generate_pkg.R @@ -6,7 +6,7 @@ #' #' @inheritParams .shared-params #' -#' @return A character vector of paths to files that were added or updated, +#' @returns A character vector of paths to files that were added or updated, #' invisibly. #' @export generate_pkg <- function( diff --git a/R/use_beekeeper.R b/R/use_beekeeper.R index 5747522..c6ce189 100644 --- a/R/use_beekeeper.R +++ b/R/use_beekeeper.R @@ -11,7 +11,7 @@ #' generated by reading such a document. #' @inheritParams .shared-params #' -#' @return The path to the configuration file, invisibly. The config file is +#' @returns The path to the configuration file, invisibly. The config file is #' written as a side effect of this function. The rapid object is also #' written, and the path to that file is saved in the config file. #' @export