fixes #193: output_format_yaml[[1]] might be NULL, in which case parse(text = NULL) will hang and wait for stdin
Merge pull request #224 from rstudio/bugfix/193

fixes #193: output_format_yaml[[1]] might be NULL,