BiologicalRecordsCentre / sparta

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

Add tests for occDetFunc #133

Open AugustT opened 5 years ago

AugustT commented 5 years ago

https://codecov.io/gh/BiologicalRecordsCentre/sparta/src/master/R/occDetFunc.r

Add tests for regional functionality Add test where max_year is NULL Test a time period with no data [Should it still be called time period?!] Test user specified parameters Test sites missing from regional data Test additional bugs elements Test aggregates with missing data (L442) etc etc