Capture an execution warning condition. Useful for communicating when a check
execution has failed. Usually used in conjunction with try.
Usage
capture_exec_warning(file_path, msg, call = NULL)
Arguments
- file_path
character string. Path to the file being validated. Must be
the relative path to the hub's model-output (or equivalent) directory.
- msg
Character string.
- call
Character string. Name of the parent call that failed to execute.
If NULL (default), the caller's call name is captured.
Value
A <warning/check_exec_warn> condition class object. Returned object also
inherits from subclass <hub_check>.