Skip to content

Commit

Permalink
Corrected the chain_sim example to say a warning, instead of an error…
Browse files Browse the repository at this point in the history
…, is thrown
  • Loading branch information
jamesmbaazam committed Jun 20, 2023
1 parent 055ac55 commit 06ed75a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion R/simulate.r
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@
#' serial = serial_interval
#' )
#'
#' # Specifying `serial` and `tree = FALSE` will throw an error
#' # Specifying `serial` and `tree = FALSE` will throw a warning saying that
#' # `tree` was set to `TRUE` internally.
#' set.seed(123)
#' \dontrun{
#' try(chain_sim(
Expand Down
3 changes: 2 additions & 1 deletion man/chain_sim.Rd

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

0 comments on commit 06ed75a

Please sign in to comment.