powered by
Is the path a file/directory?
is_dir(x)is_file(x)
is_file(x)
A logical vector
logical
A vector of file paths
These are essentially taken from utils::file_test() for op = '-d' and op = -f but separated.
utils::file_test()
op = '-d'
op = -f