On Thu, 10 Jan 2019 at 23:27, Dirk Eddelbuettel <e...@debian.org> wrote: > > > On 10 January 2019 at 22:33, Iñaki Ucar wrote: > | On Thu, 10 Jan 2019 at 21:55, Dirk Eddelbuettel <e...@debian.org> wrote: > | > Comes up with an empty / unset olddir when I do > | > > | > R CMD build someNameHere; R CMD INSTALL someNameHere_1.2.3.tar.gz > | > | This is quite interesting. Because if you run > | > | R CMD build someNameHere/; R CMD INSTALL someNameHere_1.2.3.tar.gz > | > | (note the "/" after the package name) then the olddir is there. > > Not for me. Same result as before. (That is as work on CentOS 7.5 with R > 3.5.1).
Silly me... It was showing my last cd! Of course! So what about the very hacky... cd ./anRpackage; cd ..; R CMD build anRpackage; R CMD INSTALL anRpackage_*.gz Iñaki ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel