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

> ### Name: report_mig_mult-class
> ### Title: Migration reports for multiple DC / species / stages
> ### Aliases: report_mig_mult-class report_mig_mult
> ### Keywords: classes
> 
> ### ** Examples
> 
> library(stacomiR)
> 
> stacomi(gr_interface=FALSE,login_window=FALSE,database_expected=FALSE) 
> ## launches the application in the command line
> ## here an example of loading
> ## the following lines will only run if you have the program installed
> ## and the iav scheme available in the database
> ## this example generates the r_mig_mult dataset
> ## Not run: 
> ##D   stacomi(gr_interface=FALSE,
> ##D 	  login_window=FALSE,
> ##D 	  database_expected=TRUE)	
> ##D   r_mig_mult=new("report_mig_mult")
> ##D   r_mig_mult=choice_c(r_mig_mult,
> ##D 	  dc=c(5,6,12),
> ##D 	  taxa=c("Anguilla anguilla"),
> ##D 	  stage=c("AGG","AGJ","CIV"),datedebut="2011-01-01",datefin="2011-12-31")
> ##D   r_mig_mult<-charge(r_mig_mult)
> ##D   # launching charge will also load classes associated with the report
> ##D   # e.g. report_ope, report_df, report_dc
> ##D   r_mig_mult<-connect(r_mig_mult)
> ##D   # calculations 
> ##D   r_mig_mult<-calcule(r_mig_mult,silent=TRUE)
> ##D  
> ##D 
> ## End(Not run)
> 
> # Use this as example if you don't have a connexion to the database
> data("r_mig_mult")
> # The following re-create the object at the time of loading
> # All three classes were created by the charge and connect 
> # method of report_mig_mult in the previous example
> data("r_mig_mult_ope")
> assign("report_ope",r_mig_mult_ope,envir=envir_stacomi)
> data("r_mig_mult_df")
> assign("report_df",r_mig_mult_df,envir=envir_stacomi)
> data("r_mig_mult_dc")
> assign("report_dc",r_mig_mult_dc,envir=envir_stacomi)
> # use the following to get the raw data loaded by the connect method
> # not shown there as the database and program might not be installed
> 
> #Individual plot for all DC, taxa and stage where data present
> #Silent=TRUE to turn off messages
> # not run because of multiple graphical devices
> 
> plot(r_mig_mult,plot.type="standard",silent=TRUE)
dev.new(): using pdf(file="Rplots1.pdf")
dev.new(): using pdf(file="Rplots2.pdf")
Warning in max(eff/1000, na.rm = TRUE) :
  no non-missing arguments to max; returning -Inf
Error in plot.window(...) : need finite 'ylim' values
Calls: plot ... plot -> plot -> plot.default -> localWindow -> plot.window
Execution halted