How can I list all the identifiers (function names, variable names, etc.) that would be added1 to my current environment if I were to run
library(some.package)
I want to do this without actually adding all those identifiers to my current environment.
1 Point of pedantry: I use the verb "added" somewhat loosely here, to refer to not only those names from some.package
that would be entirely new to the current environment, but also those that would shadow names already existing in the current environment.