karthik / rDrop

Programmatic interface to Dropbox
65 stars 17 forks source link

Error in (function (classes, fdef, mtable) #11

Open SantoshSrinivas79 opened 10 years ago

SantoshSrinivas79 commented 10 years ago

I seem to have got rDrop working and have been able to upload files.

However, I am getting the following error related to all commands to either read or list files.

> dropbox_acc_info(dropbox_credentials)
Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘fromJSON’ for signature ‘"raw", "missing"’
> 
> dropbox_dir(dropbox_credentials, pattern=".rdata")
Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘fromJSON’ for signature ‘"raw", "missing"’

Please advise.

karthik commented 10 years ago

Hi @fountainhead, Can you share the results of your sessionInfo() after you run these function calls? They seem to work for me on a fresh install. Here are my relevant packages:

 [1] rDrop_0.3-0         stringr_0.6.2       plyr_1.8.1          ROAuth_0.92.0      
 [5] digest_0.6.4        RCurl_1.95-4.3      bitops_1.0-6        RJSONIO_1.3-0      
 [9] rmarkdown_0.2.49    knitr_1.6           devtools_1.5.0.9000