tests/interactive/test-use_targets.R

use_targets(open = FALSE) # Should not open the file.
use_targets(open = TRUE) # Should open the file for editing.
expect_true(file.exists("_targets.R"))
unlink("_targets.R")
unlink("*.tmpl")
unlink("run*")

Try the targets package in your browser

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

targets documentation built on Oct. 12, 2023, 5:07 p.m.