[Rd] .onLoad, packageStartupMessage, and R CMD check

2021-11-04 Thread Michael Chirico via R-devel
I wrote a linter to stop users from using packageStartupMessage() in their .onLoad() hook because of the R CMD check warning it triggers: https://github.com/wch/r-source/blob/8b6625e39cd62424dc23399dade37f20fa8afa91/src/library/tools/R/QC.R#L5167 However, this received some pushback which I

Re: [Rd] .onLoad, packageStartupMessage, and R CMD check

2021-11-04 Thread Duncan Murdoch
On 04/11/2021 2:50 p.m., Michael Chirico via R-devel wrote: I wrote a linter to stop users from using packageStartupMessage() in their .onLoad() hook because of the R CMD check warning it triggers:

Re: [Rd] .onLoad, packageStartupMessage, and R CMD check

2021-11-04 Thread Gabriel Becker
Hi Michael, Indeed, just to elaborate further on what I believe Duncan's point is, can you give any examples, "dire" or not, that are appropriate when the package is loaded but not attached (ie none of its symbols are visible to the user without using :::)? The only things I can think of are a

[Rd] GC: speeding-up the CHARSXP cache maintenance, 2nd try

2021-11-04 Thread Andreas Kersting
Hi, In https://stat.ethz.ch/pipermail/r-devel/2021-October/081147.html I proposed to speed up the CHARSXP cache maintenance during GC using threading. This was rejected by Luke in https://stat.ethz.ch/pipermail/r-devel/2021-October/081172.html. Here I want to propose an alternative approach

Re: [Rd] [External] GC: speeding-up the CHARSXP cache maintenance, 2nd try

2021-11-04 Thread luke-tierney
Can you please submit this as a wishlist item to bugzilla? it is easier to keep track of there. You could also submit your threads based suggestion there, again to keep it easier to keep track of and possibly get back to in the future. I will have a look at your approach when I get a chance, but

Re: [Rd] Fwd: Using existing envars in Renviron on friendly Windows

2021-11-04 Thread Tomas Kalibera
Thanks for the suggestions, I've updated the documentation. Tomas On 11/3/21 11:30 AM, Tomas Kalibera wrote: On 11/3/21 1:37 AM, Henrik Bengtsson wrote: Oh, I see, I misunderstood.  Thanks for clarifying. One more thing, to mix-and-match environment variables and strings with escaped

Re: [Bioc-devel] SSL certificate error on nebbiolo2

2021-11-04 Thread Mike Smith
Hi Nico, Please try changing your calls to useMart() to useEnsembl(). That function has some checking that should detect this problem (it's real for all Ubuntu 20.04 users, plus various other Linux distros) and will try to apply the appropriate fix in the background. There's some further

Re: [Bioc-devel] SSL certificate error on nebbiolo2

2021-11-04 Thread Hervé Pagès
Hi Nico, This looks like the usual flakiness of the Ensembl Mart service. I see these errors on the build report every day for various packages. The exact set of packages varies. I can reproduce on my laptop (Ubuntu 21.04): > library(biomaRt) > ensembl <- useMart(biomart = "ensembl",