loc_stats: Internal calculation of Lines-of-Code Statistics
Description
Internal calculation of Lines-of-Code Statistics
Usage
loc_stats(path)
Arguments
path
Directory to source code of package being analysed
Value
A list of statistics for each of three directories, 'R', 'src', and
'inst/include', each one having 5 statistics of total numbers of lines,
numbers of empty lines, total numbers of white spaces, total numbers of
characters, and indentation used in files in that directory.
# NOT RUN {f <- system.file ("extdata", "pkgstats_9.9.tar.gz", package = "pkgstats")
# have to extract tarball to call function on source code:path <- extract_tarball (f)
loc_stats (path)
# }