Skip to content

Commit 8be345c

Browse files
committed
Pass the current lib paths
1 parent a3447b9 commit 8be345c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

R/install.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ install <- function(
8787
withCallingHandlers(
8888
pak::local_install_deps(
8989
pkg$path,
90+
lib = .libPaths(),
9091
upgrade = upgrade,
9192
dependencies = dependencies || isTRUE(build_vignettes)
9293
),
@@ -96,6 +97,7 @@ install <- function(
9697
cli::cat_rule("pak::local_install_deps()", col = "cyan")
9798
pak::local_install_deps(
9899
pkg$path,
100+
lib = .libPaths(),
99101
upgrade = upgrade,
100102
dependencies = dependencies || isTRUE(build_vignettes)
101103
)

0 commit comments

Comments
 (0)