inst/tinytest/runs/test_cwd2.R

old <- getwd()
setwd(tempdir())
setwd(old)

Try the tinytest package in your browser

Any scripts or data that you put into this service are public.

tinytest documentation built on March 7, 2023, 7:43 p.m.