Dan Tenenbaum
2013-Oct-07 22:40 UTC
[Rd] uninformative error message when building package: ‘x’ must be an atomic vector
Hi, When building this Bioconductor package with R-devel: http://www.bioconductor.org/packages/devel/bioc/src/contrib/ROntoTools_1.1.2.tar.gz I get the following: [...] Error: processing vignette ?rontotools.Rnw? failed with diagnostics: ?x? must be an atomic vector Execution halted If I install the package, Stangle and then source the vignette, I see that the "real" error is: [...]> ################################################### > ### code chunk number 14: rontotools.Rnw:177-178 > ################################################### > peRes <- pe(x = fc, graphs = kpg, ref = ref, nboot = 200, verbose = FALSE)Error in La.svd(x, nu, nv) : error code 1 from Lapack routine 'dgesdd' It would be great if R CMD build could produce this error instead of the uninformative ?x? must be an atomic vector. I see this with many different packages and I always have to do the same dance in order to find out what is really going on. BTW, I don't think it's referring to the x in the line of code right before the error, because that x is an atomic vector:> class(fc)[1] "numeric"> length(fc)[1] 2864 Thanks, Dan
Seemingly Similar Threads
- Uninformative error msgs w/ svm.default - Error in svm.default ... y must be a vector or a factor -
- Error in if (nuhat < 2) stop("The degrees of freedom must be greater than or equal to 2") : missing value where TRUE/FALSE needed
- p-values pvclust maximum distance measure
- uninformative error message in R CMD check (PR#9459)
- "LAPACK routine DGESDD gave error code -12" with Debian (PR#2822)