testthat_transcribe_file {unitizer} | R Documentation |
testtaht
File Into unitizer
FormatInternal use only, required so we can ensure the parse succeeded because of
possible parse-deparse issues independent of running unitize
, since
unitize
cannot be run inside a tryCatch
block.
testthat_transcribe_file( file.name, target.dir = file.path(dirname(file.name), "..", "unitizer"), keep.testthat.call = TRUE, prompt = "always", interactive.mode, use.sects = TRUE, ... )
file.name |
a path to the |
target.dir |
the directory to create the |
keep.testthat.call |
whether to preserve the |
prompt |
character(1L):
|
interactive.mode |
logical(1L) primarily for testing purposes, allows
us to force prompting in non-interactive mode; note that |
use.sects |
TRUE (default) or FALSE whether to translate
|
... |
params to pass on to |