* using log directory ‘/data/localhost/ripley/R/packages/tests-MKL/POEMED.Rcheck’ * using R Under development (unstable) (2026-10-28 r90786) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2) GNU Fortran (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2) * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-10-29 15:15:05 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘POEMED/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘POEMED’ version ‘1.0.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 ‘POEMED’ can be installed ... 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 ... [14s/15s] 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 ... [36s/37s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [129s/132s] [129s/133s] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(POEMED) > > test_check("POEMED") Saving _problems/test-authoritative-500.R Saving _problems/test-authoritative-504.R Saving _problems/test-authoritative-505.R Saving _problems/test-authoritative-506.R Saving _problems/test-authoritative-504.R Saving _problems/test-authoritative-505.R Saving _problems/test-authoritative-506.R Saving _problems/test-input_guards-96.R Saving _problems/test-input_guards-107.R Saving _problems/test-input_guards-287.R Saving _problems/test-input_guards-291.R Saving _problems/test-input_guards-294.R Saving _problems/test-input_guards-304.R Saving _problems/test-lambda_grid_reduced-69.R Saving _problems/test-lambda_grid_reduced-83.R Saving _problems/test-lambda_grid_reduced-109.R Saving _problems/test-lambda_grid_reduced-109.R Saving _problems/test-lambda_grid_reduced-109.R Saving _problems/test-lambda_grid_reduced-109.R Saving _problems/test-lambda_grid_reduced-109.R Saving _problems/test-lambda_grid_reduced-109.R Saving _problems/test-lambda_grid_reduced-131.R Saving _problems/test-lambda_grid_reduced-131.R Saving _problems/test-lambda_grid_reduced-131.R Saving _problems/test-lambda_grid_reduced-131.R Saving _problems/test-lambda_grid_reduced-131.R [ FAIL 26 | WARN 0 | SKIP 35 | PASS 1432 ] ══ Skipped tests (35) ══════════════════════════════════════════════════════════ • On CRAN (35): 'test-WHO_guards.R:137:3', 'test-WHO_guards.R:178:3', 'test-WHO_guards.R:232:3', 'test-WHO_guards.R:255:3', 'test-WHO_guards.R:267:3', 'test-WHO_guards.R:298:3', 'test-WHO_mediation_analysis.R:2:3', 'test-WHO_mediation_analysis.R:35:3', 'test-WHO_mediation_analysis.R:66:3', 'test-WHO_mediation_design.R:68:3', 'test-authoritative.R:226:3', 'test-authoritative.R:242:3', 'test-authoritative.R:265:3', 'test-benchmark.R:49:3', 'test-benchmark.R:85:3', 'test-benchmark.R:94:3', 'test-default_grid.R:118:3', 'test-guo.R:53:3', 'test-identification-fulltable.R:77:3', 'test-improvements.R:75:3', 'test-improvements.R:85:3', 'test-pe_power_curve.R:16:3', 'test-pe_power_curve.R:118:3', 'test-pe_power_curve.R:150:3', 'test-seed_contract.R:191:3', 'test-sign_equivariance.R:39:3', 'test-ss-power.R:59:3', 'test-study_guards.R:110:3', 'test-summary.R:6:3', 'test-summary.R:105:3', 'test-who_article_tables.R:226:3', 'test-who_article_tables.R:231:3', 'test-who_article_tables.R:236:3', 'test-who_article_tables.R:241:3', 'test-who_article_tables.R:246:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-authoritative.R:500:3'): the BH and BY screens reproduce the reference implementation on the continuous example ── Expected `all3$value` to be identical to `by$value`. Differences: actual[1:8] vs expected[1:8] 6.874363937159134962939788238145411014556884765625000000000000000000000000000000000000000000000000000000000000000000000000000000000 0.008744087209298751287023243605744937667623162269592285156250000000000000000000000000000000000000000000000000000000000000000000000 - 517.262425763027522407355718314647674560546875000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + 517.262425763027636094193439930677413940429687500000000000000000000000000000000000000000000000000000000000000000000000000000000000000 - 510.388061825868362575420178472995758056640625000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + 510.388061825868533105676760897040367126464843750000000000000000000000000000000000000000000000000000000000000000000000000000000000000 - 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001667786334209462 + 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001667786334209367 0.398229949319409470831487851683050394058227539062500000000000000000000000000000000000000000000000000000000000000000000000000000000 2.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 1.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ── Failure ('test-authoritative.R:504:5'): the BH and BY screens reproduce the reference implementation on the continuous example ── Expected `row$stat_pe` to be identical to `v(one, "stat_pe")`. Differences: `actual`: 804.96301480110378 `expected`: 804.96301480110367 BH ── Failure ('test-authoritative.R:505:5'): the BH and BY screens reproduce the reference implementation on the continuous example ── Expected `row$j_pe` to be identical to `v(one, "j_pe")`. Differences: `actual`: 798.08865086394462 `expected`: 798.08865086394451 BH ── Failure ('test-authoritative.R:506:5'): the BH and BY screens reproduce the reference implementation on the continuous example ── Expected `row$pval_pe` to be identical to `v(one, "pval_pe")`. Differences: actual vs expected - 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000449796954367413 + 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000449796954367438 BH ── Failure ('test-authoritative.R:504:5'): the BH and BY screens reproduce the reference implementation on the continuous example ── Expected `row$stat_pe` to be identical to `v(one, "stat_pe")`. Differences: `actual`: 517.26242576302752 `expected`: 517.26242576302764 BY ── Failure ('test-authoritative.R:505:5'): the BH and BY screens reproduce the reference implementation on the continuous example ── Expected `row$j_pe` to be identical to `v(one, "j_pe")`. Differences: `actual`: 510.38806182586836 `expected`: 510.38806182586853 BY ── Failure ('test-authoritative.R:506:5'): the BH and BY screens reproduce the reference implementation on the continuous example ── Expected `row$pval_pe` to be identical to `v(one, "pval_pe")`. Differences: actual vs expected - 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001667786334209462 + 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001667786334209367 BY ── Failure ('test-input_guards.R:92:3'): a factor outcome stops instead of being replaced by its level codes ── Expected `...$value` to be identical to `pe_mediation(cnt$X, cnt$Y, cnt$M, outcome = "count", lambda_grid = grid)$value`. Differences: actual[1:8] vs expected[1:8] 1.8962911541326019637665467598708346486091613769531250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 0.1684940450449179394354359828867018222808837890625000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 - 896.1432518100918969139456748962402343750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + 896.1432518100920106007833965122699737548828125000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 - 894.2469606559592421035631559789180755615234375000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + 894.2469606559593557904008775949478149414062500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 - 0.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000676446466485828 + 0.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000676446466485790 0.2008274100943510109829048815299756824970245361328125000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 1.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 1.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Backtrace: ▆ 1. ├─POEMED:::quiet_grid(...) 2. │ └─base::withCallingHandlers(expr, poemed_grid_boundary = function(w) invokeRestart("muffleWarning")) at ./helper-grid.R:8:3 3. └─testthat::expect_identical(...) at test-input_guards.R:92:3 ── Failure ('test-input_guards.R:104:3'): a character outcome stops; a logical binary outcome is accepted ── Expected `pe_mediation(b$X, as.logical(b$Y), b$M, outcome = "binary", lambda_grid = fast_grid)` to be identical to `pe_mediation(b$X, b$Y, b$M, outcome = "binary", lambda_grid = fast_grid)`. Differences: attr(actual, 'mediator_table')$t_outcome vs attr(expected, 'mediator_table')$t_outcome - 6.36193573125043788 + 6.36193573125044054 3.27501646197693885 - 5.85479744910510291 + 5.85479744910510558 - 1.90897878513027885 + 1.90897878513027974 - 2.00225520423967307 + 2.00225520423967218 - 1.76844992175661209 + 1.76844992175661186 - 1.75831856876271164 + 1.75831856876271275 - 1.02419675694950385 + 1.02419675694950452 `attr(actual, 'pe_by_method')$stat_pe`: 251.72239803712299 `attr(expected, 'pe_by_method')$stat_pe`: 251.72239803712310 `attr(actual, 'pe_by_method')$j_pe`: 246.70161924431952 `attr(expected, 'pe_by_method')$j_pe`: 246.70161924431963 attr(actual, 'pe_by_method')$pval_pe vs attr(expected, 'pe_by_method')$pval_pe - 0.00000000000000000000000000000000000000000000000000000001093821432307313 + 0.00000000000000000000000000000000000000000000000000000001093821432307251 actual$value[1:8] vs expected$value[1:8] 5.02077879280345751311642743530683219432830810546875000000000000000000000 0.02504490225508551257127543010483350371941924095153808593750000000000000 - 251.72239803712298567006655503064393997192382812500000000000000000000000000 + 251.72239803712309935690427664667367935180664062500000000000000000000000000 - 246.70161924431951661063067149370908737182617187500000000000000000000000000 + 246.70161924431963029746839310973882675170898437500000000000000000000000000 - 0.00000000000000000000000000000000000000000000000000000001093821432307313 + 0.00000000000000000000000000000000000000000000000000000001093821432307251 0.34214462200933992708229425261379219591617584228515625000000000000000000 1.00000000000000000000000000000000000000000000000000000000000000000000000 1.00000000000000000000000000000000000000000000000000000000000000000000000 Backtrace: ▆ 1. ├─POEMED:::quiet_grid(...) 2. │ └─base::withCallingHandlers(expr, poemed_grid_boundary = function(w) invokeRestart("muffleWarning")) at ./helper-grid.R:8:3 3. └─testthat::expect_identical(...) at test-input_guards.R:104:3 ── Failure ('test-input_guards.R:285:3'): pe_mediate() expands `.` and stops only when it brings in a mediator or confounder ── Expected `pe_mediate(...)` to be identical to `pe_mediate(y ~ x, df, mediators = meds, lambda_grid = fast_grid)`. Differences: attr(actual, 'mediator_table')$t_outcome vs attr(expected, 'mediator_table')$t_outcome - 21.87907726350733029 + 21.87907726350732673 -10.27573057792890054 - 8.72042756382253614 + 8.72042756382253437 - -6.87055985926454937 + -6.87055985926454849 - -2.22562770980185887 + -2.22562770980185975 - -1.53467286584047846 + -1.53467286584047735 attr(actual, 'mediator_table')$screen_p[2:6] vs attr(expected, 'mediator_table')$screen_p[2:6] 0.001740704552879976 0.000013649893358832 0.000000000622697212 - 0.026039128544832712 + 0.026039128544832660 - 0.124864204195128670 + 0.124864204195128933 Backtrace: ▆ 1. ├─POEMED:::quiet_grid(...) 2. │ └─base::withCallingHandlers(expr, poemed_grid_boundary = function(w) invokeRestart("muffleWarning")) at ./helper-grid.R:8:3 3. └─testthat::expect_identical(...) at test-input_guards.R:285:3 ── Failure ('test-input_guards.R:288:3'): pe_mediate() expands `.` and stops only when it brings in a mediator or confounder ── Expected `pe_mediate(...)` to be identical to `pe_mediate(...)`. Differences: attr(actual, 'mediator_table')$t_outcome vs attr(expected, 'mediator_table')$t_outcome - 21.91515584598821675 + 21.91515584598821320 - -10.38268020887847953 + -10.38268020887848309 - 9.16785314619131064 + 9.16785314619131242 - -6.73234016656038925 + -6.73234016656038659 - -2.32356153530641896 + -2.32356153530642073 - -1.81513117100001242 + -1.81513117100001398 - -1.93973744945382354 + -1.93973744945382287 attr(actual, 'mediator_table')$screen_p[2:7] vs attr(expected, 'mediator_table')$screen_p[2:7] 0.000861930256738153 0.000004862985897973 0.000000000041330716 - 0.020149006006096634 + 0.020149006006096547 - 0.069503753951648373 + 0.069503753951648151 - 0.052411605864616004 + 0.052411605864616059 Backtrace: ▆ 1. ├─POEMED:::quiet_grid(...) 2. │ └─base::withCallingHandlers(expr, poemed_grid_boundary = function(w) invokeRestart("muffleWarning")) at ./helper-grid.R:8:3 3. └─testthat::expect_identical(...) at test-input_guards.R:288:3 ── Failure ('test-input_guards.R:293:3'): pe_mediate() expands `.` and stops only when it brings in a mediator or confounder ── Expected `pe_mediate(y ~ x - X1, df, mediators = meds, lambda_grid = fast_grid)` to be identical to `pe_mediate(y ~ x, df, mediators = meds, lambda_grid = fast_grid)`. Differences: attr(actual, 'mediator_table')$t_outcome vs attr(expected, 'mediator_table')$t_outcome - 21.87907726350732673 + 21.87907726350733029 -10.27573057792890054 - 8.72042756382253437 + 8.72042756382253792 - -6.87055985926454849 + -6.87055985926454937 - -2.22562770980185975 + -2.22562770980185887 - -1.53467286584047735 + -1.53467286584047891 attr(actual, 'mediator_table')$screen_p[2:6] vs attr(expected, 'mediator_table')$screen_p[2:6] 0.001740704552879976 0.000013649893358832 0.000000000622697212 - 0.026039128544832660 + 0.026039128544832712 - 0.124864204195128933 + 0.124864204195128545 Backtrace: ▆ 1. ├─POEMED:::quiet_grid(...) 2. │ └─base::withCallingHandlers(expr, poemed_grid_boundary = function(w) invokeRestart("muffleWarning")) at ./helper-grid.R:8:3 3. └─testthat::expect_identical(...) at test-input_guards.R:293:3 ── Failure ('test-input_guards.R:302:3'): pe_mediate() treats confounders = character(0) as no confounders ── Expected `pe_mediate(y ~ x, f$df, mediators = f$meds, confounders = character(0))` to be identical to `pe_mediate(y ~ x, f$df, mediators = f$meds)`. Differences: attr(actual, 'mediator_table')$t_outcome vs attr(expected, 'mediator_table')$t_outcome - 21.87907726350733029 + 21.87907726350732673 -10.27573057792890054 - 8.72042756382253614 + 8.72042756382253437 - -6.87055985926454937 + -6.87055985926454849 - -2.22562770980185887 + -2.22562770980185975 - -1.53467286584047846 + -1.53467286584047735 attr(actual, 'mediator_table')$screen_p[2:6] vs attr(expected, 'mediator_table')$screen_p[2:6] 0.001740704552879976 0.000013649893358832 0.000000000622697212 - 0.026039128544832712 + 0.026039128544832660 - 0.124864204195128670 + 0.124864204195128933 Backtrace: ▆ 1. ├─POEMED:::quiet_grid(...) 2. │ └─base::withCallingHandlers(expr, poemed_grid_boundary = function(w) invokeRestart("muffleWarning")) at ./helper-grid.R:8:3 3. └─testthat::expect_identical(...) at test-input_guards.R:302:3 ── Failure ('test-lambda_grid_reduced.R:69:3'): lambda_grid_reduced defaults to lambda_grid ── Expected `by_default` to be identical to `explicit`. Differences: attr(actual, 'mediator_table')$t_outcome vs attr(expected, 'mediator_table')$t_outcome - 21.74946991513573025 + 21.74946991513573380 -10.20998393248002145 - 8.60214604168450769 + 8.60214604168450414 -6.82028779079968039 - -2.37791493868553605 + -2.37791493868553649 attr(actual, 'mediator_table')$screen_p[2:5] vs attr(expected, 'mediator_table')$screen_p[2:5] 0.001740704552879976 0.000013649893358832 0.000000000622697212 - 0.017410841733285439 + 0.017410841733285422 ── Failure ('test-lambda_grid_reduced.R:81:3'): lambda_grid_reduced defaults to lambda_grid ── Expected `pe_mediation(d$X, d$Y, d$M, outcome = "continuous", lambda_grid = interior_grid)` to be identical to `by_default`. Differences: attr(actual, 'mediator_table')$t_outcome vs attr(expected, 'mediator_table')$t_outcome - 21.74946991513573380 + 21.74946991513573025 -10.20998393248002145 - 8.60214604168450414 + 8.60214604168450769 -6.82028779079968039 - -2.37791493868553649 + -2.37791493868553605 attr(actual, 'mediator_table')$screen_p[2:5] vs attr(expected, 'mediator_table')$screen_p[2:5] 0.001740704552879976 0.000013649893358832 0.000000000622697212 - 0.017410841733285422 + 0.017410841733285439 ── Failure ('test-lambda_grid_reduced.R:109:5'): a separate reduced grid changes only the reduced entries of the tuning record ── Expected `attr(fit, nm)` to be identical to `attr(base, nm)`. Differences: actual$t_outcome | expected$t_outcome [1] 21.74946991513573025 - 21.74946991513573380 [1] [2] -10.20998393248002145 | -10.20998393248002145 [2] [3] 8.60214604168450769 - 8.60214604168450414 [3] [4] -6.82028779079968039 | -6.82028779079968039 [4] [5] -2.37791493868553605 - -2.37791493868553649 [5] actual$screen_p | expected$screen_p [2] 0.001740704552879976 | 0.001740704552879976 [2] [3] 0.000013649893358832 | 0.000013649893358832 [3] [4] 0.000000000622697212 | 0.000000000622697212 [4] [5] 0.017410841733285439 - 0.017410841733285422 [5] interior mediator_table Backtrace: ▆ 1. ├─POEMED:::quiet_grid(...) 2. │ └─base::withCallingHandlers(expr, poemed_grid_boundary = function(w) invokeRestart("muffleWarning")) at ./helper-grid.R:8:3 3. └─POEMED (local) expect_same_but_reduced_tuning(fit, base, info = nm) at test-lambda_grid_reduced.R:109:5 4. └─testthat::expect_identical(...) at test-lambda_grid_reduced.R:41:3 ── Failure ('test-lambda_grid_reduced.R:109:5'): a separate reduced grid changes only the reduced entries of the tuning record ── Expected `attr(fit, nm)` to be identical to `attr(base, nm)`. Differences: `actual$stat_pe`: 865.84527126998535 917.28972880222420 865.84527126998535 `expected$stat_pe`: 865.84527126998535 917.28972880222432 865.84527126998535 `actual$j_pe`: 864.17737845385886 915.62183598609772 864.17737845385886 `expected$j_pe`: 864.17737845385886 915.62183598609784 864.17737845385886 actual$pval_pe vs expected$pval_pe 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000261100693383244568511458285 - 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001711121558419142 + 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001711121558419046 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000261100693383244568511458285 interior pe_by_method Backtrace: ▆ 1. ├─POEMED:::quiet_grid(...) 2. │ └─base::withCallingHandlers(expr, poemed_grid_boundary = function(w) invokeRestart("muffleWarning")) at ./helper-grid.R:8:3 3. └─POEMED (local) expect_same_but_reduced_tuning(fit, base, info = nm) at test-lambda_grid_reduced.R:109:5 4. └─testthat::expect_identical(...) at test-lambda_grid_reduced.R:41:3 ── Failure ('test-lambda_grid_reduced.R:109:5'): a separate reduced grid changes only the reduced entries of the tuning record ── Expected `pe_mediators(fit)` to be identical to `pe_mediators(base)`. Differences: actual$t_outcome | expected$t_outcome [1] 21.74946991513573025 - 21.74946991513573380 [1] [2] -10.20998393248002145 | -10.20998393248002145 [2] [3] 8.60214604168450769 - 8.60214604168450414 [3] [4] -6.82028779079968039 | -6.82028779079968039 [4] [5] -2.37791493868553605 - -2.37791493868553649 [5] actual$screen_p | expected$screen_p [2] 0.001740704552879976 | 0.001740704552879976 [2] [3] 0.000013649893358832 | 0.000013649893358832 [3] [4] 0.000000000622697212 | 0.000000000622697212 [4] [5] 0.017410841733285439 - 0.017410841733285422 [5] interior Backtrace: ▆ 1. ├─POEMED:::quiet_grid(...) 2. │ └─base::withCallingHandlers(expr, poemed_grid_boundary = function(w) invokeRestart("muffleWarning")) at ./helper-grid.R:8:3 3. └─POEMED (local) expect_same_but_reduced_tuning(fit, base, info = nm) at test-lambda_grid_reduced.R:109:5 4. └─testthat::expect_identical(...) at test-lambda_grid_reduced.R:43:3 ── Failure ('test-lambda_grid_reduced.R:109:5'): a separate reduced grid changes only the reduced entries of the tuning record ── Expected `pe_selection(fit)` to be identical to `pe_selection(base)`. Differences: `actual$j_pe`: 864.17737845385886 915.62183598609772 864.17737845385886 `expected$j_pe`: 864.17737845385886 915.62183598609784 864.17737845385886 `actual$stat_pe`: 865.84527126998535 917.28972880222420 865.84527126998535 `expected$stat_pe`: 865.84527126998535 917.28972880222432 865.84527126998535 actual$pval_pe vs expected$pval_pe 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000261100693383244568511458285 - 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001711121558419142 + 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001711121558419046 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000261100693383244568511458285 interior Backtrace: ▆ 1. ├─POEMED:::quiet_grid(...) 2. │ └─base::withCallingHandlers(expr, poemed_grid_boundary = function(w) invokeRestart("muffleWarning")) at ./helper-grid.R:8:3 3. └─POEMED (local) expect_same_but_reduced_tuning(fit, base, info = nm) at test-lambda_grid_reduced.R:109:5 4. └─testthat::expect_identical(...) at test-lambda_grid_reduced.R:44:3 ── Failure ('test-lambda_grid_reduced.R:109:5'): a separate reduced grid changes only the reduced entries of the tuning record ── Expected `attr(fit, nm)` to be identical to `attr(base, nm)`. Differences: actual$t_outcome | expected$t_outcome [1] 21.74946991513573025 - 21.74946991513573380 [1] [2] -10.20998393248002145 | -10.20998393248002145 [2] [3] 8.60214604168450769 - 8.60214604168450414 [3] [4] -6.82028779079968039 | -6.82028779079968039 [4] [5] -2.37791493868553605 - -2.37791493868553649 [5] actual$screen_p | expected$screen_p [2] 0.001740704552879976 | 0.001740704552879976 [2] [3] 0.000013649893358832 | 0.000013649893358832 [3] [4] 0.000000000622697212 | 0.000000000622697212 [4] [5] 0.017410841733285439 - 0.017410841733285422 [5] largest mediator_table Backtrace: ▆ 1. ├─POEMED:::quiet_grid(...) 2. │ └─base::withCallingHandlers(expr, poemed_grid_boundary = function(w) invokeRestart("muffleWarning")) at ./helper-grid.R:8:3 3. └─POEMED (local) expect_same_but_reduced_tuning(fit, base, info = nm) at test-lambda_grid_reduced.R:109:5 4. └─testthat::expect_identical(...) at test-lambda_grid_reduced.R:41:3 ── Failure ('test-lambda_grid_reduced.R:109:5'): a separate reduced grid changes only the reduced entries of the tuning record ── Expected `pe_mediators(fit)` to be identical to `pe_mediators(base)`. Differences: actual$t_outcome | expected$t_outcome [1] 21.74946991513573025 - 21.74946991513573380 [1] [2] -10.20998393248002145 | -10.20998393248002145 [2] [3] 8.60214604168450769 - 8.60214604168450414 [3] [4] -6.82028779079968039 | -6.82028779079968039 [4] [5] -2.37791493868553605 - -2.37791493868553649 [5] actual$screen_p | expected$screen_p [2] 0.001740704552879976 | 0.001740704552879976 [2] [3] 0.000013649893358832 | 0.000013649893358832 [3] [4] 0.000000000622697212 | 0.000000000622697212 [4] [5] 0.017410841733285439 - 0.017410841733285422 [5] largest Backtrace: ▆ 1. ├─POEMED:::quiet_grid(...) 2. │ └─base::withCallingHandlers(expr, poemed_grid_boundary = function(w) invokeRestart("muffleWarning")) at ./helper-grid.R:8:3 3. └─POEMED (local) expect_same_but_reduced_tuning(fit, base, info = nm) at test-lambda_grid_reduced.R:109:5 4. └─testthat::expect_identical(...) at test-lambda_grid_reduced.R:43:3 ── Failure ('test-lambda_grid_reduced.R:131:3'): a separate reduced grid changes only the reduced entries of the tuning record ── Expected `fit$value` to be identical to `base$value`. Differences: actual[1:8] vs expected[1:8] 6.874363937159134962939788238145411014556884765625000000000000000000000000000000000000000000000000000000000000000000000000000000000 0.008744087209298751287023243605744937667623162269592285156250000000000000000000000000000000000000000000000000000000000000000000000 - 517.262425763027636094193439930677413940429687500000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + 517.262425763027522407355718314647674560546875000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 - 510.388061825868533105676760897040367126464843750000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + 510.388061825868362575420178472995758056640625000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 - 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001667786334209367 + 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001667786334209462 0.398229949319409470831487851683050394058227539062500000000000000000000000000000000000000000000000000000000000000000000000000000000 2.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 1.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 with confounders Backtrace: ▆ 1. ├─POEMED:::quiet_grid(...) 2. │ └─base::withCallingHandlers(expr, poemed_grid_boundary = function(w) invokeRestart("muffleWarning")) at ./helper-grid.R:8:3 3. └─POEMED (local) expect_same_but_reduced_tuning(fit_z, base_z, info = "with confounders") at test-lambda_grid_reduced.R:131:3 4. └─testthat::expect_identical(fit$value, base$value, info = info) at test-lambda_grid_reduced.R:39:3 ── Failure ('test-lambda_grid_reduced.R:131:3'): a separate reduced grid changes only the reduced entries of the tuning record ── Expected `attr(fit, nm)` to be identical to `attr(base, nm)`. Differences: actual$t_outcome | expected$t_outcome [1] 22.11141991007136909 - 22.11141991007136554 [1] [2] 15.17426781427981552 | 15.17426781427981552 [2] [3] 12.06968374453448511 | 12.06968374453448511 [3] [4] 8.04601771274002076 - 8.04601771274001898 [4] [5] 4.73015237711161785 - 4.73015237711161696 [5] with confounders mediator_table Backtrace: ▆ 1. ├─POEMED:::quiet_grid(...) 2. │ └─base::withCallingHandlers(expr, poemed_grid_boundary = function(w) invokeRestart("muffleWarning")) at ./helper-grid.R:8:3 3. └─POEMED (local) expect_same_but_reduced_tuning(fit_z, base_z, info = "with confounders") at test-lambda_grid_reduced.R:131:3 4. └─testthat::expect_identical(...) at test-lambda_grid_reduced.R:41:3 ── Failure ('test-lambda_grid_reduced.R:131:3'): a separate reduced grid changes only the reduced entries of the tuning record ── Expected `attr(fit, nm)` to be identical to `attr(base, nm)`. Differences: `actual$stat_pe`: 517.26242576302764 804.96301480110367 517.26242576302752 `expected$stat_pe`: 517.26242576302752 804.96301480110367 517.26242576302764 `actual$j_pe`: 510.38806182586853 798.08865086394451 510.38806182586836 `expected$j_pe`: 510.38806182586836 798.08865086394451 510.38806182586853 actual$pval_pe vs expected$pval_pe - 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001667786334209367 + 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001667786334209462 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 - 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001667786334209462 + 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001667786334209367 with confounders pe_by_method Backtrace: ▆ 1. ├─POEMED:::quiet_grid(...) 2. │ └─base::withCallingHandlers(expr, poemed_grid_boundary = function(w) invokeRestart("muffleWarning")) at ./helper-grid.R:8:3 3. └─POEMED (local) expect_same_but_reduced_tuning(fit_z, base_z, info = "with confounders") at test-lambda_grid_reduced.R:131:3 4. └─testthat::expect_identical(...) at test-lambda_grid_reduced.R:41:3 ── Failure ('test-lambda_grid_reduced.R:131:3'): a separate reduced grid changes only the reduced entries of the tuning record ── Expected `pe_mediators(fit)` to be identical to `pe_mediators(base)`. Differences: actual$t_outcome | expected$t_outcome [1] 22.11141991007136909 - 22.11141991007136554 [1] [2] 15.17426781427981552 | 15.17426781427981552 [2] [3] 12.06968374453448511 | 12.06968374453448511 [3] [4] 8.04601771274002076 - 8.04601771274001898 [4] [5] 4.73015237711161785 - 4.73015237711161696 [5] with confounders Backtrace: ▆ 1. ├─POEMED:::quiet_grid(...) 2. │ └─base::withCallingHandlers(expr, poemed_grid_boundary = function(w) invokeRestart("muffleWarning")) at ./helper-grid.R:8:3 3. └─POEMED (local) expect_same_but_reduced_tuning(fit_z, base_z, info = "with confounders") at test-lambda_grid_reduced.R:131:3 4. └─testthat::expect_identical(...) at test-lambda_grid_reduced.R:43:3 ── Failure ('test-lambda_grid_reduced.R:131:3'): a separate reduced grid changes only the reduced entries of the tuning record ── Expected `pe_selection(fit)` to be identical to `pe_selection(base)`. Differences: `actual$j_pe`: 510.38806182586853 798.08865086394451 510.38806182586836 `expected$j_pe`: 510.38806182586836 798.08865086394451 510.38806182586853 `actual$stat_pe`: 517.26242576302764 804.96301480110367 517.26242576302752 `expected$stat_pe`: 517.26242576302752 804.96301480110367 517.26242576302764 actual$pval_pe vs expected$pval_pe - 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001667786334209367 + 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001667786334209462 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 - 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001667786334209462 + 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001667786334209367 with confounders Backtrace: ▆ 1. ├─POEMED:::quiet_grid(...) 2. │ └─base::withCallingHandlers(expr, poemed_grid_boundary = function(w) invokeRestart("muffleWarning")) at ./helper-grid.R:8:3 3. └─POEMED (local) expect_same_but_reduced_tuning(fit_z, base_z, info = "with confounders") at test-lambda_grid_reduced.R:131:3 4. └─testthat::expect_identical(...) at test-lambda_grid_reduced.R:44:3 [ FAIL 26 | WARN 0 | SKIP 35 | PASS 1432 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [163s/169s] 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 See ‘/data/localhost/ripley/R/packages/tests-MKL/POEMED.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 6:54.26, 381.57 + 12.76