Witold E Wolski
2022-Dec-15 18:01 UTC
[R] I do not want that R CMD build removes temp directory
I am getting a package build error, and can not figure out the problem. The error is " ERROR: lazy loading failed for package 'prolfqua' * removing 'C:/Users/ " However since R CMD build removes the temp directory and does not give any other errors how can I find out what the build problem is? Is there a way to disable the temp directory removal? Best Regards Witek -- Witold Eryk Wolski
Simon Urbanek
2022-Dec-15 18:09 UTC
[R] [Rd] I do not want that R CMD build removes temp directory
Yes: $ R CMD INSTALL --help | grep error --no-clean-on-error do not remove installed package on error But probably more commonly used way is to install the package from its unpacked directory as that avoids the use of temporary directories in the first place. In you case you can also use --no-test-load and the non-functional package will still be installed so you can inspect it. Cheers, Simon PS: please don't cross-post> On Dec 16, 2022, at 7:01 AM, Witold E Wolski <wewolski at gmail.com> wrote: > > I am getting a package build error, and can not figure out the problem. > The error is > " > ERROR: lazy loading failed for package 'prolfqua' > * removing 'C:/Users/ > " > However since R CMD build removes the temp directory and does not give > any other errors how can I find out what the build problem is? > > Is there a way to disable the temp directory removal? > > Best Regards > Witek > -- > Witold Eryk Wolski > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >