* using log directory ‘/Volumes/Builds/packages/sonoma-arm64/results/4.6/power4mome.Rcheck’ * using R Under development (unstable) (2026-03-17 r89645) * using platform: aarch64-apple-darwin23 * R was compiled by Apple clang version 17.0.0 (clang-1700.3.19.1) GNU Fortran (GCC) 14.2.0 * running under: macOS Sequoia 15.7.1 * using session charset: UTF-8 * current time: 2026-03-18 05:58:10 UTC * checking for file ‘power4mome/DESCRIPTION’ ... OK * this is package ‘power4mome’ 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 ‘power4mome’ can be installed ... [3s/3s] OK See 'https://www.r-project.org/nosvn/R.check/r-devel-macos-arm64/power4mome-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 ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] 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 ... [5s/5s] OK * checking Rd files ... [0s/0s] 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 installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [21s/21s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [122s/62s] ERROR Running ‘testthat.R’ [122s/61s] 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(power4mome) > > test_check("power4mome") Starting 2 test processes. > test-power4test_mg.R: > test-power4test_mg.R: Updating the simulation for sample size: 150 > test-power4test_mg.R: Re-simulate the data: > test-power4test_mg.R: Fit the model(s): > test-power4test_mg.R: Update the test(s): > test-power4test_mg.R: Update test_parameters: CIs (pars: m~x,m~x.g2) : > test-power4test_mg.R: > test-power4test_mg.R: Updating the simulation for sample size: 200 > test-power4test_mg.R: Re-simulate the data: > test-power4test_mg.R: Fit the model(s): > test-power4test_mg.R: Update the test(s): > test-power4test_mg.R: Update test_parameters: CIs (pars: m~x,m~x.g2) : Saving _problems/test-test_indirects-62.R [ FAIL 1 | WARN 0 | SKIP 76 | PASS 501 ] ══ Skipped tests (76) ══════════════════════════════════════════════════════════ • A long test with parallel processing. Test interactively (4): 'test-power4test_update_parallel.R:1:1', 'test-q_functions_pba_long_parallel.R:1:1', 'test-q_functions_pba_long_serial.R:1:1', 'test-q_functions_pba_long_simple.R:1:1' • A long test with parallel processing. Test interactively. (12): 'test-do_FUN_local_function.R:1:1', 'test-x_from_power_algorithm_bisection.R:1:1', 'test-x_from_power_algorithm_prob_bisection.R:1:1', 'test-x_from_power_algorithm_prob_bisection_indirect.R:1:1', 'test-x_from_power_algorithm_prob_bisection_reuse_trials.R:1:1', 'test-x_from_power_for_es.R:1:1', 'test-x_from_power_for_es_bisection_close_enough.R:1:1', 'test-x_from_power_for_es_ind.R:1:1', 'test-x_from_power_for_n.R:1:1', 'test-x_from_power_for_n_bisection.R:1:1', 'test-x_from_power_for_n_bisection_close_enough.R:1:1', 'test-x_from_power_for_n_prob_bisection_close_enough.R:1:1' • Graphs: Test interactively (1): 'test-x_from_power_for_n_short_plot.R:1:1' • Internal (5): 'test-pba_diag.R:1:1', 'test-x_from_power_algorithm_bisection_difficult_cases.R:1:1', 'test-x_from_power_algorithm_prob_bisection_check_sequence.R:1:1', 'test-x_from_power_for_es_check_extend.R:1:1', 'test-x_from_power_for_n_check_extend.R:1:1' • Internal: Only valid under a specific configuration (1): 'test-x_from_power_for_n_escape_a_loop.R:1:1' • Not used (2): 'test-x_from_power_algorithm_bisection_extend_interval.R:1:1', 'test-x_from_power_algorithm_bisection_short.R:1:1' • On CRAN (51): 'test-add_cov_indicators.R:1:1', 'test-add_cov.R:1:1', 'test-do_test_catch_error.R:1:1', 'test-power4test_mg2.R:1:1', 'test-power_curve.R:1:1', 'test-q_functions_arbitrary.R:1:1', 'test-q_functions_parallel.R:1:1', 'test-q_functions_pba_short_parallel.R:1:1', 'test-q_functions_pba_short_serial.R:1:1', 'test-q_functions_pba_short_simple.R:1:1', 'test-q_functions_serial.R:1:1', 'test-q_functions_simple.R:1:1', 'test-q_functions_simple_bz.R:1:1', 'test-q_functions_simple_reject.R:1:1', 'test-sim_data_print_cond.R:1:1', 'test-sim_data_print_cond_only.R:1:1', 'test-test_extrapolate_cond_indirect.R:1:1', 'test-test_extrapolate_indirect.R:1:1', 'test-test_extrapolate_indirects.R:1:1', 'test-test_extrapolate_mome.R:1:1', 'test-test_extrapolate_part_cond_indirect.R:1:1', 'test-test_extrapolate_part_indirect.R:1:1', 'test-test_extrapolate_part_indirects.R:1:1', 'test-test_extrapolate_part_mome.R:1:1', 'test-test_iseed.R:1:1', 'test-test_power_by_es_catch_power4test_error.R:1:1', 'test-test_power_by_es_find_range.R:1:1', 'test-test_power_by_n_catch_power4test_error.R:1:1', 'test-x_from_power_algorithm_prob_bisection_short_es.R:1:1', 'test-x_from_power_algorithm_prob_bisection_short_n.R:1:1', 'test-x_from_power_for_es_error_catch.R:1:1', 'test-x_from_power_for_es_more_than_one_result.R:1:1', 'test-x_from_power_for_es_short.R:1:1', 'test-x_from_power_for_es_short_close.R:1:1', 'test-x_from_power_for_es_short_close_power_curve_point.R:1:1', 'test-x_from_power_for_es_short_close_power_curve_ublb.R:1:1', 'test-x_from_power_for_es_short_use_by.R:1:1', 'test-x_from_power_for_es_short_use_x_from.R:1:1', 'test-x_from_power_for_n_error_catch.R:1:1', 'test-x_from_power_for_n_merge_all_tests.R:1:1', 'test-x_from_power_for_n_more_than_one_rr.R:1:1', 'test-x_from_power_for_n_region_merge_all_tests.R:1:1', 'test-x_from_power_for_n_region_reject.R:1:1', 'test-x_from_power_for_n_short.R:1:1', 'test-x_from_power_for_n_short_close.R:1:1', 'test-x_from_power_for_n_short_close_power_curve_point.R:1:1', 'test-x_from_power_for_n_short_close_power_curve_ublb.R:1:1', 'test-x_from_power_for_n_short_n_region.R:1:1', 'test-x_from_power_for_n_short_reject.R:1:1', 'test-x_from_power_for_n_short_use_by_n.R:1:1', 'test-x_from_power_for_n_short_use_x_from.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-test_indirects.R:61:1'): indirect effects ──────────────────── Expected `chk[[1]]$sig[1]` to equal `chkb[[1]]$sig[1]`. Differences: `actual`: 0.00 `expected`: 0.20 [ FAIL 1 | WARN 0 | SKIP 76 | PASS 501 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [4s/4s] OK * checking PDF version of manual ... [3s/3s] OK * DONE Status: 1 ERROR * using check arguments '--no-clean-on-error ' * elapsed time (check, wall clock): 1:49