cran_install: install package from CRAN with typo suggestions

Description Usage Arguments Value Examples

Description

Attempts to install a package from CRAN, and suggests alternatives if it not available

Usage

1
cran_install(package, max_distance = 3, ...)

Arguments

package

Name of the package to install

max_distance

maximum distance. See stringdist

...

Passed to install.packages

Value

nothing

Examples

1
2
3
4
5
## Not run: 
  cran_install( "dlpyr" )
  cran_install( "google" )

## End(Not run)

romainfrancois/typo documentation built on May 27, 2019, 1:49 p.m.