reposToolsLibPaths {reposTools}R Documentation

A function to handle temporary libPaths

Description

The reposTools package needs to maintain state information about packages that are installed, and normally does this by writing to a file 'liblisting.rda' in each library directory. At times, a library directory is not writeable so reposTools stores this state in another directory. This function keeps track of those directories and will join them with the normal .libPaths.

Usage

reposToolsLibPaths(baseLib = .libPaths(), tmpLibPath = file.path(tempdir(), "tempLibs"))

Arguments

baseLib The base set of library directories
tmpLibPath The temporary directory used to maintain state

Value

A vector of library directories

Author(s)

Jeff Gentry

Examples

  z <- reposToolsLibPaths()

[Package reposTools version 1.8.0 Index]