inbo / reporting-rshiny-grofwildjacht

Rshiny app for grofwildjacht
https://grofwildjacht.inbo.be/
MIT License
1 stars 1 forks source link

[BUG] "Combineer alle geselecteerde regio's" creates empty graph #448

Closed SanderDevisscher closed 10 months ago

SanderDevisscher commented 10 months ago

Describe the bug "Combineer alle geselecteerde regio's" on the dashboard page afschot graph results in a empty graph. when looking at the docker logs it seems something goes wrong with aggregate.data.frame (Warning: Error in aggregate.data.frame: arguments must have same length). This issue is independent of chosen unit and it does also occur at "Evolutie gerapporteerd afschot Gemeente". The issue allready occurs on PRD.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'faunabeheer.inbo.be'
  2. Select 2 or more communes
  3. Select 'Combineer alle geselecteerde regio's'
  4. Scroll down to 'Evolutie gerapporteerd afschot Gemeente'
  5. See error

Expected behavior A graph is created with summed values for the selected regions

Screenshots prior to combination image

after combination image

Additional context Docker log contains: Warning: Some values were outside the color scale and will be treated as NA

Git SHA (after 0.3.1) 1be4e3cc7cb61fead3de7895795a0ce7a8e40892