DOI-USGS / hyRefactor

https://code.usgs.gov/wma/nhgf/reference-fabric/hyrefactor
Creative Commons Zero v1.0 Universal
5 stars 0 forks source link

catch NULL geometries created in clean #33

Closed mikejohnson51 closed 2 years ago

mikejohnson51 commented 2 years ago

One small change to avoid clean_geometry failing on smaller domains. Test written, test data in test/testthat/data, and all tests still pass.

codecov-commenter commented 2 years ago

Codecov Report

Merging #33 (1efccaa) into main (e669fcd) will increase coverage by 0.07%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #33      +/-   ##
==========================================
+ Coverage   90.27%   90.35%   +0.07%     
==========================================
  Files          11       11              
  Lines        1574     1576       +2     
==========================================
+ Hits         1421     1424       +3     
+ Misses        153      152       -1     
Impacted Files Coverage Δ
R/catchment_geometry.R 76.51% <100.00%> (+0.99%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e669fcd...1efccaa. Read the comment docs.