Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document return value of package_coverage? #564

Open
tdhock opened this issue Apr 1, 2024 · 0 comments
Open

document return value of package_coverage? #564

tdhock opened this issue Apr 1, 2024 · 0 comments

Comments

@tdhock
Copy link

tdhock commented Apr 1, 2024

Hi, first of all thanks for maintaining covr, which I find very useful.
I am trying to compute coverage of a source package locally (not on githu actions), and I think package_coverage will do what I want, because there is some discussion in https://github.com/r-lib/covr?tab=readme-ov-file#interactively

I expected ?package_coverage to have a Value section which documents what is the returned value, but I observe that there is no such documentation. Can it be added please? In particular I would like to know what is the structure of the returned object, and how I can get a data structure (data.frame?) describing what lines in what files are covered.

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant