Running ‘spelling.R’
  Running ‘testthat.R’ [66s/94s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > library("papaja")
  Loading required package: tinylabels
  > 
  > test_check("papaja")
  Error in validObject(.Object) : 
    invalid class "dsparseModelMatrix" object: superclass "xMatrix" not defined in the environment of the object's class
  Error in validObject(.Object) : 
    invalid class "dsparseModelMatrix" object: superclass "xMatrix" not defined in the environment of the object's class
  Error in validObject(.Object) : 
    invalid class "dsparseModelMatrix" object: superclass "xMatrix" not defined in the environment of the object's class
  Error in validObject(.Object) : 
    invalid class "dsparseModelMatrix" object: superclass "xMatrix" not defined in the environment of the object's class
  Error in validObject(.Object) : 
    invalid class "dsparseModelMatrix" object: superclass "xMatrix" not defined in the environment of the object's class
  Error in validObject(.Object) : 
    invalid class "ddenseModelMatrix" object: superclass "xMatrix" not defined in the environment of the object's class
  Error in validObject(.Object) : 
    invalid class "ddenseModelMatrix" object: superclass "xMatrix" not defined in the environment of the object's class
  Error in validObject(.Object) : 
    invalid class "dsparseModelMatrix" object: superclass "xMatrix" not defined in the environment of the object's class
  Error in validObject(.Object) : 
    invalid class "dsparseModelMatrix" object: superclass "xMatrix" not defined in the environment of the object's class
  Error in validObject(.Object) : 
    invalid class "dsparseModelMatrix" object: superclass "xMatrix" not defined in the environment of the object's class
  Error in validObject(.Object) : 
    invalid class "dsparseModelMatrix" object: superclass "xMatrix" not defined in the environment of the object's class
  [ FAIL 3 | WARN 0 | SKIP 10 | PASS 2309 ]
  
  ══ Skipped tests (10) ══════════════════════════════════════════════════════════
  • On CRAN (7): 'test-generate_author_yml.R:18:5',
    'test_apa_print_merMod.R:6:5', 'test_apa_print_merMod.R:117:5',
    'test_apa_print_model_comp.R:83:5', 'test_apa_table.R:19:5',
    'test_custom_effect_sizes.R:109:5', 'test_skeleton.R:4:5'
  • Structure of glht output not decided, yet. (2): 'test_apa_print_glht.R:7:5',
    'test_apa_print_glht.R:36:5'
  • emtrends() is not yet supported. (1): 'test_apa_print_emm_lsm.R:936:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_apa_print_BFBayesFactor.R:339:5'): anovaBF() ───────────────────
  Error in `if (scientific) {
      args_stat$format <- "e"
      if (is.null(args_stat$digits)) 
          args_stat$digits <- 2
  }`: missing value where TRUE/FALSE needed
  Backtrace:
      ▆
   1. ├─papaja::apa_print(anova_bf_main) at test_apa_print_BFBayesFactor.R:339:5
   2. └─papaja:::apa_print.BFBayesFactor(anova_bf_main)
  ── Error ('test_apa_print_BFBayesFactor.R:511:5'): lmBF() ──────────────────────
  Error in `if (scientific) {
      args_stat$format <- "e"
      if (is.null(args_stat$digits)) 
          args_stat$digits <- 2
  }`: missing value where TRUE/FALSE needed
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(apa_print(bf_full)$statistic, "$\\mathrm{BF}_{\\textrm{10}} = 3,421.93$") at test_apa_print_BFBayesFactor.R:511:5
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─papaja::apa_print(bf_full)
   5. └─papaja:::apa_print.BFBayesFactor(bf_full)
  ── Error ('test_apa_print_BFBayesFactor.R:548:5'): generalTestBF() ─────────────
  Error in `if (scientific) {
      args_stat$format <- "e"
      if (is.null(args_stat$digits)) 
          args_stat$digits <- 2
  }`: missing value where TRUE/FALSE needed
  Backtrace:
      ▆
   1. ├─papaja::apa_print(bf) at test_apa_print_BFBayesFactor.R:548:5
   2. └─papaja:::apa_print.BFBayesFactor(bf)
  
  [ FAIL 3 | WARN 0 | SKIP 10 | PASS 2309 ]
  Error: Test failures
  Execution halted