powered by
Function to throw error on invalid directory or file and if not readable
test_file_exist_read(filename)
0, if success error, if failure
name of a file or dir
test_file_exist_read(system.file("extdata", "blank.txt", package = "IPDFileCheck" ))
Run the code above in your browser using DataLab