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")
ropensci/targets documentation built on June 13, 2025, 5:18 a.m.