Generate needed information to create DOI from a package directory.
getPackageInfo(dir)
dir
character(1) Path to package
A data.frame
data.frame