Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

tar_condition

Conditions


Description

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

Usage

tar_message_run(...)

tar_throw_file(...)

tar_throw_run(...)

tar_throw_validate(...)

tar_warn_deprecate(...)

tar_warn_run(...)

tar_warn_validate(...)

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

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

targets

Dynamic Function-Oriented 'Make'-Like Declarative Workflows

v0.10.0
MIT + file LICENSE
Authors
William Michael Landau [aut, cre] (<https://orcid.org/0000-0003-1878-3253>), Matthew T. Warkentin [ctb], Samantha Oliver [rev] (<https://orcid.org/0000-0001-5668-1165>), Tristan Mahr [rev] (<https://orcid.org/0000-0002-8890-5116>), Eli Lilly and Company [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.