Closed monaw closed 8 months ago
after some debugging, there appears to be 2 issues:
Adding options(shiny.maxRequestSize=30*1024^2) should fix James' problem
above problem fixed but now new problem... loading James' entire lion data set, current we are getting the error message "Error : figure margins too large". i did some debugging and the error message is coming from the call "area_mcp <- mcp.area(gpsdata.sp, unin="m", unout=areaUnits, percent=100)"
The default is for function mcp.area() to plot the MCP. Since we only need the results of the area calculation, we can just disable plotting as follows (note last argument)
area_mcp <- mcp.area(gpsdata.sp, unin="m", unout=areaUnits, percent=100, plotit=FALSE)
hi @sinkovit , the error for animal F121 is:
Error in cut.default(getValues(x), breaks = breaks, labels = FALSE, ...): 'breaks' are not unique\n"
@monaw I'm not having problem with F121, either when loading either the entire lion data set of restricting to just those records for animal F121. Is this happening at the loading, MCP or MKDE step? And if MCP or MKDE, can you give the parameters?
If I can't reproduce the error, I'll also ask for the data file you're using. Maybe there's something wrong with your file and not mine.
James reported that he tried to load his lions dataset from Movebank (study id 2931070090) and the app doesn't seem to do anything.