| messages | R Documentation |
R6 class for handling package messages
a messages class (R6 class)
iLevelis the index of the level contained in levels. Initialize object
new()messages$new(level = "INFO")
levelThe text message type to initialize messaging to
none Nothing is returned
Title
display()messages$display(msg, type = "INFO")
msgstring A message to display
typestring 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)
deepWhether 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.