on line 58, I can only connect to the study when I remove 'onTest=TRUE'
With that removed the code proceeds to line 163:
es <- con$getGEMatrix(mats, outputType = "raw", annotation = "ImmSig")
... and it dies there with the following error message:
Downloading matrix..
Error in FUN(X[[i]], ...) :
The downloaded matrix has 0 rows. Something went wrong.
In addition: Warning message:
In read.table(fl, header = TRUE, sep = "\t", quote = """, stringsAsFactors = FALSE) :
incomplete final line found by readTableHeader on '/var/folders/8z/09hzxs816kv3h_wlv5f65nw40000gn/T//RtmpEAAaHy/file3c840953ed1'