I think it is useful to show errors for pedagogical/demo purposes, and it is bad in production. Errors often occur for a reason that should not be ignored. If you want to show errors, you can do it in code chunks. For inline expressions, I'd prefer it only contains "safe" R code.

Therefore, I tend to remove the `error` argument in `inline_exec()`.