Skip to content
New issue

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

path_real() fails with ENOENT on a path that does not exist on Windows 11 with R 4.2.1 #389

Open
billdenney opened this issue Aug 29, 2022 · 1 comment
Labels
bug an unexpected problem or unintended behavior

Comments

@billdenney
Copy link

On Windows 11 with R 4.2.1, I get an ENOENT error for a path that does not exist when calling path_real() while the documentation says "the files in question do not need to exist on the filesystem".

fs::path_real("no_path_here")
#> Error: [ENOENT] Failed to realize 'no_path_here': no such file or directory

Created on 2022-08-29 by the reprex package (v2.0.1)

This is related to #296 and r-lib/devtools#2467

@billdenney
Copy link
Author

FYI, I tried to update libuv to the current version to see if that fixed the issue. I hit a wall with my C++ troubleshooting skills, but I added #390 to hopefully help in testing that path.

@gaborcsardi gaborcsardi added the bug an unexpected problem or unintended behavior label Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants