On Fri, 4 Jan 2019 at 20:10, Iñaki Ucar <iu...@fedoraproject.org> wrote: > > I see. Then I suggest the following hack (not tested). If the package > has a vignette, put there a hidden chunk that generates a file with > info about the branch and the path. This file will be available for > your configure script, which runs at INSTALL time. There you can, > e.g., retrieve that branch from a remote repo.
Actually, if there is any vignette, the configure script is executed during the build process, because R needs to install the package to build the vignettes. There, you can rely on $OLDPWD to retrieve the path to the package. Iñaki ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel