A version of eval for R that returns more information about what happened