Skip to content

Commit

Permalink
Check advertise is a toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
jennybc committed Oct 12, 2017
1 parent be91703 commit 25ca243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/reprex.R
Expand Up @@ -228,7 +228,7 @@ reprex <- function(x = NULL,
tidyverse_quiet <- arg_option(tidyverse_quiet)
std_out_err <- arg_option(std_out_err)

stopifnot(is_toggle(si), is_toggle(styler))
stopifnot(is_toggle(advertise), is_toggle(si), is_toggle(styler))
stopifnot(is_toggle(show), is_toggle(render))
stopifnot(is.character(comment))
stopifnot(is_toggle(tidyverse_quiet), is_toggle(std_out_err))
Expand Down

0 comments on commit 25ca243

Please sign in to comment.