CollapsABEL (version 0.10.11)

nonExistentFiles: Non-existent files from a vector of filenames

Description

This function receives a vector of filenames as parameter, and returns a vector of non-existent files among them.

Usage

nonExistentFiles(filenames)

Arguments

filenames
character A vector of filenames

Value

A character vector of file paths that do not exist.

Examples

Run this code
## Not run: 
# nonExistentFiles(R.home())
# nonExistentFiles(sapply(1:5, function(i) tempfile()))
# nonExistentFiles(sapply(1:5, function(i) tempdir()))
# nonExistentFiles(c("/tmp/f3412lds43289ajkfdlsa", R.home())) == "/tmp/f3412lds43289ajkfdlsa"
# ## End(Not run)

Run the code above in your browser using DataLab