Skip to content

Commit

Permalink
pak check fixup (#2043)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinushey committed Nov 22, 2024
1 parent bf27fd9 commit 4dd39fd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions R/pak.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ the$pak_minver <- numeric_version("0.7.0")

renv_pak_init <- function(stream = NULL, force = FALSE) {

stream <- stream %||% renv_pak_stream()
if (force || !renv_pak_available())
if (force || !renv_pak_available()) {
stream <- stream %||% renv_pak_stream()
renv_pak_init_impl(stream)
}

renv_namespace_load("pak")

Expand Down

0 comments on commit 4dd39fd

Please sign in to comment.