I'm building a small package for local distribution among our analysts that encapsulates the connection code for our Oracle databases. I would like to make it so that attaching that package also makes available all of the functions from the package DBI.
In other words, I would like it so that instead of this
one could do this and have exactly the same effect
I tried looking at what happens when you do
library(tidyverse) and it attaches ggplot2, tibble, etc., and I see there is a
library to those packages, but if I just include
library(DBI) in my package that doesn't do the trick. This seems like it should be something simple, but I don't know how to search for it.