R/check_standards.R
check_rout.Rd
For any R file, there should either be an associated Rout file or documentation in the header stating that the script is sourced elsewhere. This checks that one and only one of these conditions is met. If there is an associated Rout file, this also checks that the R version in the header matches the R version in the Rout.
check_rout(x, path)
a named list
with "pass" and "reason" elements