- using R version 4.3.1 beta (2023-06-05 r84502)
- using platform: x86_64-pc-linux-gnu (64-bit)
- R was compiled by
gcc-11 (Debian 11.3.0-12) 11.3.0
GNU Fortran (Debian 11.3.0-12) 11.3.0
- running under: Debian GNU/Linux 12 (bookworm)
- using session charset: UTF-8
- 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 serialization versions ... OK
- checking whether package ‘PlackettLuce’ can be installed ... OK
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [5s/6s] OK
- checking whether the package can be loaded with stated dependencies ... [5s/6s] OK
- checking whether the package can be unloaded cleanly ... [5s/6s] OK
- checking whether the namespace can be loaded with stated dependencies ... [5s/6s] OK
- checking whether the namespace can be unloaded cleanly ... [5s/6s] OK
- checking loading without being on the library search path ... [5s/6s] 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 ... [40s/47s] OK
- checking Rd files ... [1s/1s] 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 ... [0s/1s] 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 ... [16s/21s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
pltree-summaries 5.314 0.1 6.913
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [228s/275s] ERROR
Running ‘testthat.R’ [227s/275s]
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 ... [26s/30s] OK
- checking PDF version of manual ... [7s/9s] OK
- checking HTML version of manual ... [2s/4s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR