Description Usage Arguments Details Value
raise_issue
replaces the default function
assert_stop
which is triggered when an assertion fails. y
,
relative to x
. Optionally allows issues to be posted to a github
repository.
1 | raise_issue(err_str)
|
err_str |
Error string arising from an |
The default behaviour of assertr::insist_
of generating an
error when assertions are failed could be problematic if the assertion
fails for a legitimate reason. This would require an analyst to be able to
re-engineer the workings of the function to fix the problem.
It is safer to issue a warning
instead, which alerts the user to an
issue, but does not prevent the program from running.
If log_issues = TRUE
, and owner
, repo
, and
title
are not NULL
an issue is created in the given github
repo
with title
and additional arguments given by ...
.
err_str
as warning.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.