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")

Try the targets package in your browser

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

targets documentation built on Oct. 3, 2024, 1:11 a.m.