tests/testthat/_targets.R

library(targets)
list(tar_target(x, stop("intentional error")))

Try the targets package in your browser

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

targets documentation built on April 12, 2025, 1:11 a.m.