Learn R Programming

rlang (version 1.1.3)

env_browse: Browse environments

Description

  • 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.

Usage

env_browse(env, value = TRUE)

env_is_browsed(env)

Value

env_browse() returns the previous value of env_is_browsed() (a logical), invisibly.

Arguments

env

An environment.

value

Whether to browse env.