nonExistentFiles: Non-existent files from a vector of filenames

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

1
nonExistentFiles(filenames)

Arguments

filenames

character A vector of filenames

Value

A character vector of file paths that do not exist.

Author(s)

Kaiyin Zhong, Fan Liu

Examples

1
2
3
4
5
6
7
## 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)

CollapsABEL documentation built on May 1, 2019, 7:28 p.m.