Commit 690594c
Add tryCatch fallback for Bioc download stats (fixes #3)
dlstats::bioc_stats() can error when the Bioconductor stats endpoint
is unavailable. Now catches the error gracefully, warns the user,
and returns empty results instead of crashing. [skip ci]
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 11da90a commit 690594c
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
20 | 27 | | |
| 28 | + | |
21 | 29 | | |
22 | 30 | | |
23 | 31 | | |
| |||
0 commit comments