Re: [R-pkg-devel] Export everything whose name does not start with ".".

2024-03-15 Thread Rolf Turner
On Sat, 16 Mar 2024 11:39:28 +1100 Hugh Parsonage wrote: > It would have been helpful for that person to specify their candidate > regex, rather than just saying it could be simpler. Actually they *did* specify; the problem was that my ageing senile memory could not recall the specification.

Re: [R-pkg-devel] Export everything whose name does not start with ".".

2024-03-15 Thread Hugh Parsonage
It would have been helpful for that person to specify their candidate regex, rather than just saying it could be simpler. That out of the way, I believe exportPattern("^[^.]") would be sufficient since the square brackets remove any special meaning the dot has. For an alternative, given the

[R-pkg-devel] Export everything whose name does not start with ".".

2024-03-15 Thread Rolf Turner
There was fairly recently a discussion on this list of a problem whose solution involved having code in NAMESPACE which exported everything whose name did not start with ".". In the course of this discussion it was remarked that the code given in "Writing R Extensions", explicitly

Re: [Bioc-devel] EXTERNAL: "invalid connection" when building vignette - Windows only

2024-03-15 Thread Ramos Perez, Marcel via Bioc-devel
Hi Matteo, I was also able to reproduce on Bioc 3.18 on Windows with a traceback (see below). It may be that there are symbol clashes between parallel runs in the `foreach:::.foreachGlobals` environment as described in https://stackoverflow.com/a/67497500 Clearing the symbols in that

Re: [Rd] Spurious warning in as.data.frame.factor()

2024-03-15 Thread Martin Maechler
> Martin Maechler > on Fri, 15 Mar 2024 11:24:22 +0100 writes: > Ivan Krylov > on Thu, 14 Mar 2024 14:17:38 +0300 writes: >> On Thu, 14 Mar 2024 10:41:54 +0100 >> Martin Maechler wrote: >>> Anybody trying S7 examples and see if they work w/o producing

Re: [Rd] RSS Feed of NEWS needs a hand

2024-03-15 Thread Duncan Murdoch
Usually the duplication happens because there's a small change between the entries, e.g. a spelling correction. Other times it's not duplication, but a substantive change to the NEWS entry, so those really should be duplicated. I can't spot a change in the example you gave, so it's probably

Re: [Rd] RSS Feed of NEWS needs a hand

2024-03-15 Thread Lluís Revilla
Hi! Thanks for this service! It is very helpful to know what is being developed. I distribute the content to other venues and I noticed some times that the updates are duplicated. For example, the sentence "‘is.R()’ is deprecated as no other S dialect is known to be in use (and this could only

[Rd] RSS Feed of NEWS needs a hand

2024-03-15 Thread Dirk Eddelbuettel
Years ago Duncan set up a nightly job to feed RSS based off changes to NEWS, borrowing some setup parts from CRANberries as for example the RSS 'compiler'. That job is currently showing the new \I{...} curly protection in an unfavourable light. Copying from the RSS reader I had pointed at this

Re: [R-pkg-devel] Removing import(methods) stops exporting S4 "meta name"

2024-03-15 Thread Ivan Krylov via R-package-devel
On Thu, 14 Mar 2024 16:06:50 -0400 Duncan Murdoch wrote: > Error in xj[i] : invalid subscript type 'list' > Calls: join_inner -> data.frame -> [ -> [.data.table -> [.data.frame > Execution halted And here's how it happens: join_inner calls xi[yi,on=by,nomatch=0] on data.tables xi and yi.

Re: [Rd] Spurious warning in as.data.frame.factor()

2024-03-15 Thread Martin Maechler
> Ivan Krylov > on Thu, 14 Mar 2024 14:17:38 +0300 writes: > On Thu, 14 Mar 2024 10:41:54 +0100 > Martin Maechler wrote: >> Anybody trying S7 examples and see if they work w/o producing >> wrong warnings? > It looks like this is not applicable to S7. If I

[Bioc-devel] "invalid connection" when building vignette - Windows only

2024-03-15 Thread Matteo Tiberti via Bioc-devel
Dear developers, we've been getting a build fail for our Moonlight2R package on Windows only, during vignette build in CHECK, which just prints out an "invalid connection" error: Quitting from lines 727-746 [unnamed-chunk-20] (Moonlight2R.Rmd) Error: processing vignette 'Moonlight2R.Rmd'