Run R CMD check from R and capture results
