R/check_standards.R
check_header.Rd
This checks that the script has a header, defines a name that matches the file path, has a copyright statement, and defines the script's purpose.
check_header(x, path)
a scanned R script
a character containing a directory path
character
a named list with "pass" and "reason" elements
list