There are some issues for using do.call in R 3.5.0 and devel branch of bioc (as of April 14, 2018) that caused devel branch build to fail. To reproduce:
Error in do.call(docker, x) : second argument must be a list
5. stop("second argument must be a list")
4. do.call(docker, x) at class-cwl.R#2677
3. FUN(X[[i]], ...)
2. lapply(listData[!idx.fd], function(x) {
if ("class" %in% names(x)) {
cls <- x$class
switch(cls, DockerRequirement = { ... at class-cwl.R#2671
1. requirements(docker(pull = "rocker/r-base"))
Fix the issue in requirements(), most likely happened in its do.call() statements (x is not a list and cannot be used as args now, not sure why it could be used before).
There are some issues for using
do.call
in R 3.5.0 and devel branch of bioc (as of April 14, 2018) that caused devel branch build to fail. To reproduce:It gives
which should give
As a workaround to pass the build/check, I've commented out all
hints = requirements(...)
in https://github.com/sbg/sevenbridges-r/commit/d40b22f2b5710d620a4e66bfec7b1011def814f7.To fix this:
requirements()
, most likely happened in itsdo.call()
statements (x
is not a list and cannot be used asargs
now, not sure why it could be used before).