[R-pkg-devel] Mysterious "invalid z limit"

Kevin R. Coombes kev|n@r@coombe@ @end|ng |rom gm@||@com
Sun Jan 8 16:00:30 CET 2023


A terrific answer; thanks. (I am kicking myself for not realizing the 
answer you gave to question 1. Of course that's the explanation. Too 
many consecutive hours debugging other items to get to that point, I 
suppose.)
   Kevin

On 1/8/2023 6:58 AM, Ivan Krylov wrote:
> On Sat, 7 Jan 2023 20:43:10 -0500
> "Kevin R. Coombes" <kevin.r.coombes using gmail.com> wrote:
>
>> (1) How is it possible that the same code works error
>> free in the RStudio contexts, but fails in the attempt to build the
>> package?
> When knitting the vignette from RStudio, it uses the package you
> already have installed. When knitting the vignette from R CMD build, it
> uses the code it's about to package. Could it be that your source code
> is different from the copy installed in your library?
>
>> (2) Any suggestions on how to debug something that only
>> throws an error from "R CMD build" would be most welcome.
> R CMD build --no-build-vignettes should let you proceed and get a
> tarball that could be installed. Hopefully you'll be able to reproduce
> the error then.
>



More information about the R-package-devel mailing list