covr icon indicating copy to clipboard operation
covr copied to clipboard

package_coverage is not working on base packages

Open Ahill25 opened this issue 2 years ago • 2 comments

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!

Ahill25 avatar Oct 23 '23 16:10 Ahill25

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.

jimhester avatar Oct 23 '23 17:10 jimhester

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

Ahill25 avatar Oct 23 '23 18:10 Ahill25