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

2024-02-21 Thread Package Maintainer
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 wrote: > > В Wed, 21 Feb 2024 12:29:02 + > Package Maintainer пишет: > > > Error: processing v

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

2024-02-21 Thread Ivan Krylov
В Wed, 21 Feb 2024 12:29:02 + Package Maintainer пишет: > 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::

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

2024-02-21 Thread Package Maintainer
Hello: Thank you again for your help. I resubmitted the package (after it passed R CMD check) and it seems there is still an ERROR on the windows builder as shown here: https://win-builder.r-project.org/incoming_pretest/ggenealogy_1.0.3_20240221_121754/Debian/00check.log Error: processing vignet

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

2024-02-19 Thread Package Maintainer
Dear Duncan: Thank you for the feedback about that. I have removed the unrecognized file and resubmitted the package. Thanks again. Kind regards, LAR On Mon, Feb 19, 2024 at 2:20 PM Duncan Murdoch wrote: > > Removing (or moving to inst) the unrecognized file should be sufficient. > > Duncan Mu

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

2024-02-19 Thread Duncan Murdoch
Removing (or moving to inst) the unrecognized file should be sufficient. Duncan Murdoch On 19/02/2024 7:27 a.m., Package Maintainer wrote: Hello all: Thank you both for your advice. I attempted to upload the latest version to CRAN, and again received the notification that the package did not

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

2024-02-19 Thread Package Maintainer
Hello all: Thank you both for your advice. I attempted to upload the latest version to CRAN, and again received the notification that the package did not pass. It seems there are no warnings or errors (only 2 notes) on windows (https://win-builder.r-project.org/incoming_pretest/ggenealogy_1.0.3_

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

2024-02-17 Thread Duncan Murdoch
At line 66 of your document, you have this chunk: <>= rm(list=ls()) @ That removed the device. You need to put its definition after that. (It might also need to come earlier if you're doing plotting before this, and again even later if you remove it again.) By the way, I'd recommend using k

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

2024-02-17 Thread Package Maintainer
Dear Ivan: Thank you for your help again. Thanks for your suggestion to use cairo_pdf() instead of pdf() to allow for the multi-lingual plots. I incorporated your advice and added the the code you suggested: <>= my.Swd <- function(name, width, height, ...) grDevices::cairo_pdf( filename = pa

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

2024-02-15 Thread Ivan Krylov
В Mon, 12 Feb 2024 16:01:27 + Package Maintainer пишет: > Unfortunately, I received a reply from the CRAN submission team > stating that my vignette file is still obtaining the "mbcsToSbcs" > ERROR as is shown here > (https://win-builder.r-project.org/incoming_pretest/ggenealogy_1.0.3_2024021

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

2024-02-12 Thread Package Maintainer
Dear Ivan: Thank you again for all your support. I recently incorporated your suggestion to add the line: \SweaveOpts{pdf.encoding = ISOLatin2.enc} to line 32 of my vignette file, the latest copy of which is located here (https://github.com/lindsayrutter/ggenealogy/blob/master/vignettes/ggenea

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

2023-11-19 Thread Ivan Krylov
On Sun, 19 Nov 2023 13:53:52 + Package Maintainer wrote: > I added the code you suggested to the package vignette: It won't work without setting my.Swd as the new plot device instead of pdf(): \SweaveOpts{grdevice=my.Swd,pdf=FALSE} You have this directive commented out a few lines later, i

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

2023-11-19 Thread Package Maintainer
Hello Ivan: Thank you for your helpful response here. I added the code you suggested to the package vignette: *<>=my.Swd <- function(name, width, height, ...) grDevices::cairo_pdf( filename = paste(name, "pdf", sep = "."), width = width, height = height )@* This particular code did not s

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

2023-11-17 Thread Ivan Krylov
Hello! В Fri, 17 Nov 2023 14:16:27 + Package Maintainer пишет: > 2) set_null_device("cairo") to the vignettes/ggenealogy.Rnw file (this > gives me a "could not find function "set_null_device"" ERROR) I don't think this function from the cowplot package would have helped. You are compiling a

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

2023-11-17 Thread Package Maintainer
Hello: About three weeks ago, I received a message that a CRAN package I maintain (ggenealogy) had issues with "Unicode chars not available to pdf()". As shown here , it seems ERRORs occur when buil