ropensci / mapscanner

R package to print maps, draw on them, and scan them back in
https://docs.ropensci.org/mapscanner/
Other
90 stars 7 forks source link

Update rectify-maps.R #26

Closed potterzot closed 5 years ago

potterzot commented 5 years ago

Add <= to line 284.

From what I can tell, if dn contains negative and zero values then thr0 is set to NA. This fixes that.

codecov[bot] commented 5 years ago

Codecov Report

Merging #26 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #26   +/-   ##
=======================================
  Coverage   97.51%   97.51%           
=======================================
  Files           9        9           
  Lines         924      924           
=======================================
  Hits          901      901           
  Misses         23       23
Impacted Files Coverage Δ
R/rectify-maps.R 90.43% <100%> (ø) :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 d9389e1...7ed342a. Read the comment docs.