Skip to content

Commit

Permalink
docs: safeguard example
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Feb 21, 2025
1 parent d2e4869 commit 6f61047
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion R/mock2-helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
#'
#' @examples
#' # inside local_mocked_bindings()
#' readline <- NULL
#' \dontrun{
#' local_mocked_bindings(readline = mock_output_sequence(c("3", "This is a note", "n")))
#' }
#' # for understanding
#' mocked_sequence <- mock_output_sequence(c("3", "This is a note", "n"))
#' mocked_sequence()
Expand Down
3 changes: 2 additions & 1 deletion man/mock_output_sequence.Rd

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

0 comments on commit 6f61047

Please sign in to comment.