[Rd] substitute

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Mon Nov 15 19:06:23 CET 2021


I'd recommend responding now with a pointer to that bug report: whoever 
at CRAN is dealing with your package doesn't necessarily know about the 
bug report.  You might or might not need to make a change in the end, 
but if you do, it could be hard to meet the two week deadline.

Duncan Murdoch

On 15/11/2021 12:58 p.m., Adrian Dușa wrote:
> Thank you, I was given a deadline of two weeks to respond, hopefully 
> this will be settled by then.
> Best wishes,
> Adrian
> 
> On Mon, 15 Nov 2021 at 19:28, Duncan Murdoch <murdoch.duncan using gmail.com 
> <mailto:murdoch.duncan using gmail.com>> wrote:
> 
>     This looks as though it is related to the recent patch in
> 
>     https://bugs.r-project.org/show_bug.cgi?id=18232
>     <https://bugs.r-project.org/show_bug.cgi?id=18232>
> 
>     I think you should probably wait until that settles down before
>     worrying
>     about it.
> 
>     Duncan Murdoch
> 
>     On 15/11/2021 12:18 p.m., Adrian Dușa wrote:
>      > Dear R wizards,
>      >
>      > I have recently been informed about some build errors of my
>     package QCA,
>      > which I was able to trace down to the base function substitute(),
>     with the
>      > following replication example:
>      >
>      > foo <- function(x) return(substitute(x))
>      >
>      > In the stable R version 4.0.5, I get the expected result:
>      >> foo(A + ~B + C~D)
>      > A + ~B + C ~ D
>      >
>      > A different result (the culprit for the build error) occurs under
>     Fedora
>      > with R devel:
>      >
>      >> foo(A + ~B + C~D)
>      > A + (~B + C) ~ D
>      >
>      > The Fedora machine is the rhub docker image from:
>      > https://hub.docker.com/r/rhub/fedora-gcc-devel
>     <https://hub.docker.com/r/rhub/fedora-gcc-devel>
>      >
>      > probably very similar to the one signalling the CRAN build error:
>      > https://cran.r-project.org/web/checks/check_results_QCA.html
>     <https://cran.r-project.org/web/checks/check_results_QCA.html>
>      >
>      > The first (expected) command is from the stable R version
>     installed on the
>      > same Fedora machine, and I get an identical result on Windows and
>     MacOS.
>      >
>      > For some reason, substitute() gives a different result on Debian
>     using gcc,
>      > and on both Fedora systems. I would be grateful for any hint, I
>     am not
>      > entirely certain what I should do about this.
>      >
>      > Thank you very much in advance,
>      > Adrian
>      >
> 
>     ______________________________________________
>     R-devel using r-project.org <mailto:R-devel using r-project.org> mailing list
>     https://stat.ethz.ch/mailman/listinfo/r-devel
>     <https://stat.ethz.ch/mailman/listinfo/r-devel>
> 
> 
> 
> -- 
> Adrian Dusa
> University of Bucharest
> Romanian Social Data Archive
> Soseaua Panduri nr. 90-92
> 050663 Bucharest sector 5
> Romania
> https://adriandusa.eu <https://adriandusa.eu>



More information about the R-devel mailing list