The function uses identified path to check the size of given directory. It returns the total size of files in the directory

dir_size(path)

Arguments

path

The full path to directory to be sized

Value

Sum of size of files in directory

Examples

if (FALSE) {
dir_size(path = "C:/ghBackup/R")
}