R/diagnostics.R

Defines functions diagnose_file diagnose_string

diagnose_string <- function(string) {
  .Call(sourcetools_diagnose_string, as.character(string))
}

diagnose_file <- function(file) {
  diagnose_string(read(file))
}
kevinushey/sourcetools documentation built on June 14, 2025, 8:55 a.m.