* using log directory ‘/data/gannet/ripley/R/packages/tests-Suggests/PlackettLuce.Rcheck’ * using R Under development (unstable) (2024-04-19 r86451) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-13 (GCC) 13.2.0 GNU Fortran (GCC) 13.2.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.3’ * 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/52s] 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 code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... [7s/10s] OK * checking loading without being on the library search path ... [7s/10s] 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 ... [51s/70s] OK * checking Rd files ... NOTE checkRd: (-1) adjacency.Rd:27: Lost braces; missing escapes or markup? 27 | item j. For example, in the ranking \\{1\\} > \\{3, 4\\} > \\{2\\}, | ^ checkRd: (-1) adjacency.Rd:27: Lost braces; missing escapes or markup? 27 | item j. For example, in the ranking \\{1\\} > \\{3, 4\\} > \\{2\\}, | ^ checkRd: (-1) adjacency.Rd:27: Lost braces; missing escapes or markup? 27 | item j. For example, in the ranking \\{1\\} > \\{3, 4\\} > \\{2\\}, | ^ checkRd: (-1) rankings.Rd:127: Lost braces; missing escapes or markup? 127 | rank skipped. For example {1, 0, 2, 1}, ranks the first and fourth items in | ^ * 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 ... [20s/28s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [262s/366s] [262s/366s] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(PlackettLuce) > > test_check("PlackettLuce") Loading required package: prefmod Loading required package: lbfgs Rankings with only 1 item set to `NA` Loading required package: lbfgs Loading required package: survival Loading required package: Matrix Loading required package: gnm Loading required package: BradleyTerry2 Loading required package: BradleyTerry2 Loading required package: gnm Loading required package: StatRank Loading required package: psychotree Loading required package: partykit Loading required package: grid Loading required package: libcoin Loading required package: mvtnorm Loading required package: psychotools Loading required package: sandwich Loading required package: gnm Rankings with only 1 item set to `NA` Rankings with only 1 item set to `NA` Rankings with only 1 item set to `NA` Loading required package: gnm Loading required package: gnm Loading required package: gnm Loading required package: psychotree Loading required package: partykit Loading required package: mvtnorm [ FAIL 1 | WARN 11 | SKIP 10 | PASS 158 ] ══ Skipped tests (10) ══════════════════════════════════════════════════════════ • On CRAN (10): '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:12:5', 'test-preflib.R:20:5', 'test-preflib.R:28:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-admm.R:120:5'): PLADMM works with weights [salad] ────────────── Error in `eval(code, test_env)`: object 'salad_rankings' not found Backtrace: ▆ 1. └─PlackettLuce:::aggregate.rankings(salad_rankings) at test-admm.R:120:5 2. └─base::asplit(unclass(x), 1L) [ FAIL 1 | WARN 11 | SKIP 10 | PASS 158 ] Error: Test failures In addition: Warning message: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : there is no package called 'prefmod' Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [10s/13s] 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, 1 NOTE See ‘/data/gannet/ripley/R/packages/tests-Suggests/PlackettLuce.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 12:09.08, 494.63 + 26.45