powered by
Checks if the resource on WebDAV is a directory
wd_isdir(req, directory, silent = FALSE)
TRUE if it is a directory, FALSE else
request handle obtained from wd_connect
wd_connect
path to directory
if FALSE a warning is given if the directory does not exists
if (FALSE) { wd_isdir(r, "testfile.R") # FALSE wd_isdir(r, "mydirectory") # TRUE }
Run the code above in your browser using DataLab