tar_condition: Conditions

Description Usage Arguments See Also Examples

Description

These functions throw custom targets-specific error conditions. Useful for error handling in packages built on top of targets.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13

Arguments

...

zero or more objects which can be coerced to character (and which are pasted together with no separator) or a single condition object.

See Also

Other utilities to extend targets: tar_assert, tar_dir(), tar_language, tar_test()

Examples

1
try(tar_throw_validate("something is not valid"))

targets documentation built on July 21, 2021, 5:07 p.m.