In the package that I wrote, in the description file, here are some of the imports:
Imports: jsonlite,
tibble,
shiny,
ggplot2,
plotly (>= 4.5.6.9000),
dplyr,
purrr,
lubridate
But when I load my package like this:
devtools::load_all()
only some of those packages above get attached to the workspace. For example, dplyr was attached, but plotly was not.
What determines what packages in the "import" statement of the description file get loaded to the workspace when "my_package" gets loaded