Learn R Programming

annotater (version 0.2.4)

match_pkg_names: Match package names

Description

Match package names

Usage

match_pkg_names(string_og)

Value

A tibble with the package load calls and package names.

Arguments

string_og

Text string (script) with package load calls.

Examples

Run this code
test_string <- c("library(boot)\nrequire(Matrix)")
match_pkg_names(test_string)

Run the code above in your browser using DataLab