Learn R Programming

GRANCore (version 0.2.7)

writeGRANLog: writeGRANLog

Description

Utility function which writes gran logs

Usage

writeGRANLog(pkg, msg, type = "full", logfile, errfile, pkglog = NULL)

Arguments

pkg

The name of the package the log is about

msg

The log message, collapsed if length>1

type

"full", "error", "warn", or "both" indicating which log(s) the message should be written to

logfile

The location of the full log file to write/append to

errfile

the location of the error log file to write/append to

pkglog

character. The package-specific log file to write to if applicable.