protocolcheck | R Documentation |
protocolcheck
R6 classA class that collects and shows all check results.
protocol_code
Character string giving the protocol code.
path
Character string giving the relative path to the protocol.
error
Character vector containing all errors found in the protocol
new()
Create a new Protocolcheck
object.
protocolcheck$new(protocol_code)
protocol_code
Character string giving the protocol code.
A new Protocolcheck
object
add_error()
Add a new error to the Protocolcheck
object.
protocolcheck$add_error(msg)
msg
Error message to be added.
check()
Give error report from Protocolcheck
object.
protocolcheck$check(fail)
fail
Should an error be dropped if the report contains errors?
An error report (and if desired an error is dropped).
clone()
The objects of this class are cloneable with this method.
protocolcheck$clone(deep = FALSE)
deep
Whether to make a deep clone.
Other check:
check_all()
,
check_all_author_info()
,
check_frontmatter()
,
check_structure()
,
validate_orcid()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.