What checks are practical when loading data over internet?


I am preparing to release a package that uses readRDS() to read a largish data set over the internet (due to CRAN package size limitations it is not feasible to include it with the package).

I am thinking about what checks should I build in to make loading of the data bulletproof.

I have a warning triggered by http_error() from httr package if the URL does not work (meaning no internet connection, or error on the remote server) - but I am wondering whether I can rely on the readRDS() function to handle data consistency of the downloaded file (things like SHA checks etc.)