inst/jobs-stub/src/onFinally.R

####################################################################
# There is a risk, although small, that the job is interrupted
# or that an error occurs while running. Regardless of if the job
# was successful, an interrupt or an error occured, the
# onFinally() function will always be called.
####################################################################
onFinally <- function(...) {
  # Clean up, e.g. close open devices, connections etc.
}
HenrikBengtsson/R.batch documentation built on May 6, 2019, 11:52 p.m.