Adding checks for R dependencies early in the pipeline.  Attempts to install the necessary packages.  If problem, then exits early and issues a warning.