Skip to content
Prev 6062 / 12125 Next

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

You can define the special dependency of the revdep-checked package in
the `Remotes` field. More info:
https://cran.rstudio.com/web/packages/remotes/vignettes/dependencies.html

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.)

Best,
Gabor

On Mon, Sep 28, 2020 at 6:17 PM Georgi Boshnakov
<georgi.boshnakov at manchester.ac.uk> wrote:
Message-ID: <CABtg=Kk0OEZH3+YdaNRKdnV62XU+-cfQ23kzojVapaCJD=T+Bw@mail.gmail.com>
In-Reply-To: <AM0PR0102MB344316AB62C63A3C99F89BC3AE350@AM0PR0102MB3443.eurprd01.prod.exchangelabs.com>