Taking a closer look at this it seems that the segfault occurs in the following test (S4Vectors/inst/unitTests/test_Rle-utils.R, line 121):
line 118: y <- (-20:20)^2 line 119: y[c(1,10,21,41)] <- c(100L, 30L, 400L, 470L) line 120: checkEqualsNumeric(smoothEnds(y), as.vector(smoothEnds(Rle(y)))) line 121: checkEqualsNumeric(runmed(y, 7), as.vector(runmed(Rle(y), 7))) Based on the traceback the error happens during evaluation of the 1st argument ('target') passed to checkEqualsNumeric(), that is, during evaluation of 'runmed(y, 7)'. Since this involves base R code only (runmed() is implemented in the stats package) I would say that it's not immediately obvious that the problem is in my court. H.