run_examples(pkg = ".", start = NULL, show = TRUE, test = FALSE,
run = TRUE, fresh = FALSE)as.package for more informationRd file to start with (with or without extensions), or
a topic name. If omitted, will start with the (lexicographically) first
file. This is useful if you have a lot of exampTRUE, code in \dontshow{} will be commented
outTRUE, code in \donttest{} will be commented
out. If FALSE, code in \testonly{} will be commented out.TRUE, code in \dontrun{} will be commented
out.TRUE, will be run in a fresh R session. This has
the advantage that there's no way the examples can depend on anything in
the current session, but interactive code (like browser)
won't work.dev_example