cloc_cran | R Documentation |
Count lines of code (etc) from source packages on CRAN
cloc_cran(
pkgs,
repos = getOption("repos"),
contrib_url = utils::contrib.url(repos, "source"),
.progress = interactive()
)
pkgs |
names of packages |
repos |
character vector, the base URL(s) of the repositories to use,
i.e., the URL of the CRAN master such as " |
contrib_url |
URL(s) of the contrib sections of the repositories. Use this argument only if your repository mirror is incomplete, e.g., because you burned only the ‘contrib’ section on a CD. Overrides argument repos. |
.progress |
show a progress bar? Default: |
data frame (tibble)
# requires a network connection therefore is set for you to run it manually
## Not run:
cloc_cran(c("archdata", "hrbrthemes", "iptools", "dplyr"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.