R/sloc-rm-comments.R
cloc_remove_comments.Rd
Pass in a path to a source file and retrieve a version of the source file without comments (or white space).
cloc_remove_comments(source_file)
source_file | path to source file |
---|
character vector containing only code blocks
cloc_remove_comments(system.file("extdata", "qrencoder.cpp", package="cloc"))