testFileExistenceReadability

Function to throw error on invalid directory or file or if the file is not readable

Function to throw error on invalid directory or file or if the file is not readable

Usage
testFileExistenceReadability(filename)
Arguments
filename

name of a file or dir

Value

0, if success -1, if failure

Aliases
  • testFileExistenceReadability
Examples
# NOT RUN {
testFileExistenceReadability(system.file("extdata", "blank.txt", package = "IPDFileCheck"))
# }
Documentation reproduced from package IPDFileCheck, version 0.3.0, License: CC0

Community examples

Looks like there are no examples yet.