powered by
This function counts the number of items, duplicated or not, in an fnames object. If there are duplicated items, it will return a warning.
fnames
n_fnames(x, ...)
A number.
Object of class fnames.
Additional arguments.
cwd_fnames <- as_fnames(c("folder/file1.txt", "folder/file2.txt", "folder/file3.txt")) n_fnames(cwd_fnames)
Run the code above in your browser using DataLab