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 probably very similar to the one signalling the CRAN build error: 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 -- Adrian Dusa University of Bucharest Romanian Social Data Archive Soseaua Panduri nr. 90-92 050663 Bucharest sector 5 Romania https://adriandusa.eu [[alternative HTML version deleted]] ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel