R/process.R

Defines functions r_background_process

r_background_process <- function(..., envvars = NULL) {
  if (is.null(envvars)) {
    envvars <- callr::rcmd_safe_env()
  }
  callr::r_bg(..., env = envvars)
}
rstudio/webshot2 documentation built on Oct. 6, 2023, 3:36 a.m.