I tried this and it didn't work. Thanks anyway.

Terry

----- Ravi Varden wrote:

I think the problem is with the argument name. You need to explicitly name it 
since the first argument is not named "options" in the R devel:

pid <- tools:::start_virtual_X11_fb(options = xvfb_options)

Ravi

Sent with [Proton Mail](https://proton.me/mail/home) secure email.

On Saturday, September 5th, 2026 at 11:26 AM, Ravi Varadhan 
<[email protected]> wrote:

> Terry,
>
> I think the problem is with the argument name. You need to explicitly name it 
> since the first argument is not named "options" in the R devel:
>
> pid <- tools:::start_virtual_X11_fb(options = xvfb_options)
>
> Ravi
> ---------------------------------------------------------------
>
> From: R-devel <[email protected]> on behalf of Terry Therneau via 
> R-devel <[email protected]>
> Sent: Saturday, September 5, 2026 08:43
> To: [email protected] <[email protected]>
> Subject: [Rd] png errors
>
> External Email - Use Caution
>
> I run the test suites of most of the CRAN packages before submitting survival 
> with a script that looks a bit like tools:test_packages_in_dir. The big 
> difference is that I have a list of things to skip (Bioconductor, things that 
> use a GPU, ...) which don't work well on my home box. I tends to remove 1 or 
> 2 cycles of submission wrt reverse dependency errors.
>
> In the most recent R-devel versions this approach fails for any package that 
> uses PNG, bamlss for example. But if I run R CMD check bamlss*gz from the 
> command line all is fine.
> I took the following lines from test_packages_in_dir long ago, which stopped 
> things from flashing on my screen, but that appears to no longer be enough. 
> Anyone have any hints?
>
> Terry
>
> xvfb_options <- "-screen 0 1280x1024x24"
> pid <- tools:::start_virtual_X11_fb(xvfb_options)
> on.exit(tools:::close_virtual_X11_db(pid), add = TRUE)
> [[alternative HTML version deleted]]
>
> ______________________________________________
> [email protected] mailing list
> [https://stat.ethz.ch/mailman/listinfo/r-devel](https://stat.ethz.ch/mailman/listinfo/r-devel)
        [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to