Similar to the local_() family from {withr}, this function creates a
temporary directory and optionally initiates git and pre-commit in it.
local_test_setup(
git = TRUE,
use_precommit = FALSE,
package = FALSE,
quiet = TRUE,
autoupdate = FALSE,
...,
.local_envir = parent.frame()
)Whether or not to init git in the local directory.
Whether or not to use_precommit().
Whether or not to run autoupdate() as part of this
fixture.
[environment]
The environment to use for scoping.