scater: SingleCellExperiment, Error in seq_len(ncol(assay)) I am trying to go through the following scRNA-seq tutorial.

But the line sce &lt;- newSCESet(countData=all.counts) is not working anymore with the most up-to-date version of scater. Now we should use SingleCellExperiment function instead, so when trying to do the following:

sce &lt;- SingleCellExperiment(assays = list(counts = all.counts))


I am getting the error: 

Error in seq_len(ncol(assay)) : 
  argument must be coercible to non-negative integer
In addition: Warning message:
In seq_len(ncol(assay)) : first element used of 'length.out' argument


Any help would be greatly appreciated.
I think you might want to use the most recent workflow, which should be for the latest version on Bioconductor.