Description Usage Arguments Details Value See Also Examples
Get breadcrumbs and output a message.
1 | get_breadcrumbs(void, verbose = TRUE)
|
void |
Any object. Not used. |
verbose |
A flag. Should a message be outputted? |
Breadcrumbs allow to keep track of locations within modules. This is
particularily useful to circumvent an error occurring in a chain of nested
dependent modules, for instance. See reactivate_breadcrumbs
.
An ordered character vector containing the names of the nested modules.
reactivate_breadcrumbs
, define
,
make
, and reset
.
1 2 3 4 5 6 7 8 9 10 11 12 | reset()
define("foo", NULL, function() function() get_breadcrumbs())
define("bar", list(foo = "foo"), function(foo) function() foo())
define("foobar", list(bar = "bar"), function(bar) (bar()))
make()
reset()
reactivate_breadcrumbs()
define("foo", NULL, function() function() stop("error in 'foo'"))
define("bar", list(foo = "foo"), function(foo) function() foo())
define("foobar", list(bar = "bar"), function(bar) bar())
## Not run: make()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.