Description Usage Arguments Value Examples

Heaviness on all downstream packages

1 | ```
heaviness_on_downstream(package, move_to_suggests = TRUE, add_values_attr = FALSE)
``` |

`package` |
A package name. |

`move_to_suggests` |
Whether to move an |

`add_values_attr` |
Whether to include "values" attribute? Internally used. |

The value is the mean heaviness of the package on all its downstream packages. Denote `n`

as the number of all its downstream packages,
`k_i`

as the number of required packages for package i (i.e. total packages loaded when only loading packages in `Depends`

, `Imports`

and `LinkingTo`

),
`v_1`

is the sum of required packages: `v_1 = sum_i^n{k_i}`

. Denote `p_i`

as the number of required packages if moving `package`

to `Suggests`

s,
and `v_2`

as the sum of required packages: `v_1 = sum_i^n{p_i}`

. The final heaviniss on downstream packages is `(v_1 - v_2)/n`

.

1 2 3 4 | ```
## Not run:
heaviness_on_downstream("ComplexHeatmap")
## End(Not run)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.