I am trying to use revdep_check(num_workers = 4). However, I am getting the error below:
> revdep_check(num_workers = 4)
── INSTALL ──────────────────────────────────────────────────────────────────────── 2 versions ──
Installing CRAN version of rempsyc
also installing the dependencies ‘insight’, ‘datawizard’, ‘car’, ‘effectsize’, ‘ggsignif’
There are binary versions available but the source versions are later:
binary source needs_compilation
insight 0.18.4 0.18.6 FALSE
datawizard 0.6.2 0.6.3 FALSE
car 3.1-0 3.1-1 FALSE
effectsize 0.8.0 0.8.1 FALSE
ggsignif 0.6.3 0.6.4 FALSE
package ‘rempsyc’ successfully unpacked and MD5 sums checked
installing the source packages ‘insight’, ‘datawizard’, ‘car’, ‘effectsize’, ‘ggsignif’
/usr/bin/cat: insight.out: No such file or directory
/usr/bin/cat: car.out: No such file or directory
/usr/bin/cat: ggsignif.out: No such file or directory
/usr/bin/cat: datawizard.out: No such file or directory
/usr/bin/cat: effectsize.out: No such file or directory
Error in utils::install.packages(pkgs = pkgs, lib = lib, repos = myrepos, :
(converted from warning) installation of one or more packages failed,
probably ‘insight’, ‘car’, ‘ggsignif’, ‘datawizard’, ‘effectsize’
These packages are already installed locally, so I'm not sure what's the issue here. Any idea?
I did use usethis::use_revdep() beforehand. Retrying produces the same error. Session is clean after restarting. R version 4.2.1
revdepcheck installs all dependencies itself, into a separate library, to make the process reproducible and isolated. I don't know why these packages fail to install, but that does not seem to be a revdepcheck error, looking at it from afar....
I tried taking num_workers down to 1, and it didn’t work.
However, I suspect it might be because my package lives in my OneDrive. In particular, during revdepcheck, one of the packages (scale) was creating a bug when copying files over (permission denied). Trying to open its smallest folder to investigate led to the following error: The tag present in the reparse point buffer is invalid and it is not possible to delete the folder, even after resetting OneDrive, CHKDSK Scan, SFC Scan, etc. Really annoying. So I just moved everything GitHub out of OneDrive (since it’s already version-controlled). I know I should have done this a long time ago but didn’t have problems with it until revdepcheck.
Ok, that said, once I moved everything to its own folder out of OneDrive, I tried it again (with 1 worker again), and got the same error
/usr/bin/cat: insight.out: No such file or directory
/usr/bin/cat: car.out: No such file or directory
/usr/bin/cat: ggsignif.out: No such file or directory
/usr/bin/cat: datawizard.out: No such file or directory
/usr/bin/cat: effectsize.out: No such file or directory
Might it have to do with these packages having different binary and source versions somehow?
Ok, so I just waited for the latest binaries to be available for those packages and tried again, and then it worked. So maybe the binary and source versions need to match somehow. Not sure.