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

drop_search fails when searching for strings that are also folder names #50

Open
jamesfeigenbaum opened this issue Apr 2, 2016 · 0 comments

Comments

@jamesfeigenbaum
Copy link

When I search for a file with drop_search that happens to have the same name / stem as another folder in dropbox, the search fails (sometimes). The example below fails for the public folder. However, when I did the same thing with the personal folder (put personal.csv) in it, it doesn't fail. But when I drop_search for my surname (lots of files and folders with that string in the name in my dropbox) it does fail. So, I haven't figured out the pattern yet, but I assume there is one...

> packageVersion("rdrop2")
[1] ‘0.7.0’
> write.csv(iris, file = "public.csv")
> drop_upload('public.csv', dest = "Public")
File public.csv uploaded successfully
> drop_search("public")
Error in data.table::rbindlist(zz, fill = T) : 
  Column 14 of item 110 is length 2, inconsistent with first column of that item which is length 1. rbind/rbindlist doesn't recycle as it already expects each item to be a uniform list, data.frame or data.table

Great package, by the way!

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

No branches or pull requests

2 participants