HenrikBengtsson / R.utils

🔧 R package: R.utils (this is *not* the utils package that comes with R itself)
https://henrikbengtsson.github.io/R.utils/
62 stars 14 forks source link

getReadablePathname(..., mustExists=TRUE): Add 'tries' argument #128

Open HenrikBengtsson opened 3 years ago

HenrikBengtsson commented 3 years ago

Issue #72, and other issues in other repos, suggest that it's hard to reliably infer existence of files and their file permissions on some cases (e.g. shared file systems and parallel processing).

To mitigate the problem, we could have these functions retry multiple times before giving up.