as.numeric function bug problem

Can you provide a reproducible example instead of a screenshot?