expand_metapackages {annotater}R Documentation

Expand metapackages

Description

Expand metapackages

Usage

expand_metapackages(string_og)

Arguments

string_og

text string (script) with package load calls

Value

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.

Examples

test_string <- c("library(tidyverse)")
expand_metapackages(test_string)


[Package annotater version 0.2.3 Index]