ncsu-landscape-dynamics / rpops

PoPS (Pest or Pathogen Spread) R Package
https://ncsu-landscape-dynamics.github.io/rpops/
GNU General Public License v3.0
10 stars 5 forks source link

Fix county level calibration #198

Closed ChrisJones687 closed 7 months ago

ChrisJones687 commented 7 months ago

County level comparison would fail if there was no host due to trying to draw a sample from an empty list. Added a check for hosts in a polygon prior to drawing from sample.

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.48%. Comparing base (a0c8c93) to head (b114530).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #198 +/- ## ========================================== - Coverage 84.49% 84.48% -0.02% ========================================== Files 59 59 Lines 6282 6283 +1 ========================================== Hits 5308 5308 - Misses 974 975 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.