recommend_me: Rank available packages to be installed

Description Usage Arguments Value Examples

View source: R/recommend_me.R

Description

This function provides you with recommendations of new packages to install.

Usage

1
2
3
4
recommend_me(relationship = "suggests",
  my_packs = rownames(utils::installed.packages()),
  kind.of = "to_packages", apply.degree.filter = F, niter = 50,
  nMax = NULL)

Arguments

relationship

The kind of relationship you use to recommend. It can be 'suggests','imports','enhances' or 'depends'.

my_packs

The packages that you are interested to use as reference. Default is your installed packages

kind.of

The direction of the relations. If you want packages recommending my_packs, it should be "to_packages", and if you want packages recommended by my_packs, it should be "from_packages". It can also be "all".

apply.degree.filter

If TRUE, the score of each package is multiplied by the fraction of its edges that conect to my_packs.

niter

The number of interations done to calculate the score.

nMax

The max number of elements to be retrieved. Default is the full list.

Value

A list with packages and scores for each one.

Examples

1
2
3
4
5
## Not run: 
pack_list = recommend_me()
install.packages(names(pack_list)[1])

## End(Not run)

arielolafsalgado/packexplorer documentation built on Aug. 22, 2021, 8:55 a.m.