collpase usePackages into a single lapply