drmerlot/startml

select_models function fails when total number of models is less than 2

Closed this issue · 1 comments

Error in base::colnames<-(x, value) : attempt to set 'colnames' on an object with less than two dimensions

  1. stop("attempt to set 'colnames' on an object with less than two dimensions")
  2. base::colnames<-(x, value)
  3. colnames<-(*tmp*, value = 1L) at select-models.R#29
    ... startml

Fixed, now works with one or more models