[R-pkg-team] Bug#996431: r-cran-cairo: Unable to open device: Graphics API version mismatch

Rob Moss robm.dev at gmail.com
Thu Oct 21 07:23:37 BST 2021


Hi Nilesh,

The new version works perfectly. Thank you very much!

All the best,
Rob

On Tue, 19 Oct 2021 at 18:26, Nilesh Patra <nilesh at nileshpatra.info> wrote:
>
> Hi Rob,
>
> On Thu, 14 Oct 2021 11:07:05 +1100 Rob Moss <robm.dev at gmail.com> wrote> But when the script called the CairoPDF() function, the script terminated with the following error message:
> >
> > [...]
> >
> > I managed to run the script successfully by building and installing the package from within R using the following command:
> > So I suspect the r-cran-cairo package needs to be recompiled against the current libcairo2 package.
>
> Actually, the graphics API change is due to R-base package v4.1.1-2 (as seen in your system info as well), they changed the graphics API, and the package needs to rebuild against new R.
> I just uploaded a new changelog revision (1.5-12.2-2) for cairo so it rebuild with the right set of deps.
>
> It will be in testing in the next couple of days, it'd be great if you could test the new one, then.
>
> Thanks for reporting,
> Nilesh
>
> > -- System Information:
> > Debian Release: bookworm/sid
> >   APT prefers testing
> >   APT policy: (900, 'testing')
> > ii  r-base-core [r-api-4.0]  4.1.1-2
>



More information about the R-pkg-team mailing list