ncsu-landscape-dynamics / rpops

PoPS (Pest or Pathogen Spread) R Package
https://ncsu-landscape-dynamics.github.io/rpops/
GNU General Public License v3.0
10 stars 5 forks source link

add verbose option to calibrate #84

Closed nkruskamp closed 3 years ago

nkruskamp commented 3 years ago

Allows the user to turn off print statements during calibration. Helpful when you don't need to see the generation, particle, and acceptance rate.

I added a verbose parameter (bool) and wrapped print statements with if statement. Shortened print statement.

codecov[bot] commented 3 years ago

Codecov Report

Merging #84 (d9c4c30) into master (4600da2) will decrease coverage by 0.00%. The diff coverage is 83.33%.

:exclamation: Current head d9c4c30 differs from pull request most recent head 650f170. Consider uploading reports for the commit 650f170 to get more accurate results Impacted file tree graph

@@            Coverage Diff             @@
##           master      #84      +/-   ##
==========================================
- Coverage   75.17%   75.17%   -0.01%     
==========================================
  Files          39       39              
  Lines        4589     4596       +7     
==========================================
+ Hits         3450     3455       +5     
- Misses       1139     1141       +2     
Impacted Files Coverage Δ
R/calibrate.R 91.06% <83.33%> (-0.24%) :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 fc818e2...650f170. Read the comment docs.