Running 'spelling.R' [0s]
  Running 'testthat.R' [189s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(EstimationTools)
  Loading required package: survival
  Loading required package: DEoptim
  Loading required package: parallel
  
  DEoptim package
  Differential Evolution algorithm in R
  Authors: D. Ardia, K. Mullen, B. Peterson and J. Ulrich
  
  Loading required package: BBmisc
  
  Attaching package: 'BBmisc'
  
  The following object is masked from 'package:base':
  
      isFALSE
  
  Loading required package: GA
  Loading required package: foreach
  Loading required package: iterators
  Package 'GA' version 3.2.3
  Type 'citation("GA")' for citing this R package in publications.
  
  Attaching package: 'GA'
  
  The following object is masked from 'package:utils':
  
      de
  
  Loading required package: gaussquad
  Loading required package: orthopolynom
  
  
  ><<<<<<<<<<<<<<<<<<<<<<<<   EstimationTools Version 4.0.0   >>>>>>>>>>>>>>>>>>>>>>>><
    Feel free to report bugs in https://github.com/Jaimemosg/EstimationTools/issues
  > 
  > test_check("EstimationTools")
  --------------------------------------------------------------------
  Hazard shape: Unimodal
  --------------------------------------------------------------------
  Successful estimate!
  Loading required package: MASS
  [ FAIL 1 | WARN 0 | SKIP 8 | PASS 23 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (8)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-loess_options.R:5:3'): loess.options test ──────────────────────
  Error in `predLoess(object$y, object$x, newx = if (is.null(newdata)) object$x else if (is.data.frame(newdata)) as.matrix(model.frame(delete.response(terms(object)), 
      newdata, na.action = na.action)) else as.matrix(newdata), 
      object$s, object$weights, object$robust, op$span, op$degree, 
      op$normalize, op$parametric, op$drop.square, op$surface, 
      op$cell, op$family, object$kd, object$divisor, se = se)`: 'R_Calloc' could not allocate memory (50054 of 4 bytes)
  Backtrace:
      ▆
   1. ├─EstimationTools::TTT_hazard_shape(formula = y ~ 1, local_reg = myoptions) at test-loess_options.R:5:2
   2. └─EstimationTools:::TTT_hazard_shape.formula(formula = y ~ 1, local_reg = myoptions)
   3.   └─base::sapply(g2[, 1], criteria, x_val = 0, y_val = 1, g3 = g3)
   4.     └─base::lapply(X = X, FUN = FUN, ...)
   5.       └─EstimationTools (local) FUN(X[[i]], ...)
   6.         ├─stats::predict(g3, newdata = c(x_val, y_val))
   7.         └─stats:::predict.loess(g3, newdata = c(x_val, y_val))
   8.           └─stats:::predLoess(...)
  
  [ FAIL 1 | WARN 0 | SKIP 8 | PASS 23 ]
  Error: Test failures
  Execution halted