Quality Control for Graphics in R