new to shinyapps - error when calling setAccountInfo()

36 views
Skip to first unread message

Daniel Bowen

unread,
Feb 26, 2014, 11:27:19 PM2/26/14
to shinyap...@googlegroups.com
Hi all. I seem to have set everything up properly, but I can't quite figure out why I am getting an error. I run the following code:

setAccountInfo(name = "nutwition", token = "***********", secret = "****************")

which I copied from the very convenient copy button, provided in the "Tokens" section of the my.shinyapps.io web interface. R returns the following error, which I was not able to find in past group posts here:

Error: /v1/users/10111/accounts?count=100&offset=0 405 - Method Not Allowed

The only thing I could figure is that I do not have an app named "nutwition" in the "Apps" section of the my.shinyapps.io web interface. I would suppose that I need to add "nutwition" to that list, but I don't see where to do that.

any ideas on what is happening with this setAccountInfo() call here?

Thank you,
Dan

Andy Kipp

unread,
Feb 27, 2014, 9:52:39 AM2/27/14
to shinyap...@googlegroups.com
Daniel,

Can you tell me what version of shinyapps you're running by sending the output of:

packageDescription('shinyapps')

Thanks!

-Andy

Daniel Bowen

unread,
Mar 3, 2014, 5:14:39 PM3/3/14
to shinyap...@googlegroups.com
my apologies. I thought I replied to this. I did not get an error after trying this the next day, and everything seems to be working as expected. I suppose a restart of R was in order for some reason.

I do get an error when running deployApp():

> deployApp()
Preparing to deploy application...DONE
Uploading application bundle...DONE
Deploying application: 10654...
Waiting for task: 33533
  building: Parsing manifest
  building: Building package: digest (0.6.3)
  building: Building package: xtable (1.7-1)
  building: Building package: BH (1.51.0-4)
  building: Building package: RJSONIO (1.0-3)
  building: Building package: Rcpp (0.11.0)
  building: Building package: httpuv (1.2.0)
Error: Unhandled Exception: Child Task 33534 error: Unhandled Exception: Error building httpuv (1.2.0). Build exited with non-zero status: 1

I think this is saying that the server that shinyapps/R is talking to is having an issue installing the 'httpuv' library. Is there something I can do on my end to resolve this. Below are the packages that my application (nutwition.shinyapps.io/App2) uses:

- shiny
- shinyIncubator
- dplyr

Many thanks!

Dan
Reply all
Reply to author
Forward
0 new messages