[R-pkg-devel] force revdepcheck to use local version of a dependency

Gábor Csárdi c@@rd|@g@bor @end|ng |rom gm@||@com
Mon Sep 28 19:46:21 CEST 2020

You can define the special dependency of the revdep-checked package in
the `Remotes` field. More info:

E.g. if you are revdep-checking package PKG, then you can add
something like this in the DESCRIPTION file of PKG:
Remotes: local::/path/to/your/package
or if the package is on GitHub:
Remotes: user/repo

Then revdepcheck will automatically install the special version of the
dependency, for the dev version of the revdep-checked package. (But
not for the CRAN version of the package.)


On Mon, Sep 28, 2020 at 6:17 PM Georgi Boshnakov
<georgi.boshnakov using manchester.ac.uk> wrote:
> Hi,
> I am using package 'revdepcheck' to check reverse dependencies of a package and it works great. But now I have a scenario such that I wish it to use a local version of one of the dependencies of the checked package and am not able to find out how.
> Some context: Package A imports package B. Package A has many reverse dependencies. I wish to check if an update to package B will break some of the reverse dependencies of A and/or repair broken reverse dependencies of A. It is obvious to update B on CRAN but this may lead unnecessarily to a number of CRAN updates.
> Georgi Boshnakov
>         [[alternative HTML version deleted]]
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel

More information about the R-package-devel mailing list