The ideaTheory
One missing number poisons the average
Four delivery times: 5, 7, unknown, 10 days. Ask R for the mean and it answers NA.
That is not a bug. R is refusing to guess. The true mean depends on the number you do not have, so the only honest answer is "unknown" until you tell R what to do about it.
days <- c(5, 7, NA, 10)
mean(days) # NA
mean(days, na.rm = TRUE) # 7.333
Adding na.rm = TRUE is you taking responsibility for dropping it.