测试反向依赖关系很痛苦,我发现可用的实现有问题,例如当我跑devtools::revdep_check()
时,我看到了
Reverse dependency checks for <MY PACKAGE> ==========================================================================
Saving check results in `revdep/checks/`
Saving install results in `revdep/install/`
Computing reverse dependencies...
Installing dependencies for <MY PACKAGE> to <TEMP DIR>
Installing <MY PACKAGE> to <TEMP DIR>
Error: Command failed (1)
所以我尝试了它的继任者revdepcheck::revdep_check()
来看
── INIT ─────────────────────────────────────────────────────────────────────────────────────── Computing revdeps ──
Error in read.dcf(file = tmpf) : cannot open the connection
In addition: Warning message:
In read.dcf(file = tmpf) :
cannot open compressed file '//C:%5CUsers%5C<MY USER NAME>%5CAppData%5CLocal%5CR-crancache%5CR-crancache%5CCache/cran/src/contrib/PACKAGES', probable reason 'No such file or directory'
你能否给我一个简单的逐步程序来测试开箱即用的反向依赖?