You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"one or more life expectancies are improbably high")
77
+
```
78
+
```{r, error=TRUE}
79
+
expect_that(any(gap_5060$pop <= 0), is_false(),
80
+
"one or more population sizes are zero or negative")
81
+
```
82
+
61
83
### Task 2: Identify and fix the data error
62
84
63
85
Something is clearly wrong with this plot! Turns out there's a data error in the data file: life expectancy for Canada in the year 1957 is coded as `999999`, it should actually be `69.96`. Make this correction.
0 commit comments