powered by
Checks if all directories exist (or if exists = FALSE do not exist as directories or files).
check_dirs(x, exists = TRUE, x_name = NULL)
An informative error if the test fails or an invisible copy of x.
The object to check.
A flag specifying whether the files/directories must (or must not) exist.
A string of the name of object x or NULL.
Other check: check_data(), check_dim(), check_files(), check_key(), check_names(), check_values()
check_data()
check_dim()
check_files()
check_key()
check_names()
check_values()
check_dirs(tempdir()) try(check_dirs(tempdir(), exists = FALSE))
Run the code above in your browser using DataLab