minor changes to package.R