openpharma / staged.dependencies

R package to implement development stages for package development
https://openpharma.github.io/staged.dependencies/
MIT License
12 stars 3 forks source link

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

Open m7pr opened 1 year ago

m7pr commented 1 year ago
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 commented 1 year ago

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