[
https://issues.apache.org/jira/browse/ARROW-12743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17489480#comment-17489480
]
Dragoș Moldovan-Grünfeld commented on ARROW-12743:
--------------------------------------------------
I am copying (from ARROW-15299) the results of my little investigation.
=======================
What we would need is a combination between {{dependencies = TRUE}} and
{{{}dependencies = "Config/Needs/website"{}}}.
I ran the experiment and the results are below:
||test||description||total_pkgs_installed||
|1|dependencies = TRUE|64|
|2|dependencies = 'hard'|12|
|3|dependencies = c('hard', 'Config/Needs/website')|61|
|4|dependencies = 'soft'|1819|
|5|dependencies = c('soft', 'Config/Needs/website')|1819|
|6|dependencies = c('Config/Needs/website')|1|
I excluded {{dependencies = 'soft'}} & combinations of {{'soft'}} since that is
too recursive and ends up installing an excessive number of packages.
{{dependencies = 'hard'}} & {{dependencies = 'Config/Needs/website'}} are too
narrow.
I compared {{dependencies = TRUE}} to {{{}dependencies = c('hard',
'Config/Needs/website'){}}}. While the overall number of installed packages
looks promising (64 vs 61), there isn't complete overlap.
> [R] Add additional DESCRIPTION fields for dev dependencies and update docs
> accordingly
> --------------------------------------------------------------------------------------
>
> Key: ARROW-12743
> URL: https://issues.apache.org/jira/browse/ARROW-12743
> Project: Apache Arrow
> Issue Type: Improvement
> Components: R
> Reporter: Nicola Crane
> Assignee: Dragoș Moldovan-Grünfeld
> Priority: Major
> Labels: pull-request-available
> Fix For: 8.0.0
>
> Time Spent: 5h
> Remaining Estimate: 0h
>
> Edit: Blocked by [a bug in
> \{remotes}|https://github.com/r-lib/remotes/issues/642] which results in
> second order dependencies of packages listed in {{Config/Needs?...}} not
> being installed.
> ====================
> Recent updates to the remotes package mean that additional fields can be
> added to a package's DESCRIPTION and remotes functions can take the field as
> a parameter and install these additional dependencies:
> https://github.com/r-lib/remotes/blob/master/NEWS.md#new-functions-and-features
> We could update DESCRIPTION to use these fields and update the docs to use
> this functionality of remotes instead of having separate references to
> packages to install.
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)