env_browse(env)
is equivalent to evaluating browser()
in
env
. It persistently sets the environment for step-debugging.
Supply value = FALSE
to disable browsing.
env_is_browsed()
is a predicate that inspects whether an
environment is being browsed.
env_browse(env, value = TRUE) env_is_browsed(env)
env | An environment. |
---|---|
value | Whether to browse |
env_browse()
returns the previous value of
env_is_browsed()
(a logical), invisibly.