Running 'testthat.R' [188s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(PlackettLuce)
  > 
  > test_check("PlackettLuce")
  Loading required package: prefmod
  Loading required package: gnm
  Loading required package: colorspace
  Loading required package: lbfgs
  Rankings with only 1 item set to `NA`
  
  Attaching package: 'BradleyTerry2'
  
  The following object is masked from 'package:prefmod':
  
      baseball
  
  Loading required package: Matrix
  Loading required package: StatRank
  Loading required package: psychotree
  Loading required package: partykit
  Loading required package: grid
  Loading required package: libcoin
  Loading required package: mvtnorm
  
  Attaching package: 'mvtnorm'
  
  The following object is masked from 'package:gnm':
  
      Mult
  
  Loading required package: psychotools
  Recoded rankings that are not in dense form
  Loading required package: sandwich
  Rankings with only 1 item set to `NA`
  Rankings with only 1 item set to `NA`
  Rankings with only 1 item set to `NA`
  [ FAIL 1 | WARN 0 | SKIP 12 | PASS 273 ]
  
  ══ Skipped tests (12) ══════════════════════════════════════════════════════════
  • On CRAN (12): 'test-S3-methods-PLADMM.R:7:9',
    'test-S3-methods-PLADMM.R:11:9', 'test-S3-methods.R:18:5',
    'test-S3-methods.R:22:5', 'test-S3-methods.R:26:5', 'test-S3-methods.R:30:5',
    'test-adherence.R:93:5', 'test-pltree.R:226:5', 'test-preflib.R:4:5',
    'test-preflib.R:11:5', 'test-preflib.R:19:5', 'test-preflib.R:27:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (???): vcov.PlackettLuce matches vcov.gnm [partial + ties] ────────────
  Error in `model.frame.default(formula = y ~ Mult(offset(rep(1, n)), X[, 
      1:4]) + X[, 5:6] - 1, eliminate = as.factor(z), data = dat, 
      drop.unused.levels = TRUE)`: variable lengths differ (found for 'Mult(offset(rep(1, n)), X[, 1:4])')
  Backtrace:
      ▆
   1. ├─stats::model.frame(...)
   2. └─stats::model.frame.default(...)
  
  [ FAIL 1 | WARN 0 | SKIP 12 | PASS 273 ]
  Error: Test failures
  Execution halted