Error running code - Control Flow in R (Other Useful Comparison Operators)

Hi all,

For this exercise, my code matches the solution almost exactly except for differences in spacing/alignment (which shouldn’t affect the run), but for some reason, I’m getting an error message. Here is my code, along with what comes up when I submit it:

Here is the solution:

Could someone please help here? Also, why do I keep getting in the output “Parsed with column specification…” followed by all the data types of the tibble columns in red?

Many thanks.

1 Like