Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error handling in functions #204

Open
yiwen-h opened this issue Nov 6, 2024 · 0 comments
Open

Error handling in functions #204

yiwen-h opened this issue Nov 6, 2024 · 0 comments
Labels
C&C ☕ Session idea for Coffee & Coding

Comments

@yiwen-h
Copy link
Member

yiwen-h commented Nov 6, 2024

  • Principles of error handling
  • Doing it quickly - When you have little time
  • Doing things properly(?) with purrr::safely() or purrr::possibly()
  • Handling the output of purrr::safely()
  • Sending messages back to the user (and being able to turn them off)
  • What to do when you can’t resolve errors
  • Could include the classics first, like tryCatch(), if and stop(), etc (Matt)
  • Nice error reporting with {cli} (Matt)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C&C ☕ Session idea for Coffee & Coding
Projects
Status: Potential
Development

No branches or pull requests

1 participant