View source: R/sloc-rm-comments.R
cloc_remove_comments | R Documentation |
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"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.