Skip to content

Commit

Permalink
remove erroneous cache use attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinushey committed May 28, 2024
1 parent c338dc9 commit 4235274
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions R/pak.R
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,6 @@ renv_pak_restore <- function(lockfile,
packages <- setdiff(packages %||% names(records), c(exclude, "pak", "renv"))
records <- records[packages]

# attempt to link packages that have cache entries
if (renv_cache_config_enabled(project = project)) {
linked <- map_lgl(records, renv_cache_synchronize)
records <- records[!linked]
}

# convert into specs compatible with pak, and install
remotes <- map_chr(records, renv_record_format_remote, pak = TRUE)

Expand Down

0 comments on commit 4235274

Please sign in to comment.