Skip to content

Commit

Permalink
fix: unique name for book in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
js2264 committed Apr 3, 2024
1 parent 4a721a1 commit 5ae6e8c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions R/doc.R
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
#'
#' @examples
#' ## In practice, you should not use `.local` argument.
#' unique_id <- sample(c(LETTERS, 0:9), 8) |> paste(collapse = '')
#' unique_id <- as.numeric(Sys.time())
#' bookname <- paste(Sys.info()[['sysname']], unique_id, sep = '.')
#' bb <- init(bookname, .local = TRUE)
#' add_preamble(bb, open = FALSE)
Expand Down Expand Up @@ -202,7 +202,7 @@ NULL
#'
#' @examples
#' ## In practice, you should not use `.local` argument.
#' unique_id <- sample(c(LETTERS, 0:9), 8) |> paste(collapse = '')
#' unique_id <- as.numeric(Sys.time())
#' bookname <- paste(Sys.info()[['sysname']], unique_id, sep = '.')
#' init(bookname, .local = TRUE)
#' bb <- BiocBook(bookname)
Expand Down
2 changes: 1 addition & 1 deletion man/BiocBook-editing.Rd

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

2 changes: 1 addition & 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 5ae6e8c

Please sign in to comment.