getPackageInfo returns information on attached packages including name, version and source.
getPackageInfo
getPackageInfo()
packages <- getPackageInfo()