Running 'testthat.R' [41s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # nolint start: undesirable_function_linter.
  > library(testthat)
  > library(artma)
  > # nolint end: undesirable_function_linter.
  > 
  > testthat::test_check("artma", reporter = "summary")
  Starting 2 test processes.
  autonomy: ..............................SS..................................
  bma-auto-select: ........S............S....
  > test-bma.R:              PIP    Post Mean     Post SD Cond.Pos.Sign Idx
  > test-bma.R: se         0.220  0.098091860 0.333611859             1   1
  > test-bma.R: moderator1 0.204 -0.002207148 0.008320551             0   2
  > test-bma.R: moderator2 0.122  0.002663056 0.013602410             1   3
  > test-bma.R: 
  > test-bma.R: Mean no. regressors               Draws             Burnins                Time 
  > test-bma.R:            "0.5460"               "500"               "100"   "0.08194804 secs" 
  > test-bma.R:  No. models visited      Modelspace 2^K           % visited         % Topmodels 
  > test-bma.R:               "204"                 "8"              "2550"               "100" 
  > test-bma.R:            Corr PMP            No. Obs.         Model Prior             g-Prior 
  > test-bma.R:            "0.9926"                "50"     "uniform / 1.5"               "UIP" 
  > test-bma.R:     Shrinkage-Stats 
  > test-bma.R:         "Av=0.9804" 
  > test-bma.R: 
  > test-bma.R: Time difference of 0.08194804 secs
  bma: ............................
  box-plot-study-label: ..
  > test-data-auto-detection-confirmation.R: What would you like to do?
  > test-data-auto-detection-confirmation.R: What would you like to do?
  data-auto-detection-confirmation: ..................W.W.
  bma-collinearity: .................................................
  data-column-recognition: .......................................................................................
  data-column-resolution: ................................................
  data-compute: ......
  data-config-defaults: ...............................................
  > test-data-config-resolve.R: i Reading data from 'D:\temp\2026_06_27_01_50_00_12844\RtmpUP6JTH\filea41c33dd3cf9.csv'
  > test-data-config-resolve.R: v Data read successfully: 1000 rows, 5 columns
  data-config-resolve: ..................S.........
  > test-data-interactive-mapping.R: 
  > test-data-interactive-mapping.R: -- Column Mapping Summary --
  > test-data-interactive-mapping.R: 
  > test-data-interactive-mapping.R: study_id (required) -> "study_name"
  > test-data-interactive-mapping.R: effect (required) -> "effect"
  > test-data-interactive-mapping.R: ! Missing required columns: se, n_obs
  > test-data-interactive-mapping.R: Saving column mapping to options
  > test-data-interactive-mapping.R: v Column mapping saved
  data-index: .
  data-interactive-mapping: .......................
  data-preview: W.W.W.W....W.......
  > test-data-smart-detection.R: i Removing 1 empty column: "empty"
  > test-data-smart-detection.R: ! Found duplicate column names: "name"Making names unique...
  > test-data-smart-detection.R: i Removing 2 trailing empty rows
  > test-data-smart-detection.R: i Removing 2 empty columns: "empty1" and "empty2"
  > test-data-smart-detection.R: i Removing 2 trailing empty rows
  data-smart-detection: .................................
  data-preprocess: ....W.....................
  dir_create_linter: ....
  data-utils: ............
  effect-summary-stats-integration: ................................
  effect-summary-stats-interactive: ....................................
  effect-summary-stats: ...............
  > test-fma.R:              PIP    Post Mean    Post SD Cond.Pos.Sign Idx
  > test-fma.R: moderator1 0.304  0.005418825 0.01179750             1   2
  > test-fma.R: moderator2 0.254  0.008979515 0.02093167             1   3
  > test-fma.R: se         0.146 -0.065870041 0.24726116             0   1
  > test-fma.R: 
  > test-fma.R: Mean no. regressors               Draws             Burnins                Time 
  > test-fma.R:            "0.7040"               "500"               "100"   "0.09826112 secs" 
  > test-fma.R:  No. models visited      Modelspace 2^K           % visited         % Topmodels 
  > test-fma.R:               "275"                 "8"              "3438"               "100" 
  > test-fma.R:            Corr PMP            No. Obs.         Model Prior             g-Prior 
  > test-fma.R:            "0.9868"                "40"     "uniform / 1.5"               "UIP" 
  > test-fma.R:     Shrinkage-Stats 
  > test-fma.R:         "Av=0.9756" 
  > test-fma.R: 
  > test-fma.R: Time difference of 0.09826112 secs
  fma: .......
  funnel-plot: ...................
  indentation_guard_clause_linter: ....
  elliott-simulate-cdfs: .........
  libs-editor: ....................
  libs-cache: ..............................................................
  modules-path: .........
  > test-linear-tests.R: 
  > test-linear-tests.R: -- Linear model tests --
  > test-linear-tests.R: 
  > test-linear-tests.R:                 Metric           OLS Fixed Effects Between Effects
  > test-linear-tests.R:       Publication Bias         -0.25         -0.19           -1.63
  > test-linear-tests.R:           (Std. Error)        (0.30)        (0.33)          (2.24)
  > test-linear-tests.R:      Bootstrap CI (PB) [-0.28, 0.36] [-0.55, 0.19]            <NA>
  > test-linear-tests.R:     Effect Beyond Bias       0.21***          0.20            0.36
  > test-linear-tests.R:           (Std. Error)        (0.03)        (0.33)          (0.25)
  > test-linear-tests.R:  Bootstrap CI (Effect)  [0.14, 0.21]  [0.16, 0.24]            <NA>
  > test-linear-tests.R:     Total Observations            30            30              30
  > test-linear-tests.R:  Random Effects Study Weighted OLS Precision Weighted OLS
  > test-linear-tests.R:           -0.23              -0.33                  -0.24
  > test-linear-tests.R:          (0.29)             (0.27)                 (0.24)
  > test-linear-tests.R:   [-0.58, 0.38]      [-0.71, 0.10]          [-0.54, 0.01]
  > test-linear-tests.R:         0.21***            0.22***                0.21***
  > test-linear-tests.R:          (0.03)             (0.02)                 (0.03)
  > test-linear-tests.R:    [0.13, 0.24]       [0.17, 0.26]           [0.19, 0.24]
  > test-linear-tests.R:              30                 30                     30
  nonlinear-tests: ..............
  > test-linear-tests.R: 
  > test-linear-tests.R: -- Linear model tests --
  > test-linear-tests.R: 
  > test-linear-tests.R:                 Metric     OLS Fixed Effects Between Effects Random Effects
  > test-linear-tests.R:       Publication Bias  -0.245        -0.193          -1.631         -0.233
  > test-linear-tests.R:           (Std. Error) (0.304)       (0.325)         (2.239)        (0.294)
  > test-linear-tests.R:      Bootstrap CI (PB)    <NA>          <NA>            <NA>           <NA>
  > test-linear-tests.R:     Effect Beyond Bias   0.210         0.204           0.364          0.209
  > test-linear-tests.R:           (Std. Error) (0.030)       (0.325)         (0.250)        (0.029)
  > test-linear-tests.R:  Bootstrap CI (Effect)    <NA>          <NA>            <NA>           <NA>
  > test-linear-tests.R:     Total Observations      30            30              30             30
  > test-linear-tests.R:  Study Weighted OLS
  > test-linear-tests.R:              -0.328
  > test-linear-tests.R:             (0.268)
  > test-linear-tests.R:                <NA>
  > test-linear-tests.R:               0.218
  > test-linear-tests.R:             (0.025)
  > test-linear-tests.R:                <NA>
  > test-linear-tests.R:                  30
  linear-tests: ...........
  > test-options-column-preprocessing.R: 
  > test-options-column-preprocessing.R: -- Auto-detecting column mappings --
  > test-options-column-preprocessing.R: 
  > test-options-column-preprocessing.R: i Reading data from 'D:\temp\2026_06_27_01_50_00_12844\RtmpayHlpn\filea14c403b4fb5.csv'
  options-significance-marks: ...
  > test-options.R: v The user options file 'valid.yaml' is valid.
  > test-options-column-preprocessing.R: Autonomy level is high - using auto-detected column mappings
  > test-options.R: x Validation failed.
  > test-options.R: 
  > test-options.R: -- Validation errors found: ----------------------------------------------------
  > test-options.R: x Option data.threshold must be numeric/integer, got: four
  > test-options.R: 
  > test-options.R: -- Possible Resolutions: 
  > test-options.R: * Run `artma::options.help(c('opt.name1', 'opt.name2', ...))` to view detailed
  > test-options.R: descriptions of the specified options.
  > test-options.R: * Run `artma::options.modify()` to manually modify the options file.
  > test-options.R: * Run `artma::options.fix()` to automatically fix detected errors where
  > test-options.R: possible.
  > test-options.R: 
  > test-options.R: v The user options file 'valid.yaml' has been successfully copied over to 'copied.yaml'.
  > test-options.R: v Creating a user options file 'new.yaml' was successful.
  > test-options.R: x Validation failed.
  > test-options.R: 
  > test-options.R: -- Validation errors found: ----------------------------------------------------
  > test-options.R: x Option data.threshold must be numeric/integer, got: four
  > test-options.R: 
  > test-options.R: -- Possible Resolutions: 
  > test-options.R: * Run `artma::options.help(c('opt.name1', 'opt.name2', ...))` to view detailed
  > test-options.R: descriptions of the specified options.
  > test-options.R: * Run `artma::options.modify()` to manually modify the options file.
  > test-options.R: * Run `artma::options.fix()` to automatically fix detected errors where
  > test-options.R: possible.
  > test-options.R: 
  > test-options.R: 
  > test-options.R: -- Fixing User Options File ----------------------------------------------------
  > test-options.R: We have detected errors in the user options file: 'invalid.yaml'.
  > test-options.R: 
  > test-options.R: -- Proposed Changes: 
  > test-options.R: * data.threshold: four -> 10
  > test-options.R: 
  > test-options.R: i Running in non-interactive mode. The proposed changes will be applied automatically.
  > test-options.R: An options file 'invalid.yaml' already exists. Overwriting this file...
  > test-options.R: v Fixing a user options file 'invalid.yaml' was successful.
  > test-options.R: v The user options file 'copied.yaml' has been deleted.
  > test-options.R: v Creating a user options file 'to_remove.yaml' was successful.
  > test-options.R: v The user options file 'to_remove.yaml' has been deleted.
  > test-options.R: ! Options file 'stale.yaml' has 1 missing option and 2 type mismatches. Proceeding with template defaults where possible.
  > test-options-column-preprocessing.R: 
  > test-options-column-preprocessing.R: -- Auto-detecting column mappings --
  > test-options-column-preprocessing.R: 
  > test-options-column-preprocessing.R: i Reading data from 'D:\temp\2026_06_27_01_50_00_12844\RtmpayHlpn\filea14c36e13e5f.csv'
  > test-options.R: ! Options file 'stale-no-prefix.yaml' has 1 missing option and 1 type mismatch. Proceeding with template defaults where possible.
  options: .....................
  > test-options-column-preprocessing.R: Autonomy level is high - using auto-detected column mappings
  options-column-preprocessing: .........................
  result-formatters: ...
  polyfills: ............................................
  > test-runtime-methods.R: 
  
  Error:
  ! testthat subprocess exited in file 'test-runtime-methods.R'.
  Caused by error:
  ! R session crashed with exit code -1073741819
  Backtrace:
       ▆
    1. └─testthat::test_check("artma", reporter = "summary")
    2.   └─testthat::test_dir(...)
    3.     └─testthat:::test_files(...)
    4.       └─testthat:::test_files_parallel(...)
    5.         ├─withr::with_dir(...)
    6.         │ └─base::force(code)
    7.         ├─testthat::with_reporter(...)
    8.         │ └─base::tryCatch(...)
    9.         │   └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10.         │     └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11.         │       └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12.         └─testthat:::parallel_event_loop_chunky(queue, reporters, ".")
   13.           └─queue$poll(Inf)
   14.             └─base::lapply(...)
   15.               └─testthat (local) FUN(X[[i]], ...)
   16.                 └─private$handle_error(msg, i)
   17.                   └─cli::cli_abort(...)
   18.                     └─rlang::abort(...)
  Execution halted