From 806ff773d0aa7b8d2bdfd0eab80dc4f6006168fa Mon Sep 17 00:00:00 2001 From: olivroy Date: Wed, 24 Jan 2024 13:19:57 -0500 Subject: [PATCH] Change `pak::pkg_deps()` for `pak::local_deps()`. --- R/package-deps.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/package-deps.R b/R/package-deps.R index 71674777..d5e51b79 100644 --- a/R/package-deps.R +++ b/R/package-deps.R @@ -76,7 +76,7 @@ deps_check_installed <- function(path, deps, call = caller_env()) { # method does not support Remotes fields. action <- function(pkg, ...) { if (is_installed("pak")) { - deps <- pak::pkg_deps(path, upgrade = FALSE) + deps <- pak::local_deps(path, upgrade = FALSE) deps <- deps[deps$package %in% pkg, ] pak::pkg_install(deps$ref, ask = FALSE) } else if (is_installed("remotes")) {