Arguments
- file
File path relative to project root
- root
Project root path. Defaults to current RStudio project.
Value
Character string of the file's MD5 hash, or NA if the file does not exist
Examples
if (FALSE) { # \dontrun{
file_hash("script.R")
} # }