I understand the exact matching variables cannot have NAs. Does this only apply for the treated, or is NAs not allowed for the potential controls aswell?

Also, how does R handle missing values for variables for the treated that does not need to be exact, but only the closest to?

Im using MatchIt, distance = "mahalanobis"