annotate_pkg_calls {annotater} | R Documentation |
Annotate package calls
Description
Annotate package calls
Usage
annotate_pkg_calls(string_og, pkg_field = "Title")
Arguments
string_og |
Text string (script) with package load calls. |
pkg_field |
Field from package description to retrieve, defaults to "Title" |
Value
Text string with package Title annotations. Will make note of packages not currently installed.
Examples
test_string <- c("library(boot)\nrequire(tools)")
annotate_pkg_calls(test_string)
[Package annotater version 0.2.3 Index]