# For demonstrating this example only
project_root <- tempfile()
dir.create(project_root, showWarnings = FALSE, recursive = TRUE)
# Add a module
module_id <- "mylab_my_first_module"
module_add(
module_id = module_id,
module_label = "My Pipeline",
path = project_root
)
# show the structure
cat(
list.files(
project_root,
recursive = TRUE,
full.names = FALSE,
include.dirs = TRUE
),
sep = "\n"
)
unlink(project_root, recursive = TRUE)
Run the code above in your browser using DataLab