View source: R/error_handling.R
browse_if_equals | R Documentation |
Browse on equals condition. Calls browse in the parent.frame so that one can see the context. Made for easier debugging. Pipe-friendly: returns output if condition is false. Wrapper for browse_if.
browse_if_equals(x, equal_to, check.names = T, check.attributes = T)
x |
(object) Any object. |
equal_to |
(any object) Any object to test for output equality. |
check.names |
(lgl) Whether to check names. |
check.attributes |
(lgl) Whether to check all attributes. |
browse_if(1+1, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.