cloc_pkg | R Documentation |
Think of this as cloc()
with saner defaults for packages. Skips common
IDE tempdirs, .git
, inst
, man
.
cloc_pkg(source = ".", extract_with = NULL)
source |
file, directory or archive to read from (can be a valid URL) |
extract_with |
passed into |
data frame (tibble)
# by dir
cloc(system.file("extdata", package="cloc"))
# by file
cloc(system.file("extdata", "qrencoder.cpp", package="cloc"))
# requires a network connection therefore is set for you to run it manually
## Not run:
# from a url
cloc("https://rud.is/dl/cloc-1.74.tar.gz")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.