annotate_pkg_datasets {annotater} | R Documentation |
Annotate package datasets
Description
Annotate package datasets
Usage
annotate_pkg_datasets(string_og)
Arguments
string_og |
text string (script) with package load calls |
Details
No support for pacman package loading at this time.
Value
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.
Examples
test_string <- c("library(tidyr)\nlibrary(purrr)\ndata(construction)\nsummary(fish_encounters)")
annotate_pkg_datasets(test_string)
[Package annotater version 0.2.3 Index]