You need to provide the input parameters for
kwb.heatsine.opencpu::run_optimisation() required in a JSON
data structure as provided in the example data request.json (for details see:
kwb.heatsine.opencpu::json_args).
args <- jsonlite::fromJSON("request.json")
predictions <- do.call(kwb.heatsine.opencpu::run_optimisation, args)
writeLines(text = predictions, "response.json")The structure of the optimisation results is stored in JSON format in
the R object predictions and also saved. For inspecting it
please open the response.json file.