Skip to contents

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

Usage

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.