browse_if: Browse if equal to

View source: R/error_handling.R

browse_ifR Documentation

Browse if equal to

Description

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.

Usage

browse_if(condition, extended = F)

Arguments

condition

(lgl) A condition

extended

(lgl) Whether to convert to logical.

Examples

browse_if(T) #only
browse_if(F) #
browse_if(1) #does not automatically type convert
browse_if(1, extended = T) #can if you want it

Deleetdk/kirkegaard documentation built on June 7, 2024, 7:49 a.m.