if (interactive()) {
# Copy and paste the "preprocess_esm" template to the current working directory
use_template("preprocess_esm")
# Copy and paste the "advanced_preprocess_esm" template to a specific directory
use_template("advanced_preprocess_esm", output_dir = "/path/to/templates")
# Copy and paste the "data_characteristics_report" template to the current working directory
# and overwrite existing file (if any).
use_template("data_characteristics_report", overwrite = TRUE)
}
Run the code above in your browser using DataLab