Learn R Programming

rsyncrosim (version 2.0.1)

updateRunLog: Function to write to the SyncroSim run log

Description

This function is designed to facilitate the development of R-based Syncrosim Packages by allowing developers to send messages to the run log.

Usage

updateRunLog(..., sep = "", type = "status")

Value

No returned value, used for side effects

Arguments

...

One or more objects which can be coerced to character which are pasted together using sep.

sep

character. Used to separate terms. Not NA_character_

type

character. Type of message to add to run log. One of "status", (default) "info", or "warning".

Examples

Run this code
if (FALSE) {
# Write a message to run log
updateRunLog(msg)

# Construct and write a message to run log
updateRunLog(msg, additionalMsg, sep = " ")
}

Run the code above in your browser using DataLab