todo-files/inDirectory.R

inDirectory = function(dir, expr) {
  old = getwd()
  on.exit(setwd(old))
  setwd(dir)
  expr
}
berndbischl/BBmisc documentation built on Jan. 6, 2023, 12:32 p.m.