Issue: Installing a package (using a devtools::install_* function) with a dependency that already was installed by another package seems to give an error:
Skipping (package_name), it is already being installed
Error in vapply(remotes, install_remote, ..., FUN.VALUE = character(1)) :
values must be type 'character',
but FUN(X[[1]]) result is type 'logical'
Execution halted
Setup: I'm working in a Centos docker image (though the issue still happens on latest MacOS) with the following session info (with a truncated "loaded via a namespace (and not attached)" since this was done with nearly no packages; I included only what seemed important):
R version 3.5.1 (2018-07-02)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)
Matrix products: default
BLAS/LAPACK: /usr/lib64/R/lib/libRblas.so
locale:
[1] C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.5.1
Package Version
BH 1.62.0-1
R.methodsS3 1.7.1
R.oo 1.22.0
R.utils 2.5.0
devtools 2.0.0
pkgbuild 1.0.2
pkgconfig 2.0.2
pkgload 1.0.1
rcmdcheck 1.3.0
remotes 2.0.1
rlang 0.3.0
roxygen2 6.1.0
Reproduction Steps: This happens for a number of packages but I've found the following code in a docker image with the version of R above (3.5.1) will throw the error:
devtools::install_version("shiny", version="1.0.0", dependencies = c("Depends", "Imports"))
devtools::install_version("shinyBS", version="0.61", dependencies = c("Depends", "Imports"))
You may need to wrap this in suppressWarnings so that the warnings are not converted to an error. The error should appear after the warning that "BH" has already been installed.
Issue: Installing a package (using a devtools::install_* function) with a dependency that already was installed by another package seems to give an error:
Setup: I'm working in a Centos docker image (though the issue still happens on latest MacOS) with the following session info (with a truncated "loaded via a namespace (and not attached)" since this was done with nearly no packages; I included only what seemed important):
Reproduction Steps: This happens for a number of packages but I've found the following code in a docker image with the version of R above (3.5.1) will throw the error:
You may need to wrap this in
suppressWarningsso that the warnings are not converted to an error. The error should appear after the warning that "BH" has already been installed.