Last updated on 2026-11-05 04:02:49 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.2.0 | 22.52 | 422.04 | 444.56 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.2.0 | 14.65 | 258.94 | 273.59 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.2.0 | 16.00 | 280.63 | 296.63 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 1.2.2 | 16.00 | 280.81 | 296.81 | OK | |
| r-devel-windows-x86_64 | 1.1.0 | 24.00 | 404.00 | 428.00 | OK | |
| r-patched-linux-x86_64 | 1.2.0 | OK | ||||
| r-release-linux-x86_64 | 1.2.0 | 21.20 | 410.94 | 432.14 | OK | |
| r-release-macos-arm64 | 1.2.2 | 5.00 | 103.00 | 108.00 | OK | |
| r-release-macos-x86_64 | 1.2.2 | 15.00 | 587.00 | 602.00 | OK | |
| r-release-windows-x86_64 | 1.2.0 | 26.00 | 467.00 | 493.00 | OK | |
| r-oldrel-macos-arm64 | 1.2.2 | 7.00 | 138.00 | 145.00 | ERROR | |
| r-oldrel-macos-x86_64 | 1.2.0 | 15.00 | 595.00 | 610.00 | OK | |
| r-oldrel-windows-x86_64 | 1.2.0 | 34.00 | 406.00 | 440.00 | OK |
Version: 1.2.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [56s/68s]
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(wsMed)
> test_check("wsMed")
This is lavaan 0.7-3
lavaan is FREE software! Please report any bugs.
Attaching package: 'mice'
The following object is masked from 'package:stats':
filter
The following objects are masked from 'package:base':
cbind, rbind
Class: mids
Number of multiple imputations: 1
Imputation methods:
C1 C2 A1 B1 D1 D2 C3 W_cont
"" "pmm" "pmm" "" "" "" "" ""
PredictorMatrix:
C1 C2 A1 B1 D1 D2 C3 W_cont
C1 0 1 1 1 1 1 1 1
C2 1 0 1 1 1 1 1 1
A1 1 1 0 1 1 1 1 1
B1 1 1 1 0 1 1 1 1
D1 1 1 1 1 0 1 1 1
D2 1 1 1 1 1 0 1 1
Class: mids
Number of multiple imputations: 1
Imputation methods:
C1 C2 A1 B1 D1 D2 C3 W_cont
"" "pmm" "pmm" "" "" "" "" ""
PredictorMatrix:
C1 C2 A1 B1 D1 D2 C3 W_cont
C1 0 1 1 1 1 1 1 1
C2 1 0 1 1 1 1 1 1
A1 1 1 0 1 1 1 1 1
B1 1 1 1 0 1 1 1 1
D1 1 1 1 1 0 1 1 1
D2 1 1 1 1 1 0 1 1
Class: mids
Number of multiple imputations: 1
Imputation methods:
C1 C2 A1 B1 D1 D2 C3 W_cont
"" "pmm" "pmm" "" "" "" "" ""
PredictorMatrix:
C1 C2 A1 B1 D1 D2 C3 W_cont
C1 0 1 1 1 1 1 1 1
C2 1 0 1 1 1 1 1 1
A1 1 1 0 1 1 1 1 1
B1 1 1 1 0 1 1 1 1
D1 1 1 1 1 0 1 1 1
D2 1 1 1 1 1 0 1 1
Class: mids
Number of multiple imputations: 1
Imputation methods:
C1 C2 A1 B1 D1 D2 C3 W_cont
"" "pmm" "pmm" "" "" "" "" ""
PredictorMatrix:
C1 C2 A1 B1 D1 D2 C3 W_cont
C1 0 1 1 1 1 1 1 1
C2 1 0 1 1 1 1 1 1
A1 1 1 0 1 1 1 1 1
B1 1 1 1 0 1 1 1 1
D1 1 1 1 1 0 1 1 1
D2 1 1 1 1 1 0 1 1
Class: mids
Number of multiple imputations: 1
Imputation methods:
C1 C2 A1 B1 D1 D2 C3 W_bin
"" "pmm" "pmm" "" "" "" "" ""
PredictorMatrix:
C1 C2 A1 B1 D1 D2 C3 W_bin
C1 0 1 1 1 1 1 1 1
C2 1 0 1 1 1 1 1 1
A1 1 1 0 1 1 1 1 1
B1 1 1 1 0 1 1 1 1
D1 1 1 1 1 0 1 1 1
D2 1 1 1 1 1 0 1 1
Class: mids
Number of multiple imputations: 1
Imputation methods:
C1 C2 A1 B1 D1 D2 C3 W_fac3
"" "pmm" "pmm" "" "" "" "" "polyreg"
PredictorMatrix:
C1 C2 A1 B1 D1 D2 C3 W_fac3
C1 0 1 1 1 1 1 1 1
C2 1 0 1 1 1 1 1 1
A1 1 1 0 1 1 1 1 1
B1 1 1 1 0 1 1 1 1
D1 1 1 1 1 0 1 1 1
D2 1 1 1 1 1 0 1 1
Class: mids
Number of multiple imputations: 1
Imputation methods:
C1 C2 A1 B1 D1 D2 C3 W_cont
"" "pmm" "pmm" "" "" "" "" ""
PredictorMatrix:
C1 C2 A1 B1 D1 D2 C3 W_cont
C1 0 1 1 1 1 1 1 1
C2 1 0 1 1 1 1 1 1
A1 1 1 0 1 1 1 1 1
B1 1 1 1 0 1 1 1 1
D1 1 1 1 1 0 1 1 1
D2 1 1 1 1 1 0 1 1
Outcome Difference Model (Ydiff):
Ydiff ~ cp*1 + b1*M1diff + d1*M1avg
Mediator Difference Model (Chained Mediator - M1diff):
M1diff ~ a1*1
Mediator Difference Model (Other Mediators):
M2diff ~ a2*1 + b_1_2*M1diff + d_1_2*M1avg
Indirect Effects:
indirect_1 := a1 * b1
indirect_1_2 := a1 * b_1_2 * b2
Total Indirect Effect:
total_indirect := indirect_1 + indirect_1_2
Total Effect:
total_effect := cp + total_indirect
Saving _problems/test-standardization-phase1-250.R
wsMed analysis
Model: P | DE | Observations: 100
Effects:
wsMed all | raw scale | mc
90% percentile intervals; 100 joint draws; SE from effect draws
Condition contrast: after - before
Estimate Std. Error CI lower CI upper
cp: Direct effect -0.031795 0.015409 -0.057592 -0.004816
indirect_1: A 0.001311 0.004008 -0.003845 0.006398
indirect_2: B -0.001120 0.002270 -0.004713 0.002851
total_indirect: Total indirect effect 0.000191 0.004416 -0.006473 0.005860
total: Total effect -0.031604 0.014997 -0.052637 -0.006763
Inference draws: 100 retained of 100 ; 0 excluded before effect extraction.
Use as.data.frame() for the full-precision table and metadata.
Post-fit admissibility: 1 of 1 ; excluded rows: 0
[ FAIL 1 | WARN 0 | SKIP 8 | PASS 2191 ]
══ Skipped tests (8) ═══════════════════════════════════════════════════════════
• On CRAN (8): 'test-WsMed.R:135:3', 'test-WsMed.R:162:3',
'test-modular-workflow.R:224:3', 'test-print.WsMed.R:81:3',
'test-product-covariances.R:130:3', 'test-product-covariances.R:293:3',
'test-workflow-presentation.R:185:3', 'test-workflow-reliability.R:170:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-standardization-phase1.R:250:5'): UD sparse and reverse-order paths use the same standardization rules ──
Expected maximum scaled refit difference categorical forward <= `tolerance`.
Actual comparison: 0.0000239 > 0.0000200
Difference: 0.0000039 > 0
Backtrace:
▆
1. └─wsMed:::expect_refit_equal(...) at test-standardization-phase1.R:250:5
2. └─testthat::expect_lte(...) at ./helper-refit-comparison.R:27:3
[ FAIL 1 | WARN 0 | SKIP 8 | PASS 2191 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-macos-arm64