adokter / bioRad

R package for analysis and visualisation of biological signals in weather radar data
http://adokter.github.io/bioRad
Other
29 stars 16 forks source link

add skip_if_no_vol2birdR() function and use it in test-calculate_vp.R #624

Closed adokter closed 1 year ago

adokter commented 1 year ago

Certain CRAN checks fail to install suggested package vol2birdR, in our case r-oldrel-windows-x86_64 for bioRad 0.7.1.

This PR adds a test if vol2birdR is present, and if not skips tests depending on it.

codecov[bot] commented 1 year ago

Codecov Report

Merging #624 (661377e) into master (7a6cfdf) will decrease coverage by 0.02%. The diff coverage is 66.66%.

:exclamation: Current head 661377e differs from pull request most recent head e862df8. Consider uploading reports for the commit e862df8 to get more accurate results

@@            Coverage Diff             @@
##           master     #624      +/-   ##
==========================================
- Coverage   82.13%   82.11%   -0.02%     
==========================================
  Files          61       61              
  Lines        3699     3702       +3     
==========================================
+ Hits         3038     3040       +2     
- Misses        661      662       +1     
Impacted Files Coverage Δ
R/utils.R 86.27% <66.66%> (-0.60%) :arrow_down: