Rare-Technology / ECO_Dashboard

Ecological surveys dashboard
https://portal.rare.org/en/tools-and-data/ecological-data/
MIT License
0 stars 1 forks source link

"Warning: Error in aggregate.data.frame: no rows to aggregate" briefly appears #10

Open ibidyouadu opened 3 years ago

ibidyouadu commented 3 years ago

To reproduce:

  1. Select IDN, any MA's.
  2. Deselect all fish family, select any or a few.
  3. Select MOZ
  4. Select Ilha de Mocambique as MA (cannot reproduce if other MA is chosen)

The plot will update with a brief pause and in the console the error from the title can be seen. From recent experience, that seems to indicate that in mod_plot.R, plot_biomass() is having an empty data_filtered passed through it.

Functionally, it looks ok. Double check that the plots coming out are correct though.

ibidyouadu commented 2 years ago

As of d812799, there is a moment where, right after step 3, an error message is shown in the app (Error: An error has occurred. Check your logs or contact the app author for clarification)