
Package copy strategy
PackageCopyStrategy.RdIt copies all files and directories from the original directory to a temporary directory.
When symlink = TRUE, only the top-level directory holding the mutated file
(e.g. R/) is copied; every other top-level directory and root file is
symlinked to the original. For N mutants this avoids N full copies, which
matters when the project carries large inst//data/ directories. Tests
only read the symlinked files, so this is safe as long as the test suite
does not write into the package's own directories (writes through a symlink
would modify the original).
See also
Other CopyStrategy:
CopyStrategy,
default_copy_strategy()
Super class
muttest::CopyStrategy -> PackageCopyStrategy