We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
while base::dir.exists() returns FALSE quickly:
base::dir.exists()
FALSE
fs::link_create("autoloop", "autoloop") base::file.exists("autoloop") #> [1] FALSE base::dir.exists("autoloop") #> [1] FALSE fs::file_exists("autoloop") #> autoloop #> FALSE fs::link_exists("autoloop") #> autoloop #> TRUE fs::dir_exists("autoloop") ^C
The text was updated successfully, but these errors were encountered:
This boils down to
file_info("autoloop", follow = TRUE)
This is what the standard Unix tools do and we could do the same.
❯ realpath autoloop realpath: autoloop: Too many levels of symbolic links
IDK how many is too many, though.
Sorry, something went wrong.
Based on https://man7.org/linux/man-pages/man7/path_resolution.7.html the limit is 40 for modern Linux kernels.
No branches or pull requests
while
base::dir.exists()
returnsFALSE
quickly:The text was updated successfully, but these errors were encountered: