statnet / statnetWeb

A graphical user interface for network modeling with the 'statnet' software
GNU General Public License v3.0
29 stars 17 forks source link

library refs in server.R #40

Closed smjenness closed 9 years ago

smjenness commented 9 years ago

Just a minor note on loading libraries in your inst folder files.

Now that you have all these packages as depends, this: https://github.com/statnet/statnetWeb/blob/master/inst/shiny/server.R#L2-L8

can just be replaced with:

library(statnetWeb)

One thing that you may have found out from trying to deploy to shinyapps.io is that it will not accept a package that is built locally, but it will accept one built from github. Therefore, after you commit to github, you need to:

  1. Install statnetWeb with `devtools::install_github("statnet/statnetWeb")
  2. Then deploy
ebey commented 9 years ago

Thanks!