tests/interactive/test-use_targets_rmd.R

use_targets_rmd(path = "_targets.Rmd", open = FALSE) # Should not open.
use_targets_rmd(path = "_targets.Rmd", open = TRUE) # Should open.
expect_true(file.exists("_targets.Rmd"))
unlink("_targets.Rmd")

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.