BiologicalRecordsCentre / sparta

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

Add testing for percentageChange #140

Open AugustT opened 5 years ago

AugustT commented 5 years ago

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

Create some changes of known value and check the function returns the correct answer