Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vdiffr has graphics API version mismatch with current R #42

Closed
jranke opened this issue Aug 29, 2023 · 4 comments
Closed

vdiffr has graphics API version mismatch with current R #42

jranke opened this issue Aug 29, 2023 · 4 comments

Comments

@jranke
Copy link

jranke commented Aug 29, 2023

Not sure if I analysed the situation correctly, but it seems that r-cran-vdiffr in r2u for jammy needs a rebuild, as it fails to work with R 4.3.1:

https://app.travis-ci.com/github/jranke/mkin/builds/265560310

You can see that R 4.3.1-4 is installed on line 695:

https://app.travis-ci.com/github/jranke/mkin/builds/265560310#L695

and the following lines illustrate (I think) that vdiffr comes from r2u:

https://app.travis-ci.com/github/jranke/mkin/builds/265560310#L1711
https://app.travis-ci.com/github/jranke/mkin/builds/265560310#L1793

I am a bit confused, because in the log, the package is retrieved after it has been set up. Presumably just a matter of output buffering.

Am I correct to assume that a rebuild of vdiffr in r2u would fix this?

Thankful for all of these amazing tools, as always,

Johannes

@eddelbuettel
Copy link
Owner

Flim! I caught a good handful of these when R 4.3.1 came out and caused 'Graphics API version mismatch' for binaries produced under R 4.2.*. I will make sure I rebuild vdiffr too in today's update. I mentioned to Kurt that the communication from R Core about these graphics API changes (for three R releases in a row) is not ideal. Oh well.

Thanks for the heads-up, will fix later today.

@eddelbuettel
Copy link
Owner

"Well actually" that package was just rebuilt yesterday (and it hence a fresh bug). Strange. Anyway, I will force a rebuild.

@eddelbuettel
Copy link
Owner

We should be good now:

[....]
Setting up r-cran-vdiffr (1.0.6-1.ca2204.2) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
root@[...]:/# R

R version 4.3.1 (2023-06-16) -- "Beagle Scouts"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> vdiffr:::svglite("/tmp/foo")
> 

@jranke
Copy link
Author

jranke commented Aug 30, 2023

Thanks a lot for your quick action, much appreciated - I confirm it works on Travis, too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants