logIssue | R Documentation |
The function logIssue()
adds an issue to a
StudentRecord
. The function getIssues()
returns a list of issues.
logIssue(sr, issue)
## S4 method for signature 'StudentRecord,ANY'
logIssue(sr,issue)
## S4 method for signature 'StudentRecord,character'
logIssue(sr,issue)
getIssues(sr)
## S4 method for signature 'StudentRecord'
getIssues(sr)
sr |
A |
issue |
An issue to be logged. This should be a character object or something which can be coerced to a character object. |
The idea is to be able to log error messages and warning which occur when processing evidence for this person. These are converted to strings, so they can be saved
The function getIssues()
returns a character vector containing
the encountered issues.
The function logIssue()
returns the modified student record.
Russell Almond
StudentRecord
, markAsError
sr0 <-
StudentRecord("S1","*baseline*",as.POSIXct("2020-03-30 09:00:00"))
sr0 <- logIssue(sr0,"Test Issue")
err <- simpleError("Another test error.")
sr0 <- logIssue(sr0,err)
getIssues(sr0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.