-
Notifications
You must be signed in to change notification settings - Fork 11
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
Long hyperlinks prevent workbook from loading on Windows #753
Comments
Ah I see, hm, it's possibly a windows only restriction. R-core was messing with path length in Windows not to long ago. We don't have to use Basename() it was simply a convenient function, but we can use whatever function to get the base name. A small regex should do the trick. |
Loads fine on Mac. We can use |
What about? # only go there if error?
basename2 <- function(x) {
tryCatch(basename(x), error = function(e) sub(".*/([^/]+)$", "\\1", x))
} Edit: I can open a PR if you want. |
Nah, I'll think of something. |
Closed by #755 |
test-long-hl.xlsx
https://blog.r-project.org/2023/03/07/path-length-limit-on-windows/index.html
The text was updated successfully, but these errors were encountered: