getPaths.Rd
Retrieve the paths of directories within a given directory, optionally matching a pattern.
getPaths(dir = "/data", pattern = "", full.names = TRUE)
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 TRUE.
A character vector of directory paths matching the pattern.