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]] _______________________________________________ Bioc-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel