Running ‘scDIFtest.R’ [21s/21s]
  Running ‘testthat.R’ [22s/23s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(scDIFtest)
  > 
  > test_check("scDIFtest")
  ── 1. Failure: summary method works (@test_scDIFtest.R#68)  ────────────────────
  s1[1, 3] not equal to 0.56138988383521.
  1/1 mismatches
  [1] 0.56 - 0.561 == -0.00104
  
  ── 2. Failure: summary method works (@test_scDIFtest.R#69)  ────────────────────
  s1[2, 4] not equal to 0.10967321768704.
  1/1 mismatches
  [1] 0.11 - 0.11 == 1.86e-05
  
  ── 3. Failure: summary method works (@test_scDIFtest.R#71)  ────────────────────
  s2[1, 3] not equal to 9.34718509764.
  1/1 mismatches
  [1] 9.35 - 9.35 == 5.95e-05
  
  
  	Score Based DIF-tests for 5 items
  	Person covariate: factor
  	Test statistic type: Lagrange Multiplier Test for Unordered Groups
  
         item_type n_est_pars      stat   p_value     p_fdr
  Item.1       2PL          1 0.5603486 0.4541198 0.7525711
  Item.2       2PL          2 4.4201607 0.1096918 0.4812898
  Item.3       2PL          2 0.5685195 0.7525711 0.7525711
  Item.4       2PL          2 3.2951529 0.1925159 0.4812898
  Item.5       2PL          2 0.8381892 0.6576420 0.7525711
  
  	DIF-test for Item.2
  	Person covariate: factor
  	Test statistic type: Lagrange Multiplier Test for Unordered Groups
  
  	M-fluctuation test
  
  data:  dat
  f(efp) = 4.4202, p-value = 0.1097
  
  
  	DIF-test for Item.3
  	Person covariate: 1:1000
  	Test statistic type: Double Maximum Test
  
  No Result: The limiting process for this item is not a Brownian bridge.
  Use 'decorrelate = TRUE'.
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 23 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 3 ]
  1. Failure: summary method works (@test_scDIFtest.R#68) 
  2. Failure: summary method works (@test_scDIFtest.R#69) 
  3. Failure: summary method works (@test_scDIFtest.R#71) 
  
  Error: testthat unit tests failed
  Execution halted