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

> ### Name: modelFrame
> ### Title: Dendroclimatic-fluctuations modeling
> ### Aliases: modelFrame
> 
> ### ** Examples
> 
>     ##TRW chronology (mm) and inside-bark radii
> data(Pchron,envir = environment())
> data(Pradii03,envir = environment())
> ## Tree-ring width fluctuations:
> trwf <- modelFrame(Pchron,
+                    sc.c = Pradii03,
+                    rf.t = 2003,
+                    log.t = TRUE)
> summary(trwf$'model')
Linear mixed-effects model fit by REML
 Data: fixed 
       AIC      BIC    logLik
  1425.193 1488.797 -699.5963

Random effects:
 Formula: ~log(csx) + log(time) | plot
 Structure: Diagonal
        (Intercept)     log(csx) log(time)
StdDev:   0.9541094 0.0003053836 0.2263345

 Formula: ~log(csx) + log(time) | tree %in% plot
 Structure: Diagonal
        (Intercept)     log(csx) log(time)
StdDev:   0.8729869 4.950349e-10 0.2220637

 Formula: ~log(csx) + log(time) | sample %in% tree %in% plot
 Structure: Diagonal
        (Intercept)     log(csx)  log(time)  Residual
StdDev:  0.09011598 8.202704e-36 0.02288572 0.4784995

Fixed effects: log(x) ~ log(csx) + log(time) 
                Value Std.Error  DF   t-value p-value
(Intercept) -3.171450 1.4210283 978 -2.231799  0.0259
log(csx)     1.398108 0.3585751 978  3.899066  0.0001
log(time)   -0.953834 0.2296610 978 -4.153227  0.0000
 Correlation: 
          (Intr) lg(cs)
log(csx)  -0.822       
log(time)  0.423 -0.521

Standardized Within-Group Residuals:
       Min         Q1        Med         Q3        Max 
-6.9065514 -0.5052169  0.1119620  0.6316316  3.5025201 

Number of Observations: 988
Number of Groups: 
                      plot             tree %in% plot 
                         2                          4 
sample %in% tree %in% plot 
                         8 
> 
> ## Tree-diameter fluctuations:
> tdf <- modelFrame(Pchron,
+                    sc.c = Pradii03,
+                    rf.t = 2003,
+                   log.t = TRUE,
+                   MoreArgs = list(mp = c(pi,2)))
Error in lme.formula(fixed = log(x) ~ log(csx) + log(time), data = fixed,  : 
  nlminb problem, convergence error code = 1
  message = singular convergence (7)
Calls: modelFrame ... lme.groupedData -> do.call -> <Anonymous> -> lme.formula
Execution halted