- using R Under development (unstable) (2023-06-03 r84490)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 16.0.5
GNU Fortran (GCC) 13.1.0
- running under: Fedora Linux 36 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘PlackettLuce/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘PlackettLuce’ version ‘0.4.2’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘PlackettLuce’ can be installed ... [32s/82s] OK
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [7s/17s] OK
- checking whether the package can be loaded with stated dependencies ... [7s/16s] OK
- checking whether the package can be unloaded cleanly ... [7s/18s] OK
- checking whether the namespace can be loaded with stated dependencies ... [7s/19s] OK
- checking whether the namespace can be unloaded cleanly ... [7s/21s] OK
- checking loading without being on the library search path ... [8s/20s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [54s/154s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [22s/61s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [284s/463s] ERROR
Running ‘testthat.R’ [284s/462s]
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 ═══════════════════════════════════════════════════════════════
• On CRAN (12)
══ 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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking re-building of vignette outputs ... [35s/92s] OK
- checking PDF version of manual ... [9s/27s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR