checkFile checks whether file exists, assertFile stops the
program if files do not exist
Value
checkFile returns logical vector. assertFile returns
an invisible TRUE if files exist, otherwise halts and prints error
messages.
Examples
myDesc <- system.file("DESCRIPTION", package="ribiosUtils")
myNEWS <- system.file("NEWS", package="ribiosUtils")
checkFile(myDesc, myNEWS)
#> [1] TRUE
assertFile(myDesc, myNEWS)