add_github_actions_codecov: Setup GitHub Actions to report code coverage

Description Usage Arguments Value See Also Examples

View source: R/add_github_actions_codecov.R

Description

This function creates a configuration file (.yaml) to setup GitHub Actions to report code coverage when testing the package. This file will be added (from a template adapted from usethis::use_github_action()) in the folder .github/workflows/test-coverage.yaml.

Usage

1
add_github_actions_codecov(open = FALSE, overwrite = FALSE, quiet = FALSE)

Arguments

open

a logical value

If TRUE (default) the file is opened in the editor.

overwrite

a logical value

If this file is already present and overwrite = TRUE, it will be erased and replaced. Default is FALSE.

quiet

a logical value

If TRUE messages are deleted. Default is FALSE.

Value

None

See Also

Other development functions: add_dependencies(), add_github_actions_check(), add_github_actions_pkgdown(), add_r_depend(), add_to_buildignore(), add_to_gitignore()

Examples

1
2
3
4
## Not run: 
add_github_actions_codecov()

## End(Not run)

rcompendium documentation built on March 24, 2021, 5:06 p.m.