You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Dragoș Moldovan-Grünfeld (Jira)" <ji...@apache.org> on 2022/01/12 14:26:00 UTC

[jira] [Commented] (ARROW-15299) [R] investigate {remotes} dependencies "soft" vs TRUE

    [ https://issues.apache.org/jira/browse/ARROW-15299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17474574#comment-17474574 ] 

Dragoș Moldovan-Grünfeld commented on ARROW-15299:
--------------------------------------------------

Possible directions:
* alter `.libPaths()` to start from a clean slate
* use Docker

> [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
>            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)