[Rd] Specifying a long string literal across several lines

2025-05-27 Thread Pavel Krivitsky via R-devel
Dear All, Perhaps this should go in r-package-devel, but I suspect that this is going to turn into a feature request, and I want to run it by the list before filing it in the Bugzilla. I would like to specify a long string literal without making the line of code too long. In R, "abc def" yields

Re: [Rd] sqrt(.Machine$double.xmax)^2 == Inf, but only on Windows in R

2025-05-27 Thread Pavel Krivitsky via R-devel
Dear All, Thanks for looking into it, and apologies for bumping this. I think the strangest thing for me is that the C and the R implementations on Windows yield different results. I don't know if it warrants a deeper look. Ultimately, I rewrote the code that relied on this behaviour. (I needed

Re: [Rd] FR: improve "use" function

2025-05-27 Thread Laurent Gatto via R-devel
On Tuesday, May 27th, 2025 at 9:13 AM, Kurt Hornik wrote: > > > > > > Trevor Davis writes: > > > Thanks. > > This is really about what > > library("foo", include.only = "fun2") > > should do if package 'foo' was already attached and the include.only > contradicts a previous specification. >

Re: [Rd] FR: improve "use" function

2025-05-27 Thread Kurt Hornik
> Trevor Davis writes: Thanks. This is really about what library("foo", include.only = "fun2") should do if package 'foo' was already attached and the include.only contradicts a previous specification. In principle, one could look into allowing the underlying attachNamespace() to add mor

Re: [Rd] Bug in prettyNum

2025-05-27 Thread Toby Hocking
Thanks for the contribution Mikko! For testing future patches, you can actually do it right in the web browser, thanks to Heather Turner's R Dev Container, see instructions here https://contributor.r-project.org/r-dev-env/container_setup/ Best Toby On Mon, May 26, 2025 at 6:28 PM Martin Maechler