[
https://issues.apache.org/jira/browse/ARROW-15299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17494015#comment-17494015
]
Dragoș Moldovan-Grünfeld commented on ARROW-15299:
--------------------------------------------------
The results of this investigation have now been
[upstreamed|https://github.com/r-lib/remotes/issues/642#issuecomment-1043035544]
to {{remotes}}.
> [R] investigate {remotes} dependencies "soft" vs TRUE
> ------------------------------------------------------
>
> Key: ARROW-15299
> URL: https://issues.apache.org/jira/browse/ARROW-15299
> Project: Apache Arrow
> Issue Type: Improvement
> Components: R
> Reporter: Dragoș Moldovan-Grünfeld
> Assignee: Dragoș Moldovan-Grünfeld
> Priority: Major
> Fix For: 8.0.0
>
>
> Although the {{remotes::install_deps()}} docs state {{dependencies == TRUE}}
> is equivalent to {{{}dependencies == "soft"{}}}, I suspect {{"soft"}} is a
> bit more recursive than {{{}TRUE{}}}, resulting in the installation of many
> more packages.
> {quote}TRUE is shorthand for "Depends", "Imports", "LinkingTo" and
> "Suggests". NA is shorthand for "Depends", "Imports" and "LinkingTo" and is
> the default. FALSE is shorthand for no dependencies (i.e. just check this
> package, not its dependencies).
> The value "soft" means the same as TRUE, "hard" means the same as NA.
> {quote}
> I noticed, when using {{dependencies = "soft"}} that my session was being
> clogged up by package installations lasting well over 40 minutes.
> I would be good to time box this to a couple of hours.
> The direction in which I would go would be to understand if there is any
> difference in the size of the dependency trees + come up with a minimal
> reproducible example.
> Edit (12 January, 2021): the output could be a table comparing
> {code:r}
> remotes::install_deps(dependencies = TRUE)
> remotes::install_deps(dependencies = "hard")
> remotes::install_deps(dependencies = c("hard", "Config..."))
> remotes::install_deps(dependencies = "soft")
> remotes::install_deps(dependencies = c("soft", "Config..."))
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)