add_dependencies_badge: Add a Dependencies badge

Description Usage Arguments Value See Also Examples

View source: R/add_dependencies_badge.R

Description

This function adds a dependencies badge to the README.Rmd. The first number corresponds to the direct dependencies and the second to the recursive dependencies.

Note/ this function can work with packages not published on the CRAN and is based on the function gtools::getDependencies(). See also the function get_all_dependencies().

Usage

1

Arguments

quiet

a logical value

If TRUE messages are deleted. Default is FALSE.

Value

A Markdown badge expression

See Also

Other adding badges: add_codecov_badge(), add_cran_badge(), add_github_actions_check_badge(), add_github_actions_codecov_badge(), add_github_actions_pkgdown_badge(), add_license_badge(), add_lifecycle_badge(), add_repostatus_badge()

Examples

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

## End(Not run)

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