* using log directory ‘/Users/ripley/R/packages/tests-devel/erplots.Rcheck’ * using R Under development (unstable) (2026-09-18 r90566) * using platform: aarch64-apple-darwin27.0.0 * R was compiled by Apple clang version 21.0.0 (clang-2100.3.34.2) GNU Fortran (GCC) 14.2.0 * running under: macOS Golden Gate 27.0 * using session charset: UTF-8 * current time: 2026-09-29 13:03:44 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘erplots/DESCRIPTION’ ... OK * this is package ‘erplots’ version ‘0.1.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 ‘erplots’ can be installed ... 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 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 ... OK * checking Rd files ... OK * checking Rd metadata ... 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 ... [11s/11s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘spelling.R’ Running ‘testthat.R’ [20s/20s] [21s/21s] ERROR 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(erplots) > > test_check("erplots") `er_style_data_hex()` does not encode `strata` -- its fill aesthetic already encodes point density, so all strata are pooled into a single hex-binned density. `stat_bin()` using `bins = 30`. Pick better value `binwidth`. `stat_bin()` using `bins = 30`. Pick better value `binwidth`. plot variables: - exposure: aucss - response: ae1 - plot_by: aucss (continuous), 4 bins plot layers: output built: no plot variables: - exposure: aucss - response: ae1 - plot_by: aucss (continuous), 4 bins plot layers: - observed: layer built output built: no plot variables: - exposure: aucss - response: ae1 - plot_by: aucss (continuous), 4 bins plot layers: - observed: layer built - simulated: 1500 simulated rows output built: no plot variables: - exposure: aucss - response: ae1 - plot_by: aucss (continuous), 4 bins plot layers: - observed: layer built - simulated: 1500 simulated rows output built: yes`stratify_by` (`weight`) is numeric; splitting into 3 quantile bins for faceting. Pass a categorical variable to `stratify_by`, or set `n_strata` to change the bin count. Saving _problems/test-toy-model-sync-18.R Saving _problems/test-toy-model-sync-19.R Saving _problems/test-toy-model-sync-20.R Saving _problems/test-toy-model-sync-32.R Saving _problems/test-toy-model-sync-33.R Saving _problems/test-toy-model-sync-34.R Saving _problems/test-toy-model-sync-50.R Saving _problems/test-toy-model-sync-54.R Saving _problems/test-toy-model-sync-70.R Saving _problems/test-toy-model-sync-74.R [ FAIL 10 | WARN 0 | SKIP 0 | PASS 1176 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-toy-model-sync.R:18:3'): er_predict() agrees between er_test_toy_model() and erglm for a binomial/logit fit ── Expected `p_toy$fit_resp` to equal `p_glm$fit_resp`. Differences: `names(actual)` is a character vector ('1', '2', '3', '4', '5', ...) `names(expected)` is absent ── Failure ('test-toy-model-sync.R:19:3'): er_predict() agrees between er_test_toy_model() and erglm for a binomial/logit fit ── Expected `p_toy$ci_lower` to equal `p_glm$ci_lower`. Differences: `names(actual)` is a character vector ('1', '2', '3', '4', '5', ...) `names(expected)` is absent ── Failure ('test-toy-model-sync.R:20:3'): er_predict() agrees between er_test_toy_model() and erglm for a binomial/logit fit ── Expected `p_toy$ci_upper` to equal `p_glm$ci_upper`. Differences: `names(actual)` is a character vector ('1', '2', '3', '4', '5', ...) `names(expected)` is absent ── Failure ('test-toy-model-sync.R:32:3'): er_predict() agrees between er_test_toy_model() and erglm for a gaussian/identity fit ── Expected `p_toy$fit_resp` to equal `p_glm$fit_resp`. Differences: `names(actual)` is a character vector ('1', '2', '3', '4', '5', ...) `names(expected)` is absent ── Failure ('test-toy-model-sync.R:33:3'): er_predict() agrees between er_test_toy_model() and erglm for a gaussian/identity fit ── Expected `p_toy$ci_lower` to equal `p_glm$ci_lower`. Differences: `names(actual)` is a character vector ('1', '2', '3', '4', '5', ...) `names(expected)` is absent ── Failure ('test-toy-model-sync.R:34:3'): er_predict() agrees between er_test_toy_model() and erglm for a gaussian/identity fit ── Expected `p_toy$ci_upper` to equal `p_glm$ci_upper`. Differences: `names(actual)` is a character vector ('1', '2', '3', '4', '5', ...) `names(expected)` is absent ── Failure ('test-toy-model-sync.R:47:3'): er_summary() agrees between er_test_toy_model() and erglm for a binomial/logit fit ── Expected `...[]` to equal `...[]`. Differences: `class(actual)`: "tbl_df" "tbl" "data.frame" `class(expected)`: "data.frame" ── Failure ('test-toy-model-sync.R:51:3'): er_summary() agrees between er_test_toy_model() and erglm for a binomial/logit fit ── Expected `...[]` to equal `...[]`. Differences: `class(actual)`: "tbl_df" "tbl" "data.frame" `class(expected)`: "data.frame" ── Failure ('test-toy-model-sync.R:67:3'): er_summary() agrees between er_test_toy_model() and erglm for a gaussian/identity fit ── Expected `...[]` to equal `...[]`. Differences: `class(actual)`: "tbl_df" "tbl" "data.frame" `class(expected)`: "data.frame" ── Failure ('test-toy-model-sync.R:71:3'): er_summary() agrees between er_test_toy_model() and erglm for a gaussian/identity fit ── Expected `...[]` to equal `...[]`. Differences: `class(actual)`: "tbl_df" "tbl" "data.frame" `class(expected)`: "data.frame" [ FAIL 10 | WARN 0 | SKIP 0 | PASS 1176 ] Error: ! Test failures. 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 ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/Users/ripley/R/packages/tests-devel/erplots.Rcheck/00check.log’ for details. 61.19 real 52.53 user 7.47 sys