Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 696808 - [R_Overlay] R_SUGGESTS variable should expand in USE flags
Summary: [R_Overlay] R_SUGGESTS variable should expand in USE flags
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Benda Xu
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-05 20:57 UTC by Alessandro Barbieri
Modified: 2020-03-03 20:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2019-10-05 20:57:15 UTC
I set
R_SUGGESTS="magrittr pillar rmarkdown crayon lubridate withr knitr mass"
in make.conf but when updating it doesn't get translated in the corresponding useflags, for example:

[ebuild   R    ] sci-CRAN/googlesheets-0.3.0::R_Overlay  USE="byte-compile* -r_suggests_covr -r_suggests_ggplot2 -r_suggests_knitr -r_suggests_rmarkdown -r_suggests_rprojroot -r_suggests_testthat" 0 KiB

I think it should get displayed as

[ebuild   R    ] sci-CRAN/googlesheets-0.3.0::R_Overlay  USE="byte-compile*" R_SUGGESTS="knitr* rmarkdown* -covr -ggplot2  -rprojroot -testthat" 0 KiB
Comment 1 Benda Xu gentoo-dev 2020-02-22 02:29:57 UTC
(In reply to Alessandro Barbieri from comment #0)
> I set
> R_SUGGESTS="magrittr pillar rmarkdown crayon lubridate withr knitr mass"
> in make.conf but when updating it doesn't get translated in the
> corresponding useflags, for example:
> 
> [ebuild   R    ] sci-CRAN/googlesheets-0.3.0::R_Overlay  USE="byte-compile*
> -r_suggests_covr -r_suggests_ggplot2 -r_suggests_knitr -r_suggests_rmarkdown
> -r_suggests_rprojroot -r_suggests_testthat" 0 KiB
> 
> I think it should get displayed as
> 
> [ebuild   R    ] sci-CRAN/googlesheets-0.3.0::R_Overlay  USE="byte-compile*"
> R_SUGGESTS="knitr* rmarkdown* -covr -ggplot2  -rprojroot -testthat" 0 KiB

Alessandro, you can set plain USE="r_suggests_magrittr r_suggests_pillar r_suggests_rmarkdown r_suggests_crayon r_suggests_lubridate r_suggests_withr r_suggests_knitr r_suggests_mass".

I don't think we have design USE expand for R_Overlay in the first place.