On Sat, 7 Jan 2023 20:43:10 -0500 "Kevin R. Coombes" <kevin.r.coom...@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. -- Best regards, Ivan ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel