Skip to content

Conversation

@slowkow
Copy link

@slowkow slowkow commented Jan 2, 2026

When a package cannot be downloaded after 20 attempts (e.g., archived or unavailable packages), gracefully skip it and continue checking other packages instead of throwing a fatal error.

The failed package is:

  • Marked as done with PREPERROR status in the database
  • Recorded for both 'old' and 'new' checks
  • Logged with an informative message

This follows the same pattern used in deps_install_done() for handling dependency installation failures.

Fixes #281

When a package cannot be downloaded after 20 attempts (e.g., archived or
unavailable packages), gracefully skip it and continue checking other
packages instead of throwing a fatal error.

The failed package is:
- Marked as done with PREPERROR status in the database
- Recorded for both 'old' and 'new' checks
- Logged with an informative message

This follows the same pattern used in deps_install_done() for handling
dependency installation failures.

Fixes r-lib#281
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error downloading package causes revdep_check() to stop

1 participant