Running examples in 'moult-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: moult
> ### Title: Models to analyse data of moult in birds
> ### Aliases: moult print.moult summary.moult logLik.moult moult_alternative
> 
> ### ** Examples
> 
> 
> data(sanderlings)
> 
> m2 <- moult(MIndex ~ Day, data = sanderlings) 
Error in `[.data.frame`(Day, PFMG == 0, 2) : 
  'list' object cannot be coerced to type 'double'
Calls: moult -> [ -> [.data.frame
Execution halted
Running examples in ‘moult-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: moult
> ### Title: Models to analyse data of moult in birds
> ### Aliases: moult print.moult summary.moult logLik.moult moult_alternative
> 
> ### ** Examples
> 
> 
> data(sanderlings)
> 
> m2 <- moult(MIndex ~ Day, data = sanderlings) 
Error in `[.data.frame`(Day, PFMG == 0, 2) : 
  'list' object cannot be coerced to type 'double'
Calls: moult -> [ -> [.data.frame
Execution halted
Running examples in ‘moult-Ex.R’ failed
The error most likely occurred in:

> ### Name: moult
> ### Title: Models to analyse data of moult in birds
> ### Aliases: moult print.moult summary.moult logLik.moult moult_alternative
> 
> ### ** Examples
> 
> 
> data(sanderlings)
> 
> m2 <- moult(MIndex ~ Day, data = sanderlings) 
Error in `[.data.frame`(Day, PFMG == 0, 2) : 
  'list' object cannot be coerced to type 'double'
Calls: moult -> [ -> [.data.frame
Execution halted
Running examples in ‘moult-Ex.R’ failed
The error most likely occurred in:

> ### Name: moult
> ### Title: Models to analyse data of moult in birds
> ### Aliases: moult print.moult summary.moult logLik.moult moult_alternative
> 
> ### ** Examples
> 
> 
> data(sanderlings)
> 
> m2 <- moult(MIndex ~ Day, data = sanderlings) 
Error in `[.data.frame`(Day, PFMG == 0, 2) : 
  'list' object cannot be coerced to type 'double'
Calls: moult -> [ -> [.data.frame
Execution halted
Running examples in 'moult-Ex.R' failed
The error most likely occurred in:

> ### Name: moult
> ### Title: Models to analyse data of moult in birds
> ### Aliases: moult print.moult summary.moult logLik.moult moult_alternative
> 
> ### ** Examples
> 
> 
> data(sanderlings)
> 
> m2 <- moult(MIndex ~ Day, data = sanderlings) 
Error in `[.data.frame`(Day, PFMG == 0, 2) : 
  'list' object cannot be coerced to type 'double'
Calls: moult -> [ -> [.data.frame
Execution halted
Running examples in 'moult-Ex.R' failed
The error most likely occurred in:

> ### Name: moult
> ### Title: Models to analyse data of moult in birds
> ### Aliases: moult print.moult summary.moult logLik.moult moult_alternative
> 
> ### ** Examples
> 
> 
> data(sanderlings)
> 
> m2 <- moult(MIndex ~ Day, data = sanderlings) 
Error in `[.data.frame`(Day, PFMG == 0, 2) : 
  'list' object cannot be coerced to type 'double'
Calls: moult -> [ -> [.data.frame
Execution halted