CRAN Package Check Results for Package biomod2

Last updated on 2026-02-12 04:52:26 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 4.3-4-5 OK
r-devel-linux-x86_64-debian-gcc 4.3-4-5 39.73 330.62 370.35 OK
r-devel-linux-x86_64-fedora-clang 4.3-4-5 105.00 767.84 872.84 OK
r-devel-linux-x86_64-fedora-gcc 4.3-4-5 103.00 750.69 853.69 OK
r-devel-macos-arm64 4.3-4-5 15.00 97.00 112.00 ERROR
r-devel-windows-x86_64 4.3-4-5 63.00 420.00 483.00 OK
r-patched-linux-x86_64 4.3-4-5 59.52 456.95 516.47 OK
r-release-linux-x86_64 4.3-4-5 61.70 461.85 523.55 OK
r-release-macos-arm64 4.3-4-5 14.00 111.00 125.00 OK
r-release-macos-x86_64 4.3-4-5 44.00 658.00 702.00 OK
r-release-windows-x86_64 4.3-4-5 67.00 446.00 513.00 NOTE
r-oldrel-macos-arm64 4.3-4-5 16.00 115.00 131.00 OK
r-oldrel-macos-x86_64 4.3-4-5 44.00 630.00 674.00 OK
r-oldrel-windows-x86_64 4.3-4-5 87.00 565.00 652.00 OK

Check Details

Version: 4.3-4-5
Check: examples
Result: ERROR Running examples in ‘biomod2-Ex.R’ failed The error most likely occurred in: > ### Name: bm_CrossValidation > ### Title: Build cross-validation table > ### Aliases: bm_CrossValidation bm_CrossValidation_user.defined > ### bm_CrossValidation_user.defined,BIOMOD.formated.data-method > ### bm_CrossValidation_user.defined,BIOMOD.formated.data.PA-method > ### bm_CrossValidation_random > ### bm_CrossValidation_random,BIOMOD.formated.data-method > ### bm_CrossValidation_random,BIOMOD.formated.data.PA-method > ### bm_CrossValidation_kfold > ### bm_CrossValidation_kfold,BIOMOD.formated.data-method > ### bm_CrossValidation_kfold,BIOMOD.formated.data.PA-method > ### bm_CrossValidation_block > ### bm_CrossValidation_block,BIOMOD.formated.data-method > ### bm_CrossValidation_block,BIOMOD.formated.data.PA-method > ### bm_CrossValidation_strat > ### bm_CrossValidation_strat,BIOMOD.formated.data-method > ### bm_CrossValidation_strat,BIOMOD.formated.data.PA-method > ### bm_CrossValidation_env > ### bm_CrossValidation_env,BIOMOD.formated.data-method > ### bm_CrossValidation_env,BIOMOD.formated.data.PA-method > > ### ** Examples > > library(terra) terra 1.8.93 Attaching package: ‘terra’ The following object is masked from ‘package:plotrix’: rescale > > # Load species occurrences (6 species available) > data(DataSpecies) > head(DataSpecies) X_WGS84 Y_WGS84 ConnochaetesGnou GuloGulo PantheraOnca PteropusGiganteus 1 -94.5 82.00001 0 0 0 0 2 -91.5 82.00001 0 1 0 0 3 -88.5 82.00001 0 1 0 0 4 -85.5 82.00001 0 1 0 0 5 -82.5 82.00001 0 1 0 0 6 -79.5 82.00001 0 1 0 0 TenrecEcaudatus VulpesVulpes 1 0 0 2 0 0 3 0 0 4 0 0 5 0 0 6 0 0 > > # Select the name of the studied species > myRespName <- 'GuloGulo' > > # Get corresponding presence/absence data > myResp <- as.numeric(DataSpecies[, myRespName]) > > # Get corresponding XY coordinates > myRespXY <- DataSpecies[, c('X_WGS84', 'Y_WGS84')] > > # Load environmental variables extracted from BIOCLIM (bio_3, bio_4, bio_7, bio_11 & bio_12) > data(bioclim_current) > myExpl <- terra::rast(bioclim_current) > > ## Don't show: > myExtent <- terra::ext(0,30,45,70) > myExpl <- terra::crop(myExpl, myExtent) > ## End(Don't show) > > # --------------------------------------------------------------- # > # Format Data with true absences > myBiomodData <- BIOMOD_FormatingData(resp.name = myRespName, + resp.var = myResp, + resp.xy = myRespXY, + expl.var = myExpl) -=-=-=-=-=-=-=-=-=-=-=-=-=-= GuloGulo Data Formating -=-=-=-=-=-=-=-=-=-=-=-=-=-= !!! Some data are located in the same raster cell. Please set `filter.raster = TRUE` if you want an automatic filtering. ! Some NAs have been automatically removed from your data -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Done -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > > # --------------------------------------------------------------- # > # Create the different validation datasets > > # random selection > cv.r <- bm_CrossValidation(bm.format = myBiomodData, + strategy = "random", + nb.rep = 3, + k = 0.8) Checking Cross-Validation arguments... > Random cross-validation selection > > # k-fold selection > cv.k <- bm_CrossValidation(bm.format = myBiomodData, + strategy = "kfold", + nb.rep = 2, + k = 3) Checking Cross-Validation arguments... > k-fold cross-validation selection > > # block selection > cv.b <- bm_CrossValidation(bm.format = myBiomodData, + strategy = "block") Checking Cross-Validation arguments... > Block cross-validation selectionError in .local(bm.format, ...) : Package 'ENMeval' not found Calls: bm_CrossValidation ... bm_CrossValidation_block -> bm_CrossValidation_block -> .local Execution halted Flavor: r-devel-macos-arm64

Version: 4.3-4-5
Check: whether startup messages can be suppressed
Result: NOTE Torch libraries are installed but loading them was unsuccessful. It looks like this package (or a package it requires) has a startup message which cannot be suppressed: see ?packageStartupMessage. Flavor: r-release-windows-x86_64