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