Skip to content

Commit

Permalink
Don't install LinkingTo dependencies (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
georgestagg authored Aug 2, 2024
1 parent 777a32b commit bb5ab52
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/webr/R/install.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ install <- function(packages,
}

# Avoid `recursive` here so that deps of broken packages are not downloaded
deps <- unlist(tools::package_dependencies(packages, info), use.names = FALSE)
deps <- unlist(
tools::package_dependencies(packages, info, c("Depends", "Imports")),
use.names = FALSE
)
deps <- unique(deps)

# Search for existing packages in `.libPaths()` and the `lib` argument
Expand Down

0 comments on commit bb5ab52

Please sign in to comment.