View source: R/annotate_pkg_datasets.R
annotate_pkg_datasets | R Documentation |
Annotate package datasets
annotate_pkg_datasets(string_og)
string_og |
text string (script) with package load calls |
No support for pacman package loading at this time.
text string with annotations for datasets loaded from packages explicitly, lazily, or through name-spacing. Will make note of packages not currently installed. Lines with existing comments or annotations are ignored.
test_string <- c("library(tidyr)\nlibrary(purrr)\ndata(construction)\nsummary(fish_encounters)")
annotate_pkg_datasets(test_string)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.