Running ‘testthat.R’ [290s/406s]
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: psychotree
  Loading required package: partykit
  Loading required package: grid
  Loading required package: libcoin
  Loading required package: mvtnorm
  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 5 | WARN 0 | SKIP 12 | PASS 242 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (12)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-itempar-PLADMM.R:82'): PLADMM itempar works for standard PL [salad pairs] ──
  Error in `qr.default(na.omit(X))`: object '.F_dqrdc2' not found
  Backtrace:
      ▆
   1. ├─BradleyTerry2::BTm(...) at test-itempar-PLADMM.R:82:12
   2. │ └─base::do.call(BTm.setup, fcall[setup], envir = parent.frame())
   3. └─BradleyTerry2 (local) `<fn>`(...)
   4.   └─BradleyTerry2:::Diff(...)
   5.     ├─base::qr(na.omit(X))
   6.     └─base::qr.default(na.omit(X))
  ── Error ('test-itempar-PLADMM.R:109'): PLADMM itempar works for PL with covariates [salad pairs] ──
  Error in `qr.default(na.omit(X))`: object '.F_dqrdc2' not found
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(...) at test-itempar-PLADMM.R:109:12
   2. │ └─base::withCallingHandlers(...)
   3. ├─BradleyTerry2::BTm(...)
   4. │ └─base::do.call(BTm.setup, fcall[setup], envir = parent.frame())
   5. └─BradleyTerry2 (local) `<fn>`(...)
   6.   └─BradleyTerry2:::Diff(...)
   7.     ├─base::qr(na.omit(X))
   8.     └─base::qr.default(na.omit(X))
  ── Error ('test-log-likelihood.R:77'): (code run outside of `test_that()`) ─────
  Error in `qr.default(na.omit(X))`: object '.F_dqrdc2' not found
  Backtrace:
      ▆
   1. ├─BradleyTerry2::BTm(rep(1, 6), p1, p2, data = BT_data) at test-log-likelihood.R:77:4
   2. │ └─base::do.call(BTm.setup, fcall[setup], envir = parent.frame())
   3. └─BradleyTerry2 (local) `<fn>`(...)
   4.   └─BradleyTerry2:::Diff(...)
   5.     ├─base::qr(na.omit(X))
   6.     └─base::qr.default(na.omit(X))
  ── Error ('test-predict-PLADMM.R:44'): PLADMM predict works for PL with covariates [salad pairs] ──
  Error in `qr.default(na.omit(X))`: object '.F_dqrdc2' not found
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(...) at test-predict-PLADMM.R:44:12
   2. │ └─base::withCallingHandlers(...)
   3. ├─BradleyTerry2::BTm(...)
   4. │ └─base::do.call(BTm.setup, fcall[setup], envir = parent.frame())
   5. └─BradleyTerry2 (local) `<fn>`(...)
   6.   └─BradleyTerry2:::Diff(...)
   7.     ├─base::qr(na.omit(X))
   8.     └─base::qr.default(na.omit(X))
  ── Error ('test-predict-PLADMM.R:84'): PLADMM predict works for PL with other contrasts [salad pairs] ──
  Error in `qr.default(na.omit(X))`: object '.F_dqrdc2' not found
  Backtrace:
      ▆
   1. ├─BradleyTerry2::BTm(...) at test-predict-PLADMM.R:84:12
   2. │ └─base::do.call(BTm.setup, fcall[setup], envir = parent.frame())
   3. └─BradleyTerry2 (local) `<fn>`(...)
   4.   └─BradleyTerry2:::Diff(...)
   5.     ├─base::qr(na.omit(X))
   6.     └─base::qr.default(na.omit(X))
  
  [ FAIL 5 | WARN 0 | SKIP 12 | PASS 242 ]
  Error: Test failures
  Execution halted