att_from_data {attachment} | R Documentation |
Look for functions called in data loading code
Description
Look for functions called in data loading code
Usage
att_from_data(chr)
Arguments
chr |
A character vector containing the code as a string. The code should follow the pattern used for loading data with |
Value
A character vector containing the names of the packages from which datasets are being loaded.
Examples
vec_char <- 'data("starwars", package = "dplyr")'
att_from_data(vec_char)
[Package attachment version 0.4.5 Index]