Running ‘testthat.R’ [4s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # Test configuration for EmpiricalDynamics package
  > 
  > library(testthat)
  > library(EmpiricalDynamics)
  > 
  > test_check("EmpiricalDynamics")
  Primary solver failed, trying SCS...
  Saving _problems/test-preprocessing-49.R
  Variable specification:
    Endogenous: Z
    Coupled: X
    Exogenous: Y
    Time: time
  Suggested method: spline
  Reason: High noise level detected
  Primary optimization method failed: evaluation of fn function returns non-sensible value!
  Attempting fallback to standard NLS...
  Primary optimization method failed: evaluation of fn function returns non-sensible value!
  Attempting fallback to standard NLS...
  Primary optimization method failed: evaluation of fn function returns non-sensible value!
  Attempting fallback to standard NLS...
  Primary optimization method failed: evaluation of fn function returns non-sensible value!
  Attempting fallback to standard NLS...
  Primary optimization method failed: evaluation of fn function returns non-sensible value!
  Attempting fallback to standard NLS...
  Primary optimization method failed: evaluation of fn function returns non-sensible value!
  Attempting fallback to standard NLS...
  Primary optimization method failed: evaluation of fn function returns non-sensible value!
  Attempting fallback to standard NLS...
  Primary optimization method failed: evaluation of fn function returns non-sensible value!
  Attempting fallback to standard NLS...
  Primary optimization method failed: evaluation of fn function returns non-sensible value!
  Attempting fallback to standard NLS...
  Primary optimization method failed: evaluation of fn function returns non-sensible value!
  Attempting fallback to standard NLS...
  Primary optimization method failed: evaluation of fn function returns non-sensible value!
  Attempting fallback to standard NLS...
  Primary optimization method failed: evaluation of fn function returns non-sensible value!
  Attempting fallback to standard NLS...
  Primary optimization method failed: evaluation of fn function returns non-sensible value!
  Attempting fallback to standard NLS...
  Primary optimization method failed: evaluation of fn function returns non-sensible value!
  Attempting fallback to standard NLS...
  Primary optimization method failed: evaluation of fn function returns non-sensible value!
  Attempting fallback to standard NLS...
  Primary optimization method failed: evaluation of fn function returns non-sensible value!
  Attempting fallback to standard NLS...
  Primary optimization method failed: evaluation of fn function returns non-sensible value!
  Attempting fallback to standard NLS...
  Primary optimization method failed: evaluation of fn function returns non-sensible value!
  Attempting fallback to standard NLS...
  [ FAIL 1 | WARN 1 | SKIP 4 | PASS 82 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • On CRAN (3): 'test-symbolic_search.R:97:3', 'test-validation.R:277:3',
    'test-validation.R:318:3'
  • estimate_sde_iterative failed (1): 'test-validation.R:158:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-preprocessing.R:49:3'): compute_derivative TVR requires CVXR ───
  Error in `result$getValue(dZ)`: attempt to apply non-function
  Backtrace:
      ▆
   1. └─EmpiricalDynamics::compute_derivative(...) at test-preprocessing.R:49:3
   2.   └─EmpiricalDynamics::compute_derivative_tvr(Z, t, ...)
   3.     └─base::as.vector(result$getValue(dZ))
  
  [ FAIL 1 | WARN 1 | SKIP 4 | PASS 82 ]
  Error:
  ! Test failures.
  Execution halted