messages | R Documentation |
R6 class for handling package messages
a messages
class (R6 class)
iLevel
is the index of the level contained in levels. Initialize object
new()
messages$new(level = "INFO")
level
The text message type to initialize messaging to
none Nothing is returned
Title
display()
messages$display(msg, type = "INFO")
msg
string A message to display
type
string The type of the message
msg = messages::new(level = 'DEBUG') msg$display("this is a message")
clone()
The objects of this class are cloneable with this method.
messages$clone(deep = FALSE)
deep
Whether to make a deep clone.
msg = messages$new(level = "INFO")
## ------------------------------------------------
## Method `messages$display`
## ------------------------------------------------
msg = messages::new(level = 'DEBUG')
msg$display("this is a message")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.