tar_condition | R Documentation |
These functions throw custom
targets
-specific error conditions.
Useful for error handling in packages built on top of targets
.
tar_message_run(...)
tar_throw_file(...)
tar_throw_run(..., class = character(0))
tar_throw_validate(...)
tar_warn_deprecate(...)
tar_warn_run(...)
tar_warn_validate(...)
tar_message_validate(...)
tar_print(...)
tar_error(message, class)
tar_warning(message, class)
tar_message(message, class)
... |
zero or more objects which can be coerced to character (and which are pasted together with no separator) or a single condition object. |
class |
Character vector of S3 classes of the message. |
message |
Character of length 1, text of the message. |
Other utilities to extend targets:
tar_assert
,
tar_language
,
tar_test()
try(tar_throw_validate("something is not valid"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.