Function to throw error on invalid directory or file or if the file is not readable
testFileExistenceReadability(filename)
name of a file or dir
0, if success -1, if failure
# NOT RUN { testFileExistenceReadability(system.file("extdata", "blank.txt", package = "IPDFileCheck")) # }
Run the code above in your browser using DataLab