r-lib / debugme

Easy and efficient debugging for R packages
https://r-lib.github.io/debugme/
Other
149 stars 10 forks source link

Simplify instrumentation #46

Closed krlmlr closed 3 years ago

krlmlr commented 3 years ago

Use pkg argument in closure instead of funneling it through.

codecov-io commented 3 years ago

Codecov Report

Merging #46 (ed3a562) into master (e0e1169) will decrease coverage by 1.03%. The diff coverage is 88.23%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #46      +/-   ##
==========================================
- Coverage   98.89%   97.86%   -1.04%     
==========================================
  Files           6        6              
  Lines         181      187       +6     
==========================================
+ Hits          179      183       +4     
- Misses          2        4       +2     
Impacted Files Coverage Δ
R/package.R 95.00% <33.33%> (-5.00%) :arrow_down:
R/debug.R 97.05% <100.00%> (+0.13%) :arrow_up:
R/instrument.R 100.00% <100.00%> (ø)

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 293c497...ed3a562. Read the comment docs.

gaborcsardi commented 3 years ago

Thanks!