| orderly_example_show | R Documentation |
Show a file from within one of the examples. This function exists for use within orderly help files, vignettes and tutorials and is not meant to form part of your workflows, unless you are doing something very peculiar.
orderly_example_show(name, file = NULL, example = "demo")
name |
The name of the report within the example. |
file |
The name of the file within the report. The default
is to show the main orderly file (i.e., |
example |
The name of the example to look in. The default
|
All orderly examples here are runnable, though some will naturally have some pre-requisites (e.g., using a dependency will require that the dependency has been run first).
Nothing, called for its side effects only.
# We use constructions like this in the help, to show off features
# of orderly:
orderly_example_show("data")
# You can run this example:
path <- orderly_example()
orderly_run("data", root = path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.