* using log directory ‘/data/gannet/ripley/R/packages/tests-clang/cocoon.Rcheck’ * using R Under development (unstable) (2025-02-19 r87749) * using platform: x86_64-pc-linux-gnu * R was compiled by clang version 20.1.0-rc2 flang version 20.1.0-rc2 * running under: Fedora Linux 40 (Workstation Edition) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘cocoon/DESCRIPTION’ ... OK * this is package ‘cocoon’ version ‘0.2.0’ * 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 ‘cocoon’ can be installed ... OK See 'https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-clang/cocoon-00install.html' for details. * 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 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 ... OK * checking loading without being on the library search path ... 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 ... [10s/14s] 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 installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [10s/13s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [18s/30s] ERROR Running ‘testthat.R’ [17s/30s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(cocoon) > > test_check("cocoon") [ FAIL 15 | WARN 0 | SKIP 1 | PASS 274 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-format_statvalues.R:64:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-format_stats_lmerModLmerTest.R:55:3'): formatting lm linear models works properly ── format_stats(test_lmer2, "a") (`actual`) not equal to "_β_ = -0.103, SE = 0.310, _t_ = -0.333, _p_ = .748" (`expected`). `actual`: "_β_ = -0.104, SE = 0.310, _t_ = -0.337, _p_ = .745" `expected`: "_β_ = -0.103, SE = 0.310, _t_ = -0.333, _p_ = .748" ── Failure ('test-format_stats_lmerModLmerTest.R:56:3'): formatting lm linear models works properly ── format_stats(test_lmer2, "a", digits = 2) (`actual`) not equal to "_β_ = -0.10, SE = 0.31, _t_ = -0.33, _p_ = .748" (`expected`). `actual`: "_β_ = -0.10, SE = 0.31, _t_ = -0.34, _p_ = .745" `expected`: "_β_ = -0.10, SE = 0.31, _t_ = -0.33, _p_ = .748" ── Failure ('test-format_stats_lmerModLmerTest.R:57:3'): formatting lm linear models works properly ── format_stats(test_lmer2, "a", pdigits = 2) (`actual`) not equal to "_β_ = -0.103, SE = 0.310, _t_ = -0.333, _p_ = .75" (`expected`). `actual`: "_β_ = -0.104, SE = 0.310, _t_ = -0.337, _p_ = .74" `expected`: "_β_ = -0.103, SE = 0.310, _t_ = -0.333, _p_ = .75" ── Failure ('test-format_stats_lmerModLmerTest.R:58:3'): formatting lm linear models works properly ── format_stats(test_lmer2, "a", pzero = TRUE) (`actual`) not equal to "_β_ = -0.103, SE = 0.310, _t_ = -0.333, _p_ = 0.748" (`expected`). `actual`: "_β_ = -0.104, SE = 0.310, _t_ = -0.337, _p_ = 0.745" `expected`: "_β_ = -0.103, SE = 0.310, _t_ = -0.333, _p_ = 0.748" ── Failure ('test-format_stats_lmerModLmerTest.R:59:3'): formatting lm linear models works properly ── format_stats(test_lmer2, "a", full = FALSE) (`actual`) not equal to "_β_ = -0.103, _p_ = .748" (`expected`). `actual`: "_β_ = -0.104, _p_ = .745" `expected`: "_β_ = -0.103, _p_ = .748" ── Failure ('test-format_stats_lmerModLmerTest.R:60:3'): formatting lm linear models works properly ── format_stats(test_lmer2, "a", italics = FALSE) (`actual`) not equal to "β = -0.103, SE = 0.310, t = -0.333, p = .748" (`expected`). `actual`: "β = -0.104, SE = 0.310, t = -0.337, p = .745" `expected`: "β = -0.103, SE = 0.310, t = -0.333, p = .748" ── Failure ('test-format_stats_lmerModLmerTest.R:61:3'): formatting lm linear models works properly ── format_stats(test_lmer2, "a", type = "latex") (`actual`) not equal to "$\\beta$ = -0.103, SE = 0.310, $t$ = -0.333, $p$ = .748" (`expected`). `actual`: "$\\beta$ = -0.104, SE = 0.310, $t$ = -0.337, $p$ = .745" `expected`: "$\\beta$ = -0.103, SE = 0.310, $t$ = -0.333, $p$ = .748" ── Failure ('test-format_stats_merMod.R:59:3'): formatting lm linear models works properly ── format_stats(test_lmer, term = "a") (`actual`) not equal to "_β_ = -0.103, SE = 0.310, _t_ = -0.333" (`expected`). `actual`: "_β_ = -0.104, SE = 0.310, _t_ = -0.337" `expected`: "_β_ = -0.103, SE = 0.310, _t_ = -0.333" ── Failure ('test-format_stats_merMod.R:60:3'): formatting lm linear models works properly ── format_stats(test_lmer, "a", digits = 2) (`actual`) not equal to "_β_ = -0.10, SE = 0.31, _t_ = -0.33" (`expected`). `actual`: "_β_ = -0.10, SE = 0.31, _t_ = -0.34" `expected`: "_β_ = -0.10, SE = 0.31, _t_ = -0.33" ── Failure ('test-format_stats_merMod.R:61:3'): formatting lm linear models works properly ── format_stats(test_lmer, "a", pdigits = 2) (`actual`) not equal to "_β_ = -0.103, SE = 0.310, _t_ = -0.333" (`expected`). `actual`: "_β_ = -0.104, SE = 0.310, _t_ = -0.337" `expected`: "_β_ = -0.103, SE = 0.310, _t_ = -0.333" ── Failure ('test-format_stats_merMod.R:62:3'): formatting lm linear models works properly ── format_stats(test_lmer, "a", pzero = TRUE) (`actual`) not equal to "_β_ = -0.103, SE = 0.310, _t_ = -0.333" (`expected`). `actual`: "_β_ = -0.104, SE = 0.310, _t_ = -0.337" `expected`: "_β_ = -0.103, SE = 0.310, _t_ = -0.333" ── Failure ('test-format_stats_merMod.R:63:3'): formatting lm linear models works properly ── format_stats(test_lmer, "a", full = FALSE) (`actual`) not equal to "_β_ = -0.103" (`expected`). `actual`: "_β_ = -0.104" `expected`: "_β_ = -0.103" ── Failure ('test-format_stats_merMod.R:64:3'): formatting lm linear models works properly ── format_stats(test_lmer, "a", italics = FALSE) (`actual`) not equal to "β = -0.103, SE = 0.310, t = -0.333" (`expected`). `actual`: "β = -0.104, SE = 0.310, t = -0.337" `expected`: "β = -0.103, SE = 0.310, t = -0.333" ── Failure ('test-format_stats_merMod.R:65:3'): formatting lm linear models works properly ── format_stats(test_lmer, "a", type = "latex") (`actual`) not equal to "$\\beta$ = -0.103, SE = 0.310, $t$ = -0.333" (`expected`). `actual`: "$\\beta$ = -0.104, SE = 0.310, $t$ = -0.337" `expected`: "$\\beta$ = -0.103, SE = 0.310, $t$ = -0.333" ── Failure ('test-format_stats_merMod.R:66:3'): formatting lm linear models works properly ── format_stats(test_lmer, "a", type = "latex", dfs = "sub") (`actual`) not equal to "$\\beta$ = -0.103, SE = 0.310, $t$ = -0.333" (`expected`). `actual`: "$\\beta$ = -0.104, SE = 0.310, $t$ = -0.337" `expected`: "$\\beta$ = -0.103, SE = 0.310, $t$ = -0.333" [ FAIL 15 | WARN 0 | SKIP 1 | PASS 274 ] Error: Test failures In addition: Warning messages: 1: In optwrap(optimizer, devfun, getStart(start, rho$pp), lower = rho$lower, : convergence code -2 from nloptwrap: NLOPT_INVALID_ARGS: Invalid arguments (e.g. lower bounds are bigger than upper bounds, an unknown algorithm was specified, etcetera). 2: In checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv, : Model failed to converge with max|grad| = 0.350361 (tol = 0.002, component 1) 3: In optwrap(optimizer, devfun, getStart(start, rho$pp), lower = rho$lower, : convergence code -2 from nloptwrap: NLOPT_INVALID_ARGS: Invalid arguments (e.g. lower bounds are bigger than upper bounds, an unknown algorithm was specified, etcetera). 4: In checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv, : Model failed to converge with max|grad| = 0.350361 (tol = 0.002, component 1) Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [12s/15s] OK * checking PDF version of manual ... 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