[R-pkg-devel] Package accepted, then an error to fix by 3/22
Michael Barr
m|ke @end|ng |rom b|ke@ctu@ry@com
Wed Mar 9 01:29:03 CET 2022
Hi - thanks for the reply. Yes I built this vignette probably over 150 times through the course of working out other NOTES, via rhub::check_for_cran, devtools::check, devtools::build_vignette, R CMD CHECK, some other devtools function which checks for win devel the exact name of which escapes me atm…
Also this made it past the CRAN submission process, newbies pipeline == higher touch as I understand.
I’m curious why I make it past so many different checks prior to publishing. Not surprised it is latex related though. I will look up the character limit for latex to fix this.
One follow up question - after I make this correction, would the expectation be to increment the version for a patch (0.1.1) when I submit to cran?
Thanks
Mike
________________________________
From: Simon Urbanek <simon.urbanek using R-project.org>
Sent: Tuesday, March 8, 2022 6:06 PM
To: Michael Barr <mike using bikeactuary.com>
Cc: r-package-devel using r-project.org <R-package-devel using r-project.org>
Subject: Re: [R-pkg-devel] Package accepted, then an error to fix by 3/22
Michael,
I can replicate the problem on macOS so this is not system-specific - did you actually try to re-build the vignette? As can be seen from the output the problem is is the following line:
one_rec %>% pull(abstract_text) %>% print
because it is an extremely long output line (4712 characters) that exceeds the LaTeX limit. The actual content is quite messy so I wouldn't try to output the whole content, but if you really want to, you may need to wrap it first since R output is not soft-wrapped.
Cheers,
Simon
> On Mar 9, 2022, at 5:37 AM, Michael Barr <mike using bikeactuary.com> wrote:
>
> Hi - had my first package accepted yesterday and published on CRAN. Immediately after, I get an auto email from Prof Ripley stating there is an error to be corrected or else the package will be archived. See the relevant message from check results link below.
>
> From Google it appears to be related to a graphic in my vignette though not entirely certain of that. I have precisely one image in my vignette; I�ve passed all the checks locally and for the CRAN submission, so I am stumped how to go about reproducing this error or fixing it. Looking for advice.
>
> Thanks
> Mike
>
>
> ! Dimension too large.
> \lsthk using InitVarsEOL ->\ifdim \lst using currlwidth
>> \lst using maxwidth \global \lst using maxw...
> l.857 ...nt pharmacologic approaches. "
>
> Error: processing vignette 'repoRter_nih.Rmd' failed with diagnostics:
> LaTeX failed to compile /data/gannet/ripley/R/packages/tests-clang/repoRter.nih.Rcheck/vign_test/repoRter.nih/vignettes/repoRter_nih.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See repoRter_nih.log for more info.
> --- failed re-building �repoRter_nih.Rmd�
>
> SUMMARY: processing the following file failed:
> �repoRter_nih.Rmd�
>
> Error: Vignette re-building failed.
> Execution halted
> Flavor: r-devel-linux-x86_64-fedora-clang<https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-clang/repoRter.nih-00check.html>
>
>
> <https://cran.r-project.org/web/checks/check_results_repoRter.nih.html>
>
>
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list