powered by
We have separate templates for listings, tables, and graphs. There is also a template to set up the `run_all` script.
use_template( template = "t_dm_slide", function_name = "default", save_path = "./programs/R", overwrite = FALSE, open = interactive(), package = "autoslider.core" )
No return value. Called for side effects (writes a file).
Must be one of `list_all_templates(package = "autoslider.core")`.
Name of the output function you want to create. Defaults to "default".
Path to save the function. Defaults to "./programs/R".
Whether to overwrite an existing file.
Whether to open the file after creation.
Which package to search for the template file. Defaults to "autoslider.core".
Use `list_all_templates(package = "autoslider.core")` to discover which templates are available.
if (interactive()) { use_template("t_dm_slide", function_name = "my_table", package = "autoslider.core") }
Run the code above in your browser using DataLab