Running ‘testthat.R’ [59s/70s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(lax)
  > 
  > test_check("lax")
  ── 1. Error: (unknown) (@test-logLik-extRemes.R#181)  ──────────────────────────
  the leading minor of order 6 is not positive definite
  Backtrace:
   1. lax::alogLik(fitPP)
   2. lax:::alogLik.fevd(fitPP)
   3. lax:::adj_object(x, cluster = cluster, use_vcov = use_vcov, ...)
   4. chandwich::adjust_loglik(...)
   6. base::chol.default(-HAinv)
  
  $model
  $model[[1]]
  [1] 1 2
  
  $model[[2]]
  NULL
  
  $model[[3]]
  NULL
  
  
  $link
  [1] "c(identity, identity, identity)"
  
  $conv
  [1] 0
  
  $nllh
  [1] -53.89875
  
  $mle
  [1]  1.382217160  0.002113918  0.054508822  0.120731332 -0.149979094
  
  $se
  [1] 0.0281577438 0.0004820909 0.0196767149 0.0100214534 0.0636525990
  
  $model
  $model[[1]]
  [1] 1
  
  $model[[2]]
  NULL
  
  
  $link
  [1] "c(exp, identity)"
  
  $threshold
  [1] 30
  
  $nexc
  [1] 152
  
  $conv
  [1] 0
  
  $nllh
  [1] 484.6017
  
  $mle
  [1] 1.8032498 0.3458575 0.1984518
  
  $rate
  [1] 0.008670355
  
  $se
  [1] 0.2420275 0.3475657 0.1018639
  
  $threshold
  [1] 10
  
  $npy
  [1] 365
  
  $nexc
  [1] 2003
  
  $conv
  [1] 0
  
  $nllh
  [1] 654.1277
  
  $mle
  [1] 40.53635035  8.98134885  0.05055011
  
  $se
  [1] 1.00156027 0.60129255 0.02253765
  
  
  Call:
  return_level(x = adj_M1, m = 100)
  
  MLE and 95% confidence limits for the 100-observation return level
  
  Normal interval:
  lower    mle  upper  
  4.711  6.993  9.274  
  
   Profile likelihood-based interval:
   lower     mle   upper  
   5.303   6.993  10.356  
  
  Call:
  return_level(x = adj_M1, m = 100)
  
  MLE and 95% confidence limits for the 100-observation return level
  
  Normal interval:
  lower    mle  upper  
  4.711  6.993  9.274  
  
   Profile likelihood-based interval:
   lower     mle   upper  
   5.303   6.993  10.356  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 114 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
  1. Error: (unknown) (@test-logLik-extRemes.R#181) 
  
  Error: testthat unit tests failed
  Execution halted