Learn R Programming

annotater (version 0.2.4)

annotate_pkg_calls: Annotate package calls

Description

Annotate package calls

Usage

annotate_pkg_calls(string_og, pkg_field = "Title")

Value

Text string with package Title annotations. Will make note of packages not currently installed.

Arguments

string_og

Text string (script) with package load calls.

pkg_field

Field from package description to retrieve, defaults to "Title"

Examples

Run this code
test_string <- c("library(boot)\nrequire(tools)")
annotate_pkg_calls(test_string)

Run the code above in your browser using DataLab