View source: R/expand_metapackages.R
expand_metapackages | R Documentation |
Expand metapackages
expand_metapackages(string_og)
string_og |
text string (script) with package load calls |
Text string with metapackage load calls replaced by multiple separate calls to the core packages that make up the metapackage. Core packages will be fenced in four commenting symbols and the order follows the attachment order from each metapackage. Will make note of metapackages not currently installed.
test_string <- c("library(tidyverse)")
expand_metapackages(test_string)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.