add_module | R Documentation |
This function creates a {tm}
module class inside the current folder.
add_module( name, inherit = "TidyModule", path = getwd(), prefix = "tm", open = TRUE, dir_create = TRUE, export = FALSE )
name |
The class name of the module. |
inherit |
Parent module class. Default is TidyModule. |
path |
Where to created the file. Default is |
prefix |
filename prefix. Default is |
open |
Should the file be opened? |
dir_create |
Creates the directory if it doesn't exist, default is |
export |
Logical. Should the module be exported? Default is |
As a convention, this function will automatically capitalize the first character of the name
argument.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.