A regular expression to search for within the
comparison transformations.
comment
A comment to record if the regular expression is
matched.
...
For questionComments, zero or more comments
(as generated by the
the comments() function); for comments(), zero or more
transformation comments (as generated by
the transformComment() function.
Details
These functions are used to define a commenting scheme. The
function commentQuestions() can then be used to apply
the results to a set of comparisons, as generated by
compareFiles().
Value
An object of class "questionComments".
Author(s)
Paul Murrell
See Also
commentQuestions and
compareFiles
Examples
# Comment a comparison involving several objects
# Start with a comment of 1 and deduct 1 if the comparison failed
questionComments(c("id", "age", "edu", "class"),
comments("class",
transformComment("coerced",
"'class' is a factor!")))