adw96 / DivNet

diversity estimation under ecological networks
83 stars 18 forks source link

Increase Unit testing, remove phylodivnet from code base #108

Closed paulinetrinh closed 2 years ago

paulinetrinh commented 2 years ago

I have added more unit testing for DivNet and removed phylodivnet() from the codebase as per this conversation.

I deleted the phylodivnet.R and test-phylodivnet.R files and updated documentation via devtools::document() and am submitting a pull request that updates NAMESPACE, the man folder (removal of phylodivnet.Rd), and what should be deleted R files.

For the coverage that was increased by testing more options available to testBetaDiversity().

codecov-commenter commented 2 years ago

Codecov Report

Merging #108 (4f2649f) into master (f6cf209) will increase coverage by 21.33%. The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #108       +/-   ##
===========================================
+ Coverage   65.95%   87.28%   +21.33%     
===========================================
  Files          13       12        -1     
  Lines         796      700       -96     
===========================================
+ Hits          525      611       +86     
+ Misses        271       89      -182     
Impacted Files Coverage Δ
R/s3functions.R 96.26% <0.00%> (+40.18%) :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 f6cf209...4f2649f. Read the comment docs.