Re: [R-pkg-devel] is R CMD build --compact-vignettes working as expected?

2020-10-08 Thread Martin Maechler
> Ben Bolker > on Wed, 7 Oct 2020 20:42:08 -0400 writes: > On 10/7/20 8:35 PM, Duncan Murdoch wrote: >> On 07/10/2020 8:32 p.m., Ben Bolker wrote: >>>     Thanks for the tip, I'll take a look. >>> >>>     Given that three relatively experienced package >>> aut

Re: [R-pkg-devel] is R CMD build --compact-vignettes working as expected?

2020-10-08 Thread John Fox
Dear Ben, Actually, what I used was --compact-vignettes="both", with qpdf and gs installed on my Windows and Mac machines, and that apparently didn't work for me. Best, John On 2020-10-07 10:06 p.m., Ben Bolker wrote:   OK, I think I see the problem. tl;dr use --compact-vignettes="both" w

Re: [R-pkg-devel] is R CMD build --compact-vignettes working as expected?

2020-10-08 Thread Ben Bolker
Huh, weird. "both" worked for me. My debugging process involved instrumenting the compression function to report what it was doing (see below), rebuilding R, and running the build and check --as-cran processes again. (If the package you're experiencing problems with is public, feel free to

Re: [R-pkg-devel] is R CMD build --compact-vignettes working as expected?

2020-10-08 Thread Henrik Singmann
Hi both, I am not sure if this might be the issue here, but I think on both Linux and Windows I need to use the both option without quotation marks: --compact-vignettes=both Best, Henrik Am Do., 8. Okt. 2020 um 17:21 Uhr schrieb Ben Bolker : > >Huh, weird. "both" worked for me. > >My de

Re: [R-pkg-devel] is R CMD build --compact-vignettes working as expected?

2020-10-08 Thread Duncan Murdoch
When I tried that on MacOS, it did the gs compression with gs_quality set to "none", which does nothing. I don't know what quality CRAN uses, but for me setting the environment variable GS_QUALITY=screen made a big difference. Duncan Murdoch On 08/10/2020 11:10 a.m., John Fox wrote: Dear Be

Re: [R-pkg-devel] is R CMD build --compact-vignettes working as expected?

2020-10-08 Thread John Fox
Dear all, First, thank you to everyone who responded. Let me be more specific about what I did, focusing on macOS (since I did most of this on Windows too): (1) I observed the problem with the Rcmdr package, including version 2.7-1, which is newly on CRAN. Presumably, it wouldn't be hard to