match_pkg_names: Match package names

View source: R/match_pkg_names.R

match_pkg_namesR Documentation

Match package names

Description

Match package names

Usage

match_pkg_names(string_og)

Arguments

string_og

Text string (script) with package load calls.

Value

A tibble with the package load calls and package names.

Examples

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

luisDVA/annotater documentation built on Feb. 2, 2024, 1:08 a.m.