When running install_package(), undefined S4 classes declared in the NAMESPACE are silently ignored.
is not treated as an error.
There is at least one package in CRAN affected:
This package does not use S4 at all, so it clearly an error.
To be consistent with export(), exportClasses() should throw an error upon encountering an invalid class.