Skip to content

Commit

Permalink
doc: improve @return for ?BiocBook
Browse files Browse the repository at this point in the history
  • Loading branch information
js2264 committed Oct 5, 2023
1 parent 3277453 commit aa16441
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
10 changes: 9 additions & 1 deletion R/doc.R
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,12 @@ NULL
#'
#' `status(biocbook)`
#'
#' @return A `BiocBook` object (invisible).
#' @return
#' - `init("newBook")` creates a local directory, synchronizes it with the
#' registered GitHub user, and invisibly returns a `BiocBook` object.
#' - `BiocBook("newBook")` returns a `BiocBook` object.
#' - `path(bb)`, `releases(bb)` and `chapters(bb)` return the corresponding
#' information related to the `bb` BiocBook.
#'
#' @param new_package Name to use when initiating a new `BiocBook`.
#' This name should be compatible with package naming conventions
Expand All @@ -154,6 +159,9 @@ NULL
#' remote Github origin. If NA, a prompt will ask whether to push commits or
#' not (default: NA).
#' @param skip_availability Optional. Whether to skip package name availability
#' (default: FALSE).
#' @param .local Should only be used for examples/tests. Whether to create a
#' matching Github repository or stay local (default: FALSE).
#' @param path Path of an existing `BiocBook`.
#' @param object A `BiocBook` object, created by `BiocBook` or `init()`.
#'
Expand Down
8 changes: 7 additions & 1 deletion man/BiocBook.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aa16441

Please sign in to comment.