[Rd] core Matrix package segfaulted on R CMD check --use-gct

Hin-Tak Leung hintak_leung at yahoo.co.uk
Sat Mar 26 23:21:52 CET 2011

Current core/Recommended Matrix package (0.999375-48) has been segfaulting against R 2.13-alpha/2.14-trunk for the last week or so (since R-2.13 was branched, when I started trying) when "run with R CMD check --use-gct":

> pkgname <- "Matrix"
> source(file.path(R.home("share"), "R", "examples-header.R"))
> gctorture(TRUE)
> options(warn = 1)
> library('Matrix')
Loading required package: lattice
Error : .onLoad failed in loadNamespace() for 'Matrix', details:
  call: fun(...)
  error: unprotected object (0x2768b18) encountered (was REALSXP)
Error: package/namespace load failed for 'Matrix'
Execution halted

I traced to this because "R CMD check --use-gct snpStats" (both 1.1.13 and 1.1.12) segfaults with the same message, and before that, the snpMatrix which includes some of David's newly written ld() ( which depends on Matrix.)

If the Matrix package segfaults, David's new ld() isn't useable.

More information about the R-devel mailing list