use_coverage: Test coverage

Description Usage Arguments

View source: R/coverage.R

Description

Adds test coverage reporting to a package, using either Codecov (https://codecov.io) or Coveralls (https://coveralls.io).

Usage

1
2
3
use_coverage(type = c("codecov", "coveralls"), repo_spec = NULL)

use_covr_ignore(files)

Arguments

type

Which web service to use.

repo_spec

Optional GitHub repo specification in this form: owner/repo. This can usually be inferred from the GitHub remotes of active project.

files

Character vector of file globs.


usethis documentation built on Feb. 10, 2021, 5:08 p.m.