Closed clnsmth closed 1 month ago
The fix introduced in commit a97de6253404b6b3ffae0091abbf4c90447a0900 decreases the likelihood of failures, but it doesn't handle errors "gracefully". Instead of returning a null value and informative message, it returns an informative error message. This is a partial fix.
To fully address the issue, the codebase would require significant refactoring of error handling and return values. Until this refactoring is complete, clients should wrap function calls with try-except blocks to handle potential network errors.
The current approach was originally chosen to simplify handling cases where network resources are unavailable. By checking for connectivity at the beginning of functions, we avoid more complex error handling later on.
CRAN checks began failing around the beginning of August:
The messages suggest network issues that may be related to the network re-factoring at the University of New Mexico (where the ED repository is located) that was resulted in issues for other EDI services.
Though the network and CRAN checks have since recovered, these functions should fail gracefully within an informative message.