zoonproject / zoon

The zoon R package
Other
61 stars 13 forks source link

Fix a bug introduced with a new version of raster. #424

Closed AugustT closed 6 years ago

AugustT commented 6 years ago

The output of extracting with no points was NULL now it is numeric(0). Using length(x) == 0 catches both

codecov-io commented 6 years ago

Codecov Report

Merging #424 into master will decrease coverage by <.01%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #424      +/-   ##
==========================================
- Coverage   91.55%   91.55%   -0.01%     
==========================================
  Files          29       29              
  Lines        3495     3494       -1     
==========================================
- Hits         3200     3199       -1     
  Misses        295      295
Impacted Files Coverage Δ
R/zoonHelpers.R 77.15% <100%> (-0.07%) :arrow_down:

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 a78b98f...ae31e9a. Read the comment docs.