R/run_quietly.R

Defines functions run_quietly

################################################################################
# Joshua C. Fjelstul, Ph.D.
# eulaw R package
################################################################################

run_quietly <- function(x) {
  sink(tempfile())
  on.exit(sink())
  invisible(force(x))
}

################################################################################
# end R script
################################################################################
jfjelstul/eulaw documentation built on Dec. 20, 2021, 11:07 p.m.