Skip to contents

installCellar() install files already saved in a cellar

Usage

installCellar(path, project, library, lockfile)

Arguments

path

Character string giving the cellar path. This must be supplied explicitly.

project

Character string giving the project path. If omitted, defaults to usethis::proj_get().

library

Character string giving the library path. This must be supplied explicitly.

lockfile

Character string giving the lockfile path. If omitted, defaults to renv.lock at the project base level provided by usethis::proj_get().

Value

Invisible

Examples


if (FALSE) { # \dontrun{
# It will install all packages in the cellar
installCellar(
  path = file.path(tempdir(), "cellar"),
  library = file.path(tempdir(), "library")
)
} # }