ctmm-initiative / ctmmweb

Web app for analyzing animal tracking data, built upon ctmm R package
http://biology.umd.edu/movement.html
GNU General Public License v3.0
32 stars 21 forks source link

Error in shinyAppDir(x) : App dir must contain either app.R or server.R. #40

Closed vestlink closed 6 years ago

vestlink commented 6 years ago

source("https://raw.githubusercontent.com/ctmm-initiative/ctmm-webapp/master/inst/app/run.R")

produces:

Error in shinyAppDir(x) : App dir must contain either app.R or server.R.

Both on Windows and Mac (R version 3.4.2)

xhdong-umd commented 6 years ago

Sorry I didn't update this part. I'm in the process of converting the app into a package, which involved a lot of cumbersome work and introduced lots of changes.

Ideally I should keep the github repo stable and only update it when everything is working. Because of the complexity of my git setup this was not done properly before.

I have updated the repo and shinyapps.io app, hopefully it will work as before. And I'll work on a different branch so the master branch will keep stable.

There was an error message in shinyapps.io said rgeos is missing when creating map. I've added it to the package dependency to solve this problem.