Running ‘testthat.R’ [42s/48s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ConR)
  Loading required package: raster
  Loading required package: sp
  > 
  > test_check("ConR")
    Berlinia bruneelii EOO comp.  Oncocalamus mannii EOO comp.  Platycoryne guingangae EOO comp.  Psychotria minuta EOO comp.  species_1 EOO comp.  species_2 EOO comp.  Berlinia bruneelii EOO comp.  Oncocalamus mannii EOO comp.  Platycoryne guingangae EOO comp.  Psychotria minuta EOO comp.  species_1 EOO comp.  species_2 EOO comp.── 1. Error: EOO.computing (@test-1.R#23)  ─────────────────────────────────────
  The package alpha.hull is required for this procedure, please install it
  1: EOO.computing(dataset.ex, method.range = "alpha.hull") at testthat/test-1.R:23
  2: lapply(list_data, function(x) .EOO.comp(x, Name_Sp = ifelse(ncol(XY) > 2, as.character(unique(x$tax)), 
         Name_Sp), exclude.area = exclude.area, buff_width = buff_width, country_map = country_map, 
         alpha = alpha, buff.alpha = buff.alpha, alpha.hull = alpha.hull, convex.hull = convex.hull, 
         method.less.than3 = method.less.than3, verbose = verbose))
  3: FUN(X[[i]], ...)
  4: .EOO.comp(x, Name_Sp = ifelse(ncol(XY) > 2, as.character(unique(x$tax)), Name_Sp), 
         exclude.area = exclude.area, buff_width = buff_width, country_map = country_map, 
         alpha = alpha, buff.alpha = buff.alpha, alpha.hull = alpha.hull, convex.hull = convex.hull, 
         method.less.than3 = method.less.than3, verbose = verbose)
  5: .alpha.hull.poly(cbind(XY[, 2], XY[, 1]), alpha = alpha, buff = buff.alpha)
  6: stop("The package alpha.hull is required for this procedure, please install it")
  
    Evaluation of Berlinia bruneelii  Evaluation of Oncocalamus mannii  Evaluation of Platycoryne guingangae  Evaluation of Psychotria minuta  Evaluation of species_1  Evaluation of species_2[1] "Number of species per category"
  
  EN LC VU 
   2  3  1 
  [1] "Ratio of species per category"
  
    EN   LC   VU 
  33.3 50.0 16.7 
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 21 SKIPPED: 0 FAILED: 1
  1. Error: EOO.computing (@test-1.R#23) 
  
  Error: testthat unit tests failed
  Execution halted