reinstallr {reinstallr}R Documentation

reinstallr

Description

reinstallr

Usage

reinstallr(path = NULL, pattern = NULL, ...)

Arguments

path

Directory which is scanned recursively. Default is the working directory.

pattern

Regex to identify R source files. Default is .*\.(R|r|Rnw|Rhtml|Rpres|Rmd)$

...

Parameters passed to install.packages()

Details

reinstallr() scans all R source files in the path specified by the path parameter and matching the pattern regex. reinstallr looks for library(package), require(package) and package::function


[Package reinstallr version 0.1.5 Index]