[Bioc-devel] build report repeating the same error
Sara Linker
@linker @ending from @@lk@edu
Wed May 30 16:43:37 CEST 2018
Hi at bioc-devel,
I’ve tried a few times now to update the error reported in the build report. I’ve pushed the fix to GitHub and bumped the version number, but the same error message keeps coming back. Does anyone know how to fix this? I feel like a reboot of some kind is needed.
ERROR MESSAGE:
> ### ** Examples
>
> comp <- methods::new(Class="Comp",
+ tissueExp1 = c(10,12),
+ tissueExp2 = table(c(rep("A",5), rep("B",5))),
+ composite = matrix(0,nrow=10,ncol=10),
+ random.matrix = data.frame(matrix(0,nrow=10,ncol=10)),
+ refset = "developing"
+ )
Error in validObject(.Object) :
invalid class "Comp" object: invalid object for slot "tissueExp2" in class "Comp": got class "table", should be or extend class "numeric"
Calls: <Anonymous> -> initialize -> initialize -> validObject
Execution halted
BUT I’ve fixed this and my current code (on GitHub) now reads…
#' @examples
#' comp <- methods::new(Class="Comp",
#' tissueExp1 = c(10,12),
#' tissueExp2 = c(10,13),
#' composite = matrix(0,nrow=10,ncol=10),
#' random.matrix = data.frame(matrix(0,nrow=10,ncol=10)),
#' refset = "developing"
#' )
[[alternative HTML version deleted]]
More information about the Bioc-devel
mailing list