Check for incorrect use of Depends, such that a package depending on
the checked package would have a problem unless the package in the incorrect
depends was imported in NAMESPACE. Still need a unit test for this.
Thanks to Martin for the basic idea of this.