Description Usage Arguments Details Value Author(s) See Also Examples
checkFile
checks whether file exists, assertFile
stops the
program if files do not exist
1 2 3 |
... |
Files to be checked |
assertFile
is often used in scripts where missing a file would cause
the script fail.
checkFile
returns logical vector. assertFile
returns
an invisible TRUE
if files exist, otherwise halts and prints error
messages.
Jitao David Zhang <jitao_david.zhang@roche.com>
1 2 3 4 | myDesc <- system.file("DESCRIPTION", package="ribiosUtils")
myNEWS <- system.file("NEWS", package="ribiosUtils")
checkFile(myDesc, myNEWS)
assertFile(myDesc, myNEWS)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.