[R-pkg-devel] Conversion failure in 'mbcsToSbcs'

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Wed Feb 21 13:44:58 CET 2024


В Wed, 21 Feb 2024 12:29:02 +0000
Package Maintainer <ggenealogypackage using gmail.com> пишет:

> Error: processing vignette 'ggenealogy.Rnw' failed with diagnostics:
>  chunk 58 (label = plotCBText)

In order to use the non-standard graphics device, the chunk must
set the option fig=TRUE. Otherwise, when something calls
graphics::strwidth('Lubomír Kubáček', "inches"), R notices that no
graphics device is active and creates a default one, which happens to
be pdf() and has all these problems. With fig=TRUE, Sweave will
initialise the cairo_pdf() device first, and then graphics::strwidth()
will use the existing device, avoiding the error.

-- 
Best regards,
Ivan



More information about the R-package-devel mailing list