BiologicalRecordsCentre / sparta

Species Presence/Absence R Trends Analyses
http://biologicalrecordscentre.github.io/sparta/index.html
MIT License
21 stars 24 forks source link

Adjustment to simOccData function and corresponding tests #157

Closed JHHatfield closed 5 years ago

JHHatfield commented 5 years ago

Added the adjustment suggested by @drnickisaac to fix a bug with the simOccData function. The corresponding tests have also been updated.

codecov-io commented 5 years ago

Codecov Report

Merging #157 into master will increase coverage by 0.29%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #157      +/-   ##
==========================================
+ Coverage   57.65%   57.94%   +0.29%     
==========================================
  Files          81       81              
  Lines        2777     2780       +3     
==========================================
+ Hits         1601     1611      +10     
+ Misses       1176     1169       -7
Impacted Files Coverage Δ
R/simOccData.R 100% <100%> (+19.44%) :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 7033042...6d157f1. Read the comment docs.