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 <m...@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@InitVarsEOL ->\ifdim \lst@currlwidth
>> \lst@maxwidth \global \lst@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@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to