You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
moveInstalledPackageToCache copies a package from its initial install location to its final position in the packrat cache. This copy is performed to the actual destination. This means that we may leave a partial, but not obviously incomplete directory should that copy err for some reason or get interrupted.
if (all(dir_copy(packagePath, cachedPackagePath))) {
We should first copy to a temporary location (inside the same directory) and then perform a rename operation. Using the same parent directory ensures that we are on the same mounted device and the rename ensures that we will not accidentally see the package as already installed.
The text was updated successfully, but these errors were encountered:
moveInstalledPackageToCache
copies a package from its initial install location to its final position in the packrat cache. This copy is performed to the actual destination. This means that we may leave a partial, but not obviously incomplete directory should that copy err for some reason or get interrupted.packrat/R/cache.R
Line 139 in 5085b60
We should first copy to a temporary location (inside the same directory) and then perform a rename operation. Using the same parent directory ensures that we are on the same mounted device and the rename ensures that we will not accidentally see the package as already installed.
The text was updated successfully, but these errors were encountered: