Delete 00LOCK Directory

Usage

p_unlock(lib.loc = p_path())

Arguments

lib.loc
Path to library location.

Delete 00LOCK Directory

Delete 00LOCK Directory

Value

Attempts to delete a 00LOCK(s) if it exists. Returns logical TRUE if a 00LOCK existed and FALSE if not.

Description

Deletes the 00LOCK directory accidentally left behind by a fail in install.packages.

Details

Sometimes install.packages can "fail so badly that the lock directory is not removed: this inhibits any further installs to the library directory (or for --pkglock, of the package) until the lock directory is removed manually." p_unlock deletes the directory 00LOCK that is left behind.

Examples

## <strong>Not run</strong>: # p_unlock() # ## <strong>End(Not run)</strong>

See also

install.packages