add_module: Create a module
Description
This function creates a module inside the R/
folder, based
on a specific module structure.
Usage
add_module(name, pkg = get_golem_wd(), open = TRUE,
dir_create = TRUE)
Arguments
pkg
Path to the root of the package. Default is "."
.
open
Should the file be opened?
dir_create
Creates the directory if it doesn't exist, default is TRUE
.