Good question! For computational efficiency reasons, R's graphing functions use approximations of least square solutions rather than the "true" solutions (the approximation method is called QR decomposition, and you can find a very technical and thorough explanation of it here). In the vast majority of situations, the approximations are good enough. However, when you start raising numbers to the 12th power, even very small estimation errors become very large ones. Hence, the graph that R outputs will look "off."
So, we commented out the code and put an image of a proper graph in its place. You can tell students that they shouldn't run the code, due to computational issues. That's why we already have the graph there for them 🙂. Next year, we may just hide the code cell entirely, to avoid confusion.