Rstudio IDE gives "signal 10" warning; regular R terminal does not

Simple reproducible example (assuming you have RubbishDown.pdf in current directory):

browseURL("RubbishDown.pdf")
Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal

I suspect the Rstudio IDE needs to use Webkit and browseURL() also calls this, in my case for xreader to open the PDF file. I'm using Linux Mint 22 Wilma. This doesn't seem to cause trouble (yet), but search on the topic suggests that it may upset garbage collection.

JN

Confirmed here (also Wilma). Note that if you use browseURL("RubbishDown.pdf", browser = "xdg-open") the warning goes away.

Thanks. That does work but NOT if I use the tilde shortcut for the home directory. Still, now I have a work-around. Much appreciated.