att_from_data: Look for functions called in data loading code

View source: R/att_from_data.R

att_from_dataR 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 data(), specifying the dataset and package.

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)

ThinkR-open/attachment documentation built on June 15, 2025, 1:24 a.m.