This function retrieves information about files in a specified directory
directory_info(dir, recurse = TRUE)A data frame containing detailed information about the files in the directory,
including all information produced by fs::file_info().
A character string representing the path of the directory.
Logical. If TRUE, fully recurse into subdirectories. If a positive number, specifies the number of levels to recurse.