| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/rehash.R |
| 3 |
\name{rehash} |
| 4 |
\alias{rehash} |
| 5 |
\title{Re-hash packages in the renv cache} |
| 6 |
\usage{ |
| 7 |
rehash(prompt = interactive(), ...) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{prompt}{Boolean; prompt the user before taking any action? For backwards |
| 11 |
compatibility, \code{confirm} is accepted as an alias for \code{prompt}.} |
| 12 |
|
| 13 |
\item{...}{Unused arguments, reserved for future expansion. If any arguments |
| 14 |
are matched to \code{...}, renv will signal an error.} |
| 15 |
} |
| 16 |
\description{ |
| 17 |
Re-hash packages in the renv cache, ensuring that any previously-cached |
| 18 |
packages are copied to a new cache location appropriate for this version of |
| 19 |
renv. This can be useful if the cache scheme has changed in a new version |
| 20 |
of renv, but you'd like to preserve your previously-cached packages. |
| 21 |
} |
| 22 |
\details{ |
| 23 |
Any packages which are re-hashed will retain links to the location of the |
| 24 |
newly-hashed package, ensuring that prior installations of renv can still |
| 25 |
function as expected. |
| 26 |
} |