Running ‘testthat.R’ [21s/21s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(easyRasch2)
  > 
  > test_check("easyRasch2")
  
  
  
  
  
  Model was refitted with only complete cases
  2026-08-07 16:29:40.624 R[31832:344074] XType: Using static font registry.
  
  
  
  
  
  
  Saving _problems/test-reliability-170.R
  Saving _problems/test-reliability-183.R
  [ FAIL 2 | WARN 0 | SKIP 163 | PASS 538 ]
  
  ══ Skipped tests (163) ═════════════════════════════════════════════════════════
  • On CRAN (139): 'test-bootstrap_restscore.R:23:3',
    'test-bootstrap_restscore.R:37:3', 'test-bootstrap_restscore.R:48:3',
    'test-bootstrap_restscore.R:59:3', 'test-cfa_cutoff.R:71:3',
    'test-cfa_cutoff.R:108:3', 'test-cfa_cutoff.R:128:3',
    'test-cfa_cutoff.R:140:3', 'test-cfa_cutoff.R:166:3',
    'test-cfa_cutoff.R:183:3', 'test-cfa_cutoff.R:206:3',
    'test-cfa_cutoff.R:244:3', 'test-cfa_cutoff.R:266:3',
    'test-cfa_cutoff.R:284:3', 'test-cfa_cutoff.R:297:3',
    'test-conditional_infit.R:250:3', 'test-conditional_infit.R:272:3',
    'test-conditional_infit.R:293:3', 'test-dif_tree.R:116:3',
    'test-dif_tree.R:144:3', 'test-dif_tree.R:158:3', 'test-dif_tree.R:174:3',
    'test-dif_tree.R:191:3', 'test-dif_tree.R:210:3', 'test-dif_tree.R:223:3',
    'test-dif_tree.R:238:3', 'test-dif_tree.R:256:3', 'test-dif_tree.R:275:3',
    'test-dif_tree.R:300:3', 'test-dif_tree.R:310:3', 'test-dif_tree.R:321:3',
    'test-dif_tree.R:331:3', 'test-dif_tree.R:367:3', 'test-dif_tree.R:380:3',
    'test-dif_tree.R:393:3', 'test-dif_tree.R:403:3', 'test-dif_tree.R:415:3',
    'test-infit_cutoff.R:21:3', 'test-infit_cutoff.R:32:3',
    'test-infit_cutoff.R:42:3', 'test-infit_cutoff.R:52:1',
    'test-infit_cutoff.R:62:3', 'test-infit_cutoff.R:74:3',
    'test-infit_cutoff_plot.R:14:3', 'test-infit_cutoff_plot.R:29:3',
    'test-infit_cutoff_plot.R:41:3', 'test-infit_cutoff_plot.R:53:3',
    'test-infit_cutoff_plot.R:70:3', 'test-infit_mi.R:42:3',
    'test-infit_mi.R:59:3', 'test-infit_mi.R:90:3', 'test-infit_mi.R:102:3',
    'test-infit_mi.R:120:3', 'test-infit_mi.R:138:1', 'test-infit_mi.R:161:3',
    'test-infit_mi.R:185:1', 'test-infit_mi.R:194:1', 'test-infit_mi.R:209:3',
    'test-infit_mi.R:221:3', 'test-infit_mi.R:246:3', 'test-infit_pvalue.R:54:3',
    'test-infit_pvalue.R:76:3', 'test-infit_pvalue.R:86:3',
    'test-infit_pvalue.R:100:3', 'test-infit_pvalue.R:116:3',
    'test-infit_pvalue.R:132:3', 'test-infit_pvalue.R:159:3',
    'test-infit_pvalue.R:177:3', 'test-item_person_parameters.R:160:1',
    'test-local_dependence.R:70:3', 'test-local_dependence.R:86:3',
    'test-local_dependence.R:98:3', 'test-local_dependence.R:113:3',
    'test-local_dependence.R:147:3', 'test-local_dependence.R:163:3',
    'test-local_dependence.R:182:3', 'test-local_dependence.R:207:3',
    'test-local_dependence.R:225:3', 'test-local_dependence.R:259:3',
    'test-local_dependence.R:271:3', 'test-local_dependence.R:280:3',
    'test-local_dependence.R:310:3', 'test-local_dependence.R:331:3',
    'test-local_dependence.R:351:3', 'test-local_dependence.R:385:3',
    'test-martin_lof.R:43:3', 'test-martin_lof.R:66:3', 'test-martin_lof.R:80:3',
    'test-martin_lof.R:136:3', 'test-martin_lof.R:148:3',
    'test-martin_lof.R:160:3', 'test-martin_lof.R:173:3',
    'test-martin_lof.R:201:3', 'test-partgam_dif.R:67:3',
    'test-partgam_dif.R:91:3', 'test-partgam_dif.R:109:3',
    'test-partgam_dif.R:123:3', 'test-partgam_dif.R:141:3',
    'test-partgam_dif.R:173:3', 'test-partgam_dif.R:191:3',
    'test-partgam_dif.R:248:3', 'test-partgam_dif.R:302:3',
    'test-partgam_ld.R:101:3', 'test-partgam_ld.R:161:3',
    'test-partgam_ld.R:173:3', 'test-partgam_ld.R:186:3',
    'test-partgam_ld.R:197:3', 'test-partgam_ld.R:221:3',
    'test-partgam_ld.R:250:3', 'test-partgam_ld.R:266:3',
    'test-partgam_ld.R:325:3', 'test-partgam_ld.R:352:3',
    'test-person_fit.R:42:3', 'test-person_fit.R:80:3', 'test-person_fit.R:93:3',
    'test-person_fit.R:111:3', 'test-person_fit.R:122:3',
    'test-person_fit.R:133:3', 'test-person_fit.R:164:3',
    'test-person_fit.R:192:3', 'test-person_fit.R:201:3',
    'test-person_fit.R:215:3', 'test-person_fit.R:236:3',
    'test-person_fit.R:248:3', 'test-person_fit.R:255:3',
    'test-person_fit.R:267:3', 'test-person_fit.R:284:3',
    'test-person_fit.R:304:3', 'test-person_fit.R:327:3',
    'test-person_fit.R:349:3', 'test-person_fit.R:362:3',
    'test-reliability.R:22:3', 'test-reliability.R:40:3',
    'test-reliability.R:95:3', 'test-reliability.R:115:3',
    'test-residual_pca.R:103:3', 'test-residual_pca.R:118:3',
    'test-residual_pca.R:140:3', 'test-residual_pca.R:159:3'
  • dir.exists(r_dir) is not TRUE (1): 'test-documentation.R:15:3'
  • ggdist is installed; skipping missing-package error path test (1):
    'test-conditional_infit.R:235:3'
  • iarm is installed; skipping missing-package error path (2):
    'test-partgam_dif.R:14:3', 'test-partgam_ld.R:14:3'
  • iarm is installed; skipping missing-package error path test (2):
    'test-conditional_infit.R:2:3', 'test-item_restscore.R:3:3'
  • lavaan is installed; skipping missing-package error path test (1):
    'test-cfa_cutoff.R:11:3'
  • {difR} cannot be loaded (8): 'test-dif_tree.R:75:3', 'test-dif_tree.R:81:3',
    'test-dif_tree.R:90:3', 'test-dif_tree.R:101:3', 'test-dif_tree.R:127:3',
    'test-dif_tree.R:425:3', 'test-dif_tree.R:434:3', 'test-dif_tree.R:454:3'
  • {mirt} cannot be loaded (9): 'test-item_person_parameters.R:187:3',
    'test-local_dependence.R:2:3', 'test-local_dependence.R:10:3',
    'test-local_dependence.R:22:3', 'test-local_dependence.R:42:3',
    'test-local_dependence.R:55:3', 'test-local_dependence.R:293:3',
    'test-local_dependence.R:302:3', 'test-score_se.R:90:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-reliability.R:170:3'): RMreliability drops all-NA respondents instead of erroring ──
  Error in `dyn.load(file, DLLpath = DLLpath, ...)`: unable to load shared object '/Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/qs2/libs/qs2.so':
    dlopen(/Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/qs2/libs/qs2.so, 0x0006): Symbol not found: __ZN3tbb4task13note_affinityEt
    Referenced from: <54874AC9-C2D6-35D2-B691-7795CC173DDF> /Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/qs2/libs/qs2.so
    Expected in:     <19808012-A1B2-3B09-96AF-8CD76F4F4F8D> /Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/RcppParallel/lib/libtbb.dylib
  Backtrace:
       ▆
    1. ├─testthat::expect_message(k <- RMreliability(df), "no responses dropped") at test-reliability.R:170:3
    2. │ └─testthat:::expect_condition_matching_(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─easyRasch2::RMreliability(df)
    8. └─base::loadNamespace(x)
    9.   ├─base::namespaceImportFrom(...)
   10.   │ └─base::asNamespace(ns)
   11.   └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   12.     ├─base::namespaceImportFrom(...)
   13.     │ └─base::asNamespace(ns)
   14.     └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   15.       └─base::library.dynam(lib, package, package.lib)
   16.         └─base::dyn.load(file, DLLpath = DLLpath, ...)
  ── Error ('test-reliability.R:181:3'): RMreliability is reproducible with the same seed (incl. RMU) ──
  Error in `dyn.load(file, DLLpath = DLLpath, ...)`: unable to load shared object '/Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/qs2/libs/qs2.so':
    dlopen(/Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/qs2/libs/qs2.so, 0x0006): Symbol not found: __ZN3tbb4task13note_affinityEt
    Referenced from: <54874AC9-C2D6-35D2-B691-7795CC173DDF> /Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/qs2/libs/qs2.so
    Expected in:     <19808012-A1B2-3B09-96AF-8CD76F4F4F8D> /Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/RcppParallel/lib/libtbb.dylib
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-reliability.R:181:3
    2. │ └─base::withCallingHandlers(...)
    3. ├─easyRasch2::RMreliability(...)
    4. └─base::loadNamespace(x)
    5.   ├─base::namespaceImportFrom(...)
    6.   │ └─base::asNamespace(ns)
    7.   └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
    8.     ├─base::namespaceImportFrom(...)
    9.     │ └─base::asNamespace(ns)
   10.     └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   11.       └─base::library.dynam(lib, package, package.lib)
   12.         └─base::dyn.load(file, DLLpath = DLLpath, ...)
  
  [ FAIL 2 | WARN 0 | SKIP 163 | PASS 538 ]
  Error:
  ! Test failures.
  Execution halted