combining require and install.packages in a single line for R