Learn R Programming

meetupr (version 0.3.1)

local_meetupr_debug: Temporarily enable debug mode

Description

Sets the level of verbosity for httr2::local_verbosity(), and the MEETUPR_DEBUG environment variable. Can help debug issues with API requests.

Usage

local_meetupr_debug(verbosity = 0, env = rlang::caller_env())

Value

The old debug value (invisibly)

Arguments

verbosity

How much debug information to show. 0 = off, 1 = basic, 2 = verbose, 3 = very verbose

env

The environment in which to set the variable.

Examples

Run this code
if (FALSE) {
local_meetupr_debug(2)

# Turn off debug mode
local_meetupr_debug(0)
}

Run the code above in your browser using DataLab