powered by
Run an R command in the background and log output
dispatch( project_path, expr, phase, label, rscript_path = NULL, timeout_sec = 600L )
A list with process info
Path to the project
Expression to run (as a quoted expression or function)
Character: "baseline" or "post_migration"
Character: "document", "test", or "check"
Optional path to Rscript
Timeout in seconds
# \donttest{ tmp <- tempdir() job <- dispatch(tmp, "message('hello')", "baseline", "document") Sys.sleep(1) job$process$is_alive() # }
Run the code above in your browser using DataLab