Validate codecheck.yml metadata against ORCID
Source:R/validation.R
validate_codecheck_yml_orcid.RdValidate codecheck.yml metadata against ORCID
Usage
validate_codecheck_yml_orcid(
yml_file = "codecheck.yml",
strict = FALSE,
validate_authors = TRUE,
validate_codecheckers = TRUE
)Arguments
- yml_file
Path to the codecheck.yml file (defaults to "./codecheck.yml")
- strict
Logical. If
TRUE, throw an error on any mismatch. IfFALSE(default), only issue warnings.Logical. If
TRUE(default), validate author ORCIDs.- validate_codecheckers
Logical. If
TRUE(default), validate codechecker ORCIDs.
Value
Invisibly returns a list with validation results:
- valid
Logical indicating if all checks passed
- issues
Character vector of any issues found