Running ‘testthat.R’ [4s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(EDFtest)
  > 
  > test_check("EDFtest")
  Cramer-von Mises statistic is  0.1353749 with P-value is  0.43 
  Anderson-Darling statistic is  0.553057 with P-value is  0.65 
  Watson statistic is  0.1168008 with P-value is  0.26 
  Cramer-von Mises statistic is  0.0515556 with P-value is  0.41 
  Anderson-Darling statistic is  0.3805048 with P-value is  0.33 
  Watson statistic is  0.044353 with P-value is  0.57 
  Cramer-von Mises statistic is  0.029696 with P-value is  0.88 
  Anderson-Darling statistic is  0.201391 with P-value is  0.89 
  Watson statistic is  0.0277846 with P-value is  0.9 
  Cramer-von Mises statistic is  0.1473938 with P-value is  0.23 
  Anderson-Darling statistic is  0.9103171 with P-value is  0.21 
  Watson statistic is  0.1317892 with P-value is  0.27 
  Cramer-von Mises statistic is  0.0460134 with P-value is  0.58 
  Anderson-Darling statistic is  0.3099325 with P-value is  0.61 
  Watson statistic is  0.0457184 with P-value is  0.6 
  Cramer-von Mises statistic is  0.1417365 with P-value is  0.2 
  Anderson-Darling statistic is  0.9301178 with P-value is  0.16 
  Watson statistic is  0.0882448 with P-value is  0.41 
  [ FAIL 1 | WARN 11 | SKIP 0 | PASS 147 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-gof.bootstrap.R:42:3): gof bootstrap method for logistic sample ──
  Error in `eigen(-Hessian)`: infinite or missing values in 'x'
  Backtrace:
      ▆
   1. └─EDFtest::gof.logistic.bootstrap(x, M = 100) at test-gof.bootstrap.R:42:2
   2.   └─base::apply(dat, 1, AD.logistic)
   3.     └─EDFtest (local) FUN(newX[, i], ...)
   4.       ├─EDFtest:::cdf.logistic(x, parameter)
   5.       │ └─stats::plogis(x, location = theta[1], scale = theta[2])
   6.       └─EDFtest::estimate.logistic(x)
   7.         └─EDFtest (local) hessianscore.logistic(x, theta = thetanew)
   8.           └─base::eigen(-Hessian)
  
  [ FAIL 1 | WARN 11 | SKIP 0 | PASS 147 ]
  Error: Test failures
  Execution halted