General troubleshooting approach

When troubleshooting PEcAn issues:

  • Identify the error message and where it occurs (web, R, or model).
  • Check logs and console output for details.
  • Verify file paths, permissions, and dependencies.
  • Reproduce the issue with a minimal workflow.
  • Use R debugging tools such as debug(), traceback(), and browser().