Warnings, Errors, and Debugging
摘要
This chapter covers practical strategies for dealing with error and warning messages in R. It breaks down the different kinds of things (errors, warnings, unexpected responses, and no response) that can go wrong when writing code in R. It provides guidance for decoding R’s error and warning messages and presents three strategies for debugging code.