Package check result: ERROR Check: examples, Result: ERROR Running examples in ‘ecospat-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: ecospat.CCV.modeling > ### Title: Runs indivudual species distribuion models with SDMs or ESMs > ### Aliases: ecospat.CCV.modeling > > ### ** Examples > > ## No test: > #Loading species occurence data and remove empty communities > data(ecospat.testData) > testData <- ecospat.testData[,c(24,34,43,45,48,53,55:58)] > sp.data <- testData[which(rowSums(testData)>2), sort(colnames(testData))] > > #Loading environmental data > env.data <- ecospat.testData[which(rowSums(testData)>2),4:8] > > #Coordinates for all sites > xy <- ecospat.testData[which(rowSums(testData)>2),2:3] > > #Running all the models for all species > myCCV.Models <- ecospat.CCV.modeling(sp.data = sp.data, + env.data = env.data, + xy = xy, + NbRunEval = 2, + minNbPredictors = 10, + VarImport = 3) The following species will be run with standard biomod2 models: The following species will be run with ESM models: Agrostis.capillaris, Campanula.scheuchzeri, Carex.sempervirens, Cynosurus.cristatus, Dactylis.glomerata, Homogyne.alpina, Plantago.lanceolata, Polygonum.viviparum, Rumex.acetosa The following species will not be modelled due to limited presence data: Galium.anisophyllon -=-=-=-=-=-=-=-=-=-=-= Agrostis.capillaris Data Formating -=-=-=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Done -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=-=-=-=-=-=-=-= Build Modeling Options -=-=-=-=-=-=-=-=-=-=-=-=-=-= Error in .bm_ModelingOptions.check.args(data.type = data.type, models = models, : object 'ModelsTable' not found Calls: ecospat.CCV.modeling ... -> .bm_ModelingOptions.check.args -> paste0 Execution halted Check: for non-standard things in the check directory, Result: NOTE Found the following files/directories: ‘1768299742’