Open utterances-bot opened 6 days ago
I think the best solution was given by @klmr:
getExportedValue('dplyr', 'starwars')
IHMO eval()
should really be used as the very last resort. In most cases, there may exist a cleaner and safer way to achieve the task.
BTW, I'm not sure if there's any benefit of using {rlang} vs eval(parse(text = dataset_str))
.
Josiah Parry - Evaluate strings as code
https://josiahparry.com/posts/2024-06-13-eval-strings