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
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:
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
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
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
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
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
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",