runExample: Run examples in packages

Description Usage Arguments

Description

This function retreives examples stored in the Examples folder for installed packages.

Usage

1
2
runExample(pkg, preview.files = TRUE, which = NULL, output = "html",
  shiny = FALSE)

Arguments

pkg

[character] An installed package

preview.files

[logical] If TRUE, a numbered list of available examples is returned

which

[numerical] Which example should be run?

output

[character] File extension of the output file

shiny

[logical] If example contains shiny content, TRUE


Auburngrads/AFIT documentation built on May 5, 2019, 8:13 a.m.