This is not necessarily regex per se but how can I extract a function from a package in the following format?
test<-"Aes"
test<-tolower(test)
ggplot2::test
This fails because "test" cannot be recognised as an exported function from ggplot2.
Error: 'test' is not an exported object from 'namespace:ggplot2'
What is a workaround to make this work?
Thanks!