[R-pkg-devel] Conversion failure in 'mbcsToSbcs'
Dear Ivan and all: Thank you for this helpful advice. I have received confirmation that the package is now on its way to CRAN. Many thanks again. LAR
On Wed, Feb 21, 2024 at 12:45?PM Ivan Krylov <krylov.r00t at gmail.com> wrote:
? Wed, 21 Feb 2024 12:29:02 +0000 Package Maintainer <ggenealogypackage at 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