powered by
Match package names
match_pkg_names(string_og)
A tibble with the package load calls and package names.
Text string (script) with package load calls.
test_string <- c("library(boot)\nrequire(Matrix)") match_pkg_names(test_string)
Run the code above in your browser using DataLab