[R-pkg-devel] About a need for hooks from R CMD ... commands, and a question

Iñaki Ucar iuc@r @ending from fedor@project@org
Fri Jan 11 00:08:55 CET 2019


On Thu, 10 Jan 2019 at 23:27, Dirk Eddelbuettel <edd using debian.org> wrote:
>
>
> On 10 January 2019 at 22:33, Iñaki Ucar wrote:
> | On Thu, 10 Jan 2019 at 21:55, Dirk Eddelbuettel <edd using 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



More information about the R-package-devel mailing list