get_result {callr} | R Documentation |
Even if an error happens, the ouput file might still exist, because saveRDS creates the file before evaluating its object argument. So we need to check for the error file to decide if an error happened.
get_result(output, options)
options |
The context, including all parameters. |
out |
List of the output object from |
If no error happened, the result is returned. Otherwise we handle the error.