revdepcheck icon indicating copy to clipboard operation
revdepcheck copied to clipboard

`revdep_check()` fails to install package that `remotes::install_cran()` installs without problems

Open MLopez-Ibanez opened this issue 1 year ago • 0 comments

For https://github.com/MLopez-Ibanez/irace/

remotes::install_github('r-lib/revdepcheck', upgrade="never")
require("revdepcheck")
revdep_check(num_workers = 1L, quiet = TRUE, bioc=FALSE)
── CHECK ──────────────────────── 6 packages ──
✔ bbotk 0.8.0                            ── E: 1     | W: 0     | N: 0          
[1/6] 00:04:41 | ETA: 23m | (1) iraceplot [I]^C                               
Execution halted

cat revdep/checks/bbotk/old/libraries.txt is missing packages that are needed:

Library: /home/manu/work/irace/git/revdep/library/irace/old
irace (3.5)

Library: /home/manu/work/irace/git/revdep/library/bbotk
adagio      (0.9.2)
backports   (1.4.1)
base64enc   (0.1-3)
brio        (1.1.4)
cachem      (1.0.8)
callr       (3.7.5)
checkmate   (2.3.1)
cli         (3.6.2)
crayon      (1.5.2)
data.table  (1.15.2)
diffobj     (0.3.5)
digest      (0.6.35)
ellipsis    (0.3.2)
emoa        (0.5-2)
evaluate    (0.23)
fansi       (1.0.6)
fastmap     (1.1.1)
fontawesome (0.5.2)
fs          (1.6.3)
GenSA       (1.1.14)
glue        (1.7.0)
highr       (0.10)
htmltools   (0.5.7)
jquerylib   (0.1.4)
jsonlite    (1.8.8)
knitr       (1.45)
lifecycle   (1.0.4)
lpSolve     (5.6.20)
magrittr    (2.0.3)
memoise     (2.0.1)
mime        (0.12)
nloptr      (2.0.3)
pillar      (1.9.0)
pkgbuild    (1.4.4)
pkgconfig   (2.0.3)
praise      (1.0.0)
processx    (3.8.4)
progressr   (0.14.0)
ps          (1.7.6)
R6          (2.5.1)
rappdirs    (0.3.3)
rematch2    (2.1.2)
rlang       (1.1.3)
rmarkdown   (2.26)
rprojroot   (2.0.4)
tibble      (3.2.1)
tinytex     (0.50)
utf8        (1.2.4)
vctrs       (0.6.5)
waldo       (0.5.2)
withr       (3.0.0)
xfun        (0.42)
yaml        (2.3.8)

cat revdep/checks/bbotk/old/bbotk.Rcheck/00check.log

* using log directory ‘/home/manu/work/irace/git/revdep/checks/bbotk/old/bbotk.Rcheck’
* using R version 4.1.2 (2021-11-01)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: UTF-8
* using options ‘--no-manual --no-build-vignettes’
* checking for file ‘bbotk/DESCRIPTION’ ... OK
* this is package ‘bbotk’ version ‘0.8.0’
* package encoding: UTF-8
* checking package namespace information ... OK
* checking package dependencies ... ERROR
Packages required but not available: 'paradox', 'lgr', 'mlr3misc'

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
* DONE
Status: 1 ERROR

All the missing packages are available in CRAN and there is no reason for them to not be installed by revdep_check(). Note that no errors are reported about installing or downloading packages, they are just missing.

MLopez-Ibanez avatar Mar 20 '24 18:03 MLopez-Ibanez