Difference between e() and if-else

See this answer: R() and e() bug