getDirs.Rd
Retrieve the names of directories within a given directory, optionally matching a pattern.
getDirs(dir = "/data", pattern = "", full.names = FALSE)
A character string representing the directory to search within. Default is "/data".
A character string representing the pattern to match. Default is an empty string.
A logical value indicating whether to return full names of the directories. Default is FALSE.
A character vector of directory names matching the pattern.