fail_gracefully {flashr} | R Documentation |
Gracefully fail if internet connection is not available
Description
CRAN policies require that "Packages which use Internet resources should fail gracefully with an informative message if the resource is not available or has changed (and not give a check warning nor error)." This solution is adapted from kvasilopoulos' response at https://forum.posit.co/t/internet-resources-should-fail-gracefully/49199/11. This function is not exported.
Usage
fail_gracefully(remote_file, maxtime = 10)
Arguments
remote_file |
Remote file to be downloaded. |
maxtime |
Maximum time to check connection before timing out. |
[Package flashr version 0.3.0 Index]