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

Total path length must be less than PATH_MAX: 260 #177

Open
m7pr opened this issue Jun 22, 2023 · 1 comment
Open

Total path length must be less than PATH_MAX: 260 #177

m7pr opened this issue Jun 22, 2023 · 1 comment

Comments

@m7pr
Copy link
Contributor

m7pr commented Jun 22, 2023

x <- staged.dependencies::dependency_table(".")
Copying local dir C:/Rprojects/teal.slice to cache dir C:/Users/kosinsm4/Documents/.staged.dependencies/packages_cache/local_insightsengineering_teal.slice_69fabf5d920c35ab0e950fac1a49b372
Error in path_tidy(.Call(fs_path_, lapply(args, function(x) enc2utf8(as.character(x))),  : 
  Total path length must be less than PATH_MAX: 260
> library(staged.dependencies)
> packageVersion('staged.dependencies')
[1] ‘0.2.8’
@Melkiades
Copy link
Collaborator

To specify an extended-length path, use the "\?" prefix. For example, "\?\D:\very long path"

I think we can work this in for Windows users

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants