# Example result object from condathis::run()
res <- list(
stdout = "line1\nline2\nline3\n",
stderr = "error1\nerror2\n"
)
# Parse the standard output
parse_output(res, stream = "stdout")
# Parse the standard error
parse_output(res, stream = "stderr")
Run the code above in your browser using DataLab