srr_counts
Count number of ‘srr’ statistical standards complied with, and confirm whether than represents > 50% of all applicable standards.
Description
Count number of ‘srr’ statistical standards complied with, and confirm whether than represents > 50% of all applicable standards.
Usage
srr_counts(repourl, repo, issue_id, post_to_issue = TRUE)
Arguments
Argument |
Description |
---|---|
|
The URL for the repo being checked, potentially including full path to non-default branch. |
|
The ‘context.repo’ parameter defining the repository from which the command was invoked, passed in ‘org/repo’ format. |
|
The id (number) of the issue from which the command was invoked. |
|
Integer value > 0 will post results back to issue (via ‘gh’ cli); otherwise just return character string with result. |
Value
Vector of three numbers:
Number of standards complied with
Total number of applicable standards
Number complied with as proportion of total
Seealso
Other ropensci:
check_issue_template
,
is_user_authorized
,
push_to_gh_pages
,
readme_has_peer_review_badge
,
srr_counts_summary
,
stats_badge