Running examples in ‘saemix-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: SaemixData-class
> ### Title: Class "SaemixData"
> ### Aliases: SaemixData SaemixData-class SaemixRepData-class
> ###   SaemixSimData-class
> ### Keywords: classes
> 
> ### ** Examples
> 
> showClass("SaemixData")
Class "SaemixData" [package "saemix"]

Slots:
                                                                      
Name:        name.data          header             sep              na
Class:       character         logical       character       character
                                                                      
Name:       name.group name.predictors   name.response name.covariates
Class:       character       character       character       character
                                                                      
Name:           name.X        name.mdv       name.cens        name.occ
Class:       character       character       character       character
                                                                      
Name:       name.ytype       trans.cov           units            data
Class:       character            list            list      data.frame
                                                                      
Name:             ocov               N           yorig         ind.gen
Class:      data.frame         numeric         numeric         logical
                                      
Name:         ntot.obs        nind.obs
Class:         numeric         numeric
> 
> # Specifying column names
> data(theo.saemix)
> saemix.data<-saemixData(name.data=theo.saemix,header=TRUE,sep=" ",na=NA,
+   name.group=c("Id"),name.predictors=c("Dose","Time"),
+   name.response=c("Concentration"),name.covariates=c("Weight","Sex"),
+   units=list(x="hr",y="mg/L",covariates=c("kg","-")), name.X="Time")
Using the object called theo.saemix in this R session as the data.
Error in if (is.na(object@name.predictors)) object@name.predictors <- "" : 
  the condition has length > 1
Calls: saemixData -> read -> read
Execution halted