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

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Mon Sep 28 19:35:39 CEST 2020

On 28 September 2020 at 17:17, Georgi Boshnakov wrote:
| 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.

Altering the set of directories as showsn by .libPaths() ? This could be as
easy as setting `R_LIBS_USER` or `R_LIBS_SITE` or calling .libPaths().
| 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.

We have similar issue with CI Runners, RHub, win-builder -- they may only see
the fixed set of CRAN packages and versions, and/or system libraries.  Plus,
these days getting an update onto CRAN is no longer as simple as it used be
(unless the package is small, in excellent health, and without many reverse
depends itself).


https://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org

More information about the R-package-devel mailing list