Function used to write JSON parameter file. A function is provided instead than a json file to ensure directories to match the user folder tree.
build_example_param_file(json_path = tempfile(fileext = "_sen2r_params.json"), overwrite = TRUE)
Path of the output file. Default is to save it on a temporary file, whose path is returned.
Logical value: should existing output file be overwritten? (default: TRUE)
The path of the created file.
# NOT RUN { build_example_param_file() # }
Run the code above in your browser using DataLab