if (FALSE) # internal use, only
f <- function() {
util_ensure_suggested <- get("util_ensure_suggested",
asNamespace("dataquieR"))
util_ensure_suggested("ggplot2", "Test",
and_import = "(ggplot|geom_.*|aes)")
print(ggplot(cars, aes(x = speed)) + geom_histogram())
}
f()
Run the code above in your browser using DataLab