if (FALSE) {
# Define a template with placeholders
prompt_template <- "
Perform the following analysis on dataset at '{filepath}':
1. Load data from '{filepath}'
2. Normalize using method '{norm_method}'
3. Save results to '{output_dir}'
IMPORTANT: Use package::function notation for all function calls."
# Build the prompt by supplying named arguments
filled_prompt <- build_prompt(
template = prompt_template,
filepath = "/path/to/data.csv",
norm_method = "quantile",
output_dir = "/path/to/output/"
)
cat(filled_prompt)
}
Run the code above in your browser using DataLab