Convert examples for a specified package, optionally restricted to one or more specified functions, to a list of 'autotest' 'yaml' objects to use to automatically test package.
examples_to_yaml(
package = NULL,
functions = NULL,
exclude = NULL,
quiet = FALSE
)
package | Name of package for which 'yaml' is to be generated. |
---|---|
functions | If specified, names of functions from which examples are to be obtained. |
exclude | Names of functions to exclude from 'yaml' template |
quiet | If 'FALSE', provide printed output on screen. |
Other yaml:
at_yaml_template()
,
autotest_yaml()