r-lib / covr

Test coverage reports for R
https://covr.r-lib.org
Other
336 stars 117 forks source link

package_coverage is not working on base packages #547

Open Ahill25 opened 1 year ago

Ahill25 commented 1 year ago

Hey all, I am trying to run package_coverage on base source libraires and get 2 different results. One result happens with compiler. It uses the function and runs the tests but cannot report them. The variable set returns NULL: image

Another is this where the connection can't be found and the function errors out: image

is there anyway to run package_coverage on base packages? ~ Thanks!

jimhester commented 1 year ago

See https://github.com/r-lib/covr/issues/59#issuecomment-81956945 for an explanation and comment.

The bottom line is it is probably possible to do, though not very easily.

Ahill25 commented 1 year ago

I used this method on both types of errors and get this on the second commad: image