packageHistory function

Extract package or R version history.