diff --git a/apis/r/R/ReadIter.R b/apis/r/R/ReadIter.R index 30e02c5763..eb6293e39a 100644 --- a/apis/r/R/ReadIter.R +++ b/apis/r/R/ReadIter.R @@ -12,9 +12,9 @@ ReadIter <- R6::R6Class( #' @description Create (lifecycle: experimental) #' @param sr soma read pointer #' @param enums An optional list with enumeration information - initialize = function(sr, enumlst=NULL) { + initialize = function(sr, enums=NULL) { private$soma_reader_pointer <- sr - private$enums <- enumlst + private$enums <- enums }, #' @description Check if iterated read is complete or not. (lifecycle: experimental) diff --git a/apis/r/man/ReadIter.Rd b/apis/r/man/ReadIter.Rd index 1bc87662cb..70670883f1 100644 --- a/apis/r/man/ReadIter.Rd +++ b/apis/r/man/ReadIter.Rd @@ -28,7 +28,7 @@ Class that allows for read iteration of SOMA reads. \subsection{Method \code{new()}}{ Create (lifecycle: experimental) \subsection{Usage}{ -\if{html}{\out{
}}\preformatted{ReadIter$new(sr)}\if{html}{\out{
}} +\if{html}{\out{
}}\preformatted{ReadIter$new(sr, enums = NULL)}\if{html}{\out{
}} } \subsection{Arguments}{