Fix typo for overnight arrival time, closes #1385
This commit is contained in:
parent
fbe3121d2d
commit
a0a0c00655
|
@ -639,7 +639,7 @@ We can fix this by adding `days(1)` to the arrival time of each overnight flight
|
||||||
flights_dt <- flights_dt |>
|
flights_dt <- flights_dt |>
|
||||||
mutate(
|
mutate(
|
||||||
overnight = arr_time < dep_time,
|
overnight = arr_time < dep_time,
|
||||||
arr_time = arr_time + days(!overnight),
|
arr_time = arr_time + days(overnight),
|
||||||
sched_arr_time = sched_arr_time + days(overnight)
|
sched_arr_time = sched_arr_time + days(overnight)
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue