debug: Debug message

Description Usage Arguments Value

View source: R/debug.R

Description

Normally this function is not called directly, but debug strings are used. See debugme().

Usage

1
debug(msg, pkg = environmentName(topenv(parent.frame())), level = 2)

Arguments

msg

Message to print, character constant.

pkg

Package name to which the message belongs. Detected automatically.

level

The maximum debug level to show this message at.

Value

Invisibly, the message if it is shown, otherwise NULL.


r-lib/debugme documentation built on March 6, 2021, 5:09 p.m.