Even if an error happens, the output 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.
Arguments
- output
List of the output object from
run()
and the name of the result file to read. For the error file,.error
is appended to this.- options
The context, including all parameters.