powered by
checks if a file exists, and creates an error if it doesnt.
requireFileExists(file)
Internal method to give approapriate errors for missing files.
# NOT RUN { requireFileExists('a/path/to/a/file.txt') # }
Run the code above in your browser using DataLab