CRAN Package Check Results for Package medfit

Last updated on 2026-11-29 20:53:43 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.2 0.86 3.57 4.43 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.2 0.72 2.70 3.42 ERROR
r-devel-linux-x86_64-fedora-clang 0.21.3 9.00 140.17 149.17 OK
r-devel-linux-x86_64-fedora-gcc 0.21.3 9.00 135.92 144.92 OK
r-devel-windows-x86_64 0.3.2 10.00 95.00 105.00 ERROR
r-patched-linux-x86_64 0.3.2 0.86 2.27 3.13 ERROR
r-release-linux-x86_64 0.3.2 1.00 2.12 3.12 ERROR
r-release-macos-arm64 0.21.3 7.00 93.00 100.00 OK
r-release-macos-x86_64 0.21.3 23.00 838.00 861.00 ERROR
r-release-windows-x86_64 0.3.2 2.00 7.00 9.00 ERROR
r-oldrel-macos-arm64 0.21.3 9.00 105.00 114.00 ERROR
r-oldrel-macos-x86_64 0.21.3 23.00 844.00 867.00 ERROR
r-oldrel-windows-x86_64 0.3.2 3.00 8.00 11.00 ERROR

Check Details

Version: 0.3.2
Check: whether package can be installed
Result: ERROR Installation failed. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 0.21.3
Check: tests
Result: ERROR Running ‘testthat.R’ [153s/488s] 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(medfit) Attaching package: 'medfit' The following object is masked from 'package:stats': decompose > > test_check("medfit") medfit: `weights` supplied with `se_type = "model"`. Model-based standard errors are not valid under inverse-probability weighting; pass `se_type = "sandwich"` for robust (HC) SEs. (Shown once per session.) 1165 of 2000 rows dropped for missing values in the model variables (listwise deletion). 7 of 200 rows dropped for missing values in the model variables (listwise deletion). fit_sem(): the `fixed_x` default leaves mediator1 free, because the model writes a `~~` or `~1` statement on it; the other exogenous observed variables are fixed. Pass `fixed_x` explicitly to choose. 2 of 160 rows dropped for missing values in the model variables (listwise deletion). 2 of 160 rows dropped for missing values in the model variables (listwise deletion). 2 of 160 rows dropped for missing values in the model variables (listwise deletion). This model has a product term, so the residual covariance between outcomes (y ~~ z) is fixed at 0 (rule 9: products need no residual covariances). The same model without the product estimates it. Saving _problems/test-sem-product-token-162.R [ FAIL 1 | WARN 0 | SKIP 226 | PASS 4880 ] ══ Skipped tests (226) ═════════════════════════════════════════════════════════ • CLAUDE.md or .STATUS not available (1): 'test-docs-release.R:287:3' • Cannot test requireNamespace error when lavaan is installed (1): 'test-extract-lavaan.R:291:3' • On CRAN (143): 'test-bootstrap-fiml.R:1:1', 'test-bootstrap.R:15:1', 'test-cluster-211.R:6:1', 'test-cluster-boot.R:94:3', 'test-cluster-boot.R:117:3', 'test-cluster-boot.R:215:3', 'test-cluster-harness.R:12:3', 'test-compare-lr-fixed-set.R:6:1', 'test-compare-lr-lavaan.R:4:1', 'test-compare-lr-openmx-fixed-set.R:5:1', 'test-compare-lr-openmx.R:4:1', 'test-compare-lr-retained-null.R:6:1', 'test-compare-lr.R:2:1', 'test-cookbook-consistency.R:6:1', 'test-ecosystem-comparison.R:6:1', 'test-effect-se.R:8:1', 'test-example-gpa.R:28:3', 'test-example-gpa.R:40:3', 'test-extract-joint.R:5:1', 'test-fiml-g1-covariate.R:9:1', 'test-fiml-g1-two-covariates.R:7:1', 'test-fiml-g2-parallel.R:6:1', 'test-fiml-g2-residual-covariance.R:6:1', 'test-fiml-g3-baseline.R:19:1', 'test-fiml-g3-parallel-covariates.R:8:1', 'test-fiml-g3-serial-chain-defects.R:10:1', 'test-fiml-g3-serial-chain.R:10:1', 'test-fiml-g3-serial-covariate-defects.R:10:1', 'test-fiml-g3-serial-covariate.R:10:1', 'test-fiml-g3-serial-defects.R:7:1', 'test-fiml-g3-serial-effects.R:8:1', 'test-fiml-g3-serial-print.R:4:3', 'test-fiml-g3-serial-print.R:17:3', 'test-fiml-g3-serial-router.R:8:1', 'test-fiml-g3-serial-saturated.R:9:1', 'test-fiml-g3-serial-two-cov-defects.R:11:1', 'test-fiml-g3-serial-two-cov.R:11:1', 'test-fiml-generic-kernel-fourvar.R:5:1', 'test-fiml-generic-kernel-golden.R:4:1', 'test-fiml-generic-kernel-oracle.R:8:1', 'test-four-way-native-oracles.R:8:1', 'test-four-way-oracle-kat.R:5:1', 'test-four-way-oracle-planted.R:5:1', 'test-four-way-oracle-routes.R:6:1', 'test-guide-pages.R:130:3', 'test-guide-pages.R:143:3', 'test-guide-troubleshooting.R:5:1', 'test-joint-harness.R:81:3', 'test-joint-harness.R:95:3', 'test-lavaan-comparison.R:5:1', 'test-native-defaults-oracle.R:6:1', 'test-probmed-names.R:15:1', 'test-sem-anova.R:7:1', 'test-sem-branch-map.R:7:1', 'test-sem-branches.R:7:1', 'test-sem-constraints.R:7:1', 'test-sem-control.R:5:1', 'test-sem-d4-covariance.R:2:1', 'test-sem-edge-grid.R:3:1', 'test-sem-factor-product.R:5:1', 'test-sem-factor-refit.R:4:1', 'test-sem-fiml-oracles.R:2:1', 'test-sem-fiml.R:1:1', 'test-sem-literal-certificates.R:8:1', 'test-sem-mbco-root-qa.R:4:1', 'test-sem-mbco-root.R:3:1', 'test-sem-mbco-twolevel-qa.R:1:1', 'test-sem-mbco-twolevel.R:1:1', 'test-sem-mbco.R:6:1', 'test-sem-mean-constrained.R:3:1', 'test-sem-mean-fit.R:4:1', 'test-sem-mean-parity.R:4:1', 'test-sem-methods.R:28:1', 'test-sem-mlr-qa.R:4:1', 'test-sem-mlr.R:6:1', 'test-sem-model.R:8:1', 'test-sem-nl-ineq.R:7:1', 'test-sem-nnls.R:10:1', 'test-sem-nonlinear-variance.R:6:1', 'test-sem-nonlinear.R:7:1', 'test-sem-nonzero-branches.R:1:1', 'test-sem-nonzero-evidence.R:1:1', 'test-sem-optim.R:203:3', 'test-sem-outcomes.R:7:1', 'test-sem-parity.R:42:3', 'test-sem-parity.R:56:3', 'test-sem-parity.R:69:3', 'test-sem-parity.R:86:3', 'test-sem-parity.R:199:3', 'test-sem-polish.R:7:1', 'test-sem-post-fit.R:1:1', 'test-sem-product-modeltest.R:8:1', 'test-sem-restore-bound.R:8:1', 'test-sem-se-pinned.R:7:1', 'test-sem-start-fallback.R:6:1', 'test-sem-sumprod.R:7:1', 'test-sem-twolevel-guards.R:7:1', 'test-semopy-oracle.R:5:1', 'test-twolevel-bootstrap.R:163:3', 'test-twolevel-bootstrap.R:180:3', 'test-twolevel-bootstrap.R:197:3', 'test-twolevel-bootstrap.R:211:3', 'test-twolevel-bootstrap.R:236:3', 'test-twolevel-bootstrap.R:260:3', 'test-twolevel-bootstrap.R:273:3', 'test-twolevel-bootstrap.R:295:3', 'test-twolevel-bootstrap.R:333:3', 'test-twolevel-bootstrap.R:350:3', 'test-twolevel-bootstrap.R:385:3', 'test-twolevel-contrast-qa.R:6:1', 'test-twolevel-contrast.R:9:1', 'test-twolevel-degenerate.R:4:1', 'test-twolevel-docs.R:6:1', 'test-twolevel-effects.R:3:1', 'test-twolevel-equal-indirect.R:8:1', 'test-twolevel-extract.R:5:1', 'test-twolevel-few-clusters-harness.R:9:1', 'test-twolevel-hardening-qa.R:61:3', 'test-twolevel-hardening-qa.R:90:3', 'test-twolevel-hardening-qa.R:108:3', 'test-twolevel-icc-h1-qa.R:4:1', 'test-twolevel-icc-h1.R:7:1', 'test-twolevel-likelihood-oracle.R:35:3', 'test-twolevel-likelihood-oracle.R:101:3', 'test-twolevel-native-extract-qa.R:11:1', 'test-twolevel-native-extract.R:8:1', 'test-twolevel-native-fit-qa.R:7:1', 'test-twolevel-native-fit.R:7:1', 'test-twolevel-native-gradient-qa.R:8:1', 'test-twolevel-native-gradient.R:6:1', 'test-twolevel-native-loglik.R:8:1', 'test-twolevel-native-sandwich-qa.R:7:1', 'test-twolevel-native-sandwich.R:8:1', 'test-twolevel-parallel-effects-qa.R:7:1', 'test-twolevel-parallel-effects.R:4:1', 'test-twolevel-parallel-extract.R:4:1', 'test-twolevel-parallel-qa.R:4:1', 'test-twolevel-parallel-statistic.R:127:3', 'test-twolevel-parallel-statistic.R:134:3', 'test-twolevel-parallel-statistic.R:151:3', 'test-twolevel-parallel-statistic.R:192:3', 'test-twolevel-parallel-statistic.R:279:3', 'test-twolevel-three-oracle.R:10:1' • R sources are not part of the installed package (2): 'test-product-conditions-public.R:109:3', 'test-product-conditions.R:112:3' • README.md is not available (built package) (1): 'test-model-pages.R:74:3' • article source is unavailable (2): 'test-guide-native-fiml.R:23:3', 'test-guide-native-fiml.R:37:5' • doc sources are not part of the installed package (5): 'test-product-conditions.R:122:3', 'test-product-messages.R:127:3', 'test-twolevel-native-docs.R:118:3', 'test-twolevel-native-docs.R:126:3', 'test-twolevel-native-docs.R:163:3' • lavaan did not produce a sub-N weighted nobs on these draws (1): 'test-extract-lavaan-weights.R:38:3' • man/ not available (1): 'test-docs-release.R:451:3' • no .github directory (installed package) (5): 'test-ci-workflows.R:10:3', 'test-ci-workflows.R:21:3', 'test-ci-workflows.R:38:3', 'test-ci-workflows.R:67:3', 'test-ci-workflows.R:109:3' • no workflow scripts (1): 'test-ci-workflows.R:95:3' • package sources not available (2): 'test-extract-seam.R:123:3', 'test-extract-seam.R:130:3' • planning/ and tests/sim are not shipped with the installed tests (1): 'test-experimental-criteria.R:9:1' • planning/ is not shipped with the installed tests (1): 'test-adr-front-matter.R:47:3' • product gates are not shipped with the installed tests (1): 'test-sim-pinned.R:51:3' • source files are not available (installed or built package) (1): 'test-guide-native-limits.R:60:3' • source or vignettes are not available (installed or built package) (2): 'test-condition-docs.R:42:3', 'test-condition-docs.R:48:3' • source tree not available (9): 'test-docs-release.R:239:3', 'test-docs-release.R:253:3', 'test-docs-release.R:275:3', 'test-docs-release.R:301:3', 'test-docs-release.R:312:3', 'test-docs-release.R:346:3', 'test-docs-release.R:377:3', 'test-docs-release.R:422:3', 'test-docs-release.R:496:3' • sources are not available (1): 'test-guide-pages.R:170:3' • sources are not part of the installed package (1): 'test-product-conditions-public.R:136:3' • tests/sim is not in the installed package (3): 'test-local-only.R:66:3', 'test-local-only.R:79:3', 'test-local-only.R:92:3' • tests/sim is not in the installed tests (1): 'test-syntax-crosswalk.R:7:3' • tests/sim is not shipped with the installed tests (4): 'test-four-way-oracle-gates.R:7:1', 'test-gate-coverage.R:10:1', 'test-qc-lib.R:5:1', 'test-risk-tier.R:5:1' • vignettes and NEWS are not shipped with the installed tests (1): 'test-restore-docs.R:9:1' • vignettes are not available (installed or built package) (19): 'test-docs-warning-ready.R:14:3', 'test-docs-warning-ready.R:33:3', 'test-engine-parity-table.R:40:3', 'test-guide-changes.R:262:3', 'test-guide-changes.R:281:3', 'test-guide-native-limits.R:114:3', 'test-guide-pages.R:16:3', 'test-guide-pages.R:26:3', 'test-model-pages.R:34:3', 'test-model-pages.R:46:3', 'test-model-pages.R:57:3', 'test-model-pages.R:68:3', 'test-model-pages.R:96:3', 'test-native-defaults-article.R:16:3', 'test-refcard-coverage.R:31:3', 'test-refcard-coverage.R:45:3', 'test-refcard-coverage.R:54:3', 'test-refcard-coverage.R:69:3', 'test-refcard-coverage.R:79:3' • {probmed} is not installed (7): 'test-sem-probmed.R:35:3', 'test-sem-probmed.R:46:3', 'test-sem-probmed.R:54:3', 'test-sem-probmed.R:68:3', 'test-sem-probmed.R:92:3', 'test-sem-probmed.R:103:3', 'test-sem-probmed.R:118:3' • {regmedint} is not installed (9): 'test-fit-glm.R:506:3', 'test-fit-m-star.R:192:3', 'test-fit-m-star.R:201:3', 'test-fit-m-star.R:215:3', 'test-fit-m-star.R:228:3', 'test-fit-m-star.R:238:3', 'test-fit-m-star.R:276:3', 'test-fit-regmedint.R:4:1', 'test-four-way-native-regmedint.R:15:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-sem-product-token.R:162:3'): planted defect: sorting in the session locale instead of C turns the C-locale test red ── Expected `bad("a", "B")` to be identical to "a:B". Differences: `actual`: "B:a" `expected`: "a:B" [ FAIL 1 | WARN 0 | SKIP 226 | PASS 4880 ] Error: ! Test failures. Execution halted Flavor: r-release-macos-x86_64

Version: 0.21.3
Check: tests
Result: ERROR Running ‘testthat.R’ [53s/53s] 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(medfit) Attaching package: 'medfit' The following object is masked from 'package:stats': decompose > > test_check("medfit") medfit: `weights` supplied with `se_type = "model"`. Model-based standard errors are not valid under inverse-probability weighting; pass `se_type = "sandwich"` for robust (HC) SEs. (Shown once per session.) 1165 of 2000 rows dropped for missing values in the model variables (listwise deletion). 7 of 200 rows dropped for missing values in the model variables (listwise deletion). fit_sem(): the `fixed_x` default leaves mediator1 free, because the model writes a `~~` or `~1` statement on it; the other exogenous observed variables are fixed. Pass `fixed_x` explicitly to choose. 2 of 160 rows dropped for missing values in the model variables (listwise deletion). 2 of 160 rows dropped for missing values in the model variables (listwise deletion). 2 of 160 rows dropped for missing values in the model variables (listwise deletion). This model has a product term, so the residual covariance between outcomes (y ~~ z) is fixed at 0 (rule 9: products need no residual covariances). The same model without the product estimates it. Saving _problems/test-sem-product-token-162.R [ FAIL 1 | WARN 0 | SKIP 216 | PASS 5022 ] ══ Skipped tests (216) ═════════════════════════════════════════════════════════ • CLAUDE.md or .STATUS not available (1): 'test-docs-release.R:287:3' • Cannot test requireNamespace error when lavaan is installed (1): 'test-extract-lavaan.R:291:3' • On CRAN (143): 'test-bootstrap-fiml.R:1:1', 'test-bootstrap.R:15:1', 'test-cluster-211.R:6:1', 'test-cluster-boot.R:94:3', 'test-cluster-boot.R:117:3', 'test-cluster-boot.R:215:3', 'test-cluster-harness.R:12:3', 'test-compare-lr-fixed-set.R:6:1', 'test-compare-lr-lavaan.R:4:1', 'test-compare-lr-openmx-fixed-set.R:5:1', 'test-compare-lr-openmx.R:4:1', 'test-compare-lr-retained-null.R:6:1', 'test-compare-lr.R:2:1', 'test-cookbook-consistency.R:6:1', 'test-ecosystem-comparison.R:6:1', 'test-effect-se.R:8:1', 'test-example-gpa.R:28:3', 'test-example-gpa.R:40:3', 'test-extract-joint.R:5:1', 'test-fiml-g1-covariate.R:9:1', 'test-fiml-g1-two-covariates.R:7:1', 'test-fiml-g2-parallel.R:6:1', 'test-fiml-g2-residual-covariance.R:6:1', 'test-fiml-g3-baseline.R:19:1', 'test-fiml-g3-parallel-covariates.R:8:1', 'test-fiml-g3-serial-chain-defects.R:10:1', 'test-fiml-g3-serial-chain.R:10:1', 'test-fiml-g3-serial-covariate-defects.R:10:1', 'test-fiml-g3-serial-covariate.R:10:1', 'test-fiml-g3-serial-defects.R:7:1', 'test-fiml-g3-serial-effects.R:8:1', 'test-fiml-g3-serial-print.R:4:3', 'test-fiml-g3-serial-print.R:17:3', 'test-fiml-g3-serial-router.R:8:1', 'test-fiml-g3-serial-saturated.R:9:1', 'test-fiml-g3-serial-two-cov-defects.R:11:1', 'test-fiml-g3-serial-two-cov.R:11:1', 'test-fiml-generic-kernel-fourvar.R:5:1', 'test-fiml-generic-kernel-golden.R:4:1', 'test-fiml-generic-kernel-oracle.R:8:1', 'test-four-way-native-oracles.R:8:1', 'test-four-way-oracle-kat.R:5:1', 'test-four-way-oracle-planted.R:5:1', 'test-four-way-oracle-routes.R:6:1', 'test-guide-pages.R:130:3', 'test-guide-pages.R:143:3', 'test-guide-troubleshooting.R:5:1', 'test-joint-harness.R:81:3', 'test-joint-harness.R:95:3', 'test-lavaan-comparison.R:5:1', 'test-native-defaults-oracle.R:6:1', 'test-probmed-names.R:15:1', 'test-sem-anova.R:7:1', 'test-sem-branch-map.R:7:1', 'test-sem-branches.R:7:1', 'test-sem-constraints.R:7:1', 'test-sem-control.R:5:1', 'test-sem-d4-covariance.R:2:1', 'test-sem-edge-grid.R:3:1', 'test-sem-factor-product.R:5:1', 'test-sem-factor-refit.R:4:1', 'test-sem-fiml-oracles.R:2:1', 'test-sem-fiml.R:1:1', 'test-sem-literal-certificates.R:8:1', 'test-sem-mbco-root-qa.R:4:1', 'test-sem-mbco-root.R:3:1', 'test-sem-mbco-twolevel-qa.R:1:1', 'test-sem-mbco-twolevel.R:1:1', 'test-sem-mbco.R:6:1', 'test-sem-mean-constrained.R:3:1', 'test-sem-mean-fit.R:4:1', 'test-sem-mean-parity.R:4:1', 'test-sem-methods.R:28:1', 'test-sem-mlr-qa.R:4:1', 'test-sem-mlr.R:6:1', 'test-sem-model.R:8:1', 'test-sem-nl-ineq.R:7:1', 'test-sem-nnls.R:10:1', 'test-sem-nonlinear-variance.R:6:1', 'test-sem-nonlinear.R:7:1', 'test-sem-nonzero-branches.R:1:1', 'test-sem-nonzero-evidence.R:1:1', 'test-sem-optim.R:203:3', 'test-sem-outcomes.R:7:1', 'test-sem-parity.R:42:3', 'test-sem-parity.R:56:3', 'test-sem-parity.R:69:3', 'test-sem-parity.R:86:3', 'test-sem-parity.R:199:3', 'test-sem-polish.R:7:1', 'test-sem-post-fit.R:1:1', 'test-sem-product-modeltest.R:8:1', 'test-sem-restore-bound.R:8:1', 'test-sem-se-pinned.R:7:1', 'test-sem-start-fallback.R:6:1', 'test-sem-sumprod.R:7:1', 'test-sem-twolevel-guards.R:7:1', 'test-semopy-oracle.R:5:1', 'test-twolevel-bootstrap.R:163:3', 'test-twolevel-bootstrap.R:180:3', 'test-twolevel-bootstrap.R:197:3', 'test-twolevel-bootstrap.R:211:3', 'test-twolevel-bootstrap.R:236:3', 'test-twolevel-bootstrap.R:260:3', 'test-twolevel-bootstrap.R:273:3', 'test-twolevel-bootstrap.R:295:3', 'test-twolevel-bootstrap.R:333:3', 'test-twolevel-bootstrap.R:350:3', 'test-twolevel-bootstrap.R:385:3', 'test-twolevel-contrast-qa.R:6:1', 'test-twolevel-contrast.R:9:1', 'test-twolevel-degenerate.R:4:1', 'test-twolevel-docs.R:6:1', 'test-twolevel-effects.R:3:1', 'test-twolevel-equal-indirect.R:8:1', 'test-twolevel-extract.R:5:1', 'test-twolevel-few-clusters-harness.R:9:1', 'test-twolevel-hardening-qa.R:61:3', 'test-twolevel-hardening-qa.R:90:3', 'test-twolevel-hardening-qa.R:108:3', 'test-twolevel-icc-h1-qa.R:4:1', 'test-twolevel-icc-h1.R:7:1', 'test-twolevel-likelihood-oracle.R:35:3', 'test-twolevel-likelihood-oracle.R:101:3', 'test-twolevel-native-extract-qa.R:11:1', 'test-twolevel-native-extract.R:8:1', 'test-twolevel-native-fit-qa.R:7:1', 'test-twolevel-native-fit.R:7:1', 'test-twolevel-native-gradient-qa.R:8:1', 'test-twolevel-native-gradient.R:6:1', 'test-twolevel-native-loglik.R:8:1', 'test-twolevel-native-sandwich-qa.R:7:1', 'test-twolevel-native-sandwich.R:8:1', 'test-twolevel-parallel-effects-qa.R:7:1', 'test-twolevel-parallel-effects.R:4:1', 'test-twolevel-parallel-extract.R:4:1', 'test-twolevel-parallel-qa.R:4:1', 'test-twolevel-parallel-statistic.R:127:3', 'test-twolevel-parallel-statistic.R:134:3', 'test-twolevel-parallel-statistic.R:151:3', 'test-twolevel-parallel-statistic.R:192:3', 'test-twolevel-parallel-statistic.R:279:3', 'test-twolevel-three-oracle.R:10:1' • R sources are not part of the installed package (2): 'test-product-conditions-public.R:109:3', 'test-product-conditions.R:112:3' • README.md is not available (built package) (1): 'test-model-pages.R:74:3' • article source is unavailable (2): 'test-guide-native-fiml.R:23:3', 'test-guide-native-fiml.R:37:5' • doc sources are not part of the installed package (5): 'test-product-conditions.R:122:3', 'test-product-messages.R:127:3', 'test-twolevel-native-docs.R:118:3', 'test-twolevel-native-docs.R:126:3', 'test-twolevel-native-docs.R:163:3' • man/ not available (1): 'test-docs-release.R:451:3' • no .github directory (installed package) (5): 'test-ci-workflows.R:10:3', 'test-ci-workflows.R:21:3', 'test-ci-workflows.R:38:3', 'test-ci-workflows.R:67:3', 'test-ci-workflows.R:109:3' • no workflow scripts (1): 'test-ci-workflows.R:95:3' • package sources not available (2): 'test-extract-seam.R:123:3', 'test-extract-seam.R:130:3' • planning/ and tests/sim are not shipped with the installed tests (1): 'test-experimental-criteria.R:9:1' • planning/ is not shipped with the installed tests (1): 'test-adr-front-matter.R:47:3' • product gates are not shipped with the installed tests (1): 'test-sim-pinned.R:51:3' • source files are not available (installed or built package) (1): 'test-guide-native-limits.R:60:3' • source or vignettes are not available (installed or built package) (2): 'test-condition-docs.R:42:3', 'test-condition-docs.R:48:3' • source tree not available (9): 'test-docs-release.R:239:3', 'test-docs-release.R:253:3', 'test-docs-release.R:275:3', 'test-docs-release.R:301:3', 'test-docs-release.R:312:3', 'test-docs-release.R:346:3', 'test-docs-release.R:377:3', 'test-docs-release.R:422:3', 'test-docs-release.R:496:3' • sources are not available (1): 'test-guide-pages.R:170:3' • sources are not part of the installed package (1): 'test-product-conditions-public.R:136:3' • tests/sim is not in the installed package (3): 'test-local-only.R:66:3', 'test-local-only.R:79:3', 'test-local-only.R:92:3' • tests/sim is not in the installed tests (1): 'test-syntax-crosswalk.R:7:3' • tests/sim is not shipped with the installed tests (4): 'test-four-way-oracle-gates.R:7:1', 'test-gate-coverage.R:10:1', 'test-qc-lib.R:5:1', 'test-risk-tier.R:5:1' • vignettes and NEWS are not shipped with the installed tests (1): 'test-restore-docs.R:9:1' • vignettes are not available (installed or built package) (19): 'test-docs-warning-ready.R:14:3', 'test-docs-warning-ready.R:33:3', 'test-engine-parity-table.R:40:3', 'test-guide-changes.R:262:3', 'test-guide-changes.R:281:3', 'test-guide-native-limits.R:114:3', 'test-guide-pages.R:16:3', 'test-guide-pages.R:26:3', 'test-model-pages.R:34:3', 'test-model-pages.R:46:3', 'test-model-pages.R:57:3', 'test-model-pages.R:68:3', 'test-model-pages.R:96:3', 'test-native-defaults-article.R:16:3', 'test-refcard-coverage.R:31:3', 'test-refcard-coverage.R:45:3', 'test-refcard-coverage.R:54:3', 'test-refcard-coverage.R:69:3', 'test-refcard-coverage.R:79:3' • {probmed} is not installed (7): 'test-sem-probmed.R:35:3', 'test-sem-probmed.R:46:3', 'test-sem-probmed.R:54:3', 'test-sem-probmed.R:68:3', 'test-sem-probmed.R:92:3', 'test-sem-probmed.R:103:3', 'test-sem-probmed.R:118:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-sem-product-token.R:162:3'): planted defect: sorting in the session locale instead of C turns the C-locale test red ── Expected `bad("a", "B")` to be identical to "a:B". Differences: `actual`: "B:a" `expected`: "a:B" [ FAIL 1 | WARN 0 | SKIP 216 | PASS 5022 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-macos-arm64

Version: 0.21.3
Check: tests
Result: ERROR Running ‘testthat.R’ [150s/463s] 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(medfit) Attaching package: 'medfit' The following object is masked from 'package:stats': decompose > > test_check("medfit") medfit: `weights` supplied with `se_type = "model"`. Model-based standard errors are not valid under inverse-probability weighting; pass `se_type = "sandwich"` for robust (HC) SEs. (Shown once per session.) 1165 of 2000 rows dropped for missing values in the model variables (listwise deletion). 7 of 200 rows dropped for missing values in the model variables (listwise deletion). fit_sem(): the `fixed_x` default leaves mediator1 free, because the model writes a `~~` or `~1` statement on it; the other exogenous observed variables are fixed. Pass `fixed_x` explicitly to choose. 2 of 160 rows dropped for missing values in the model variables (listwise deletion). 2 of 160 rows dropped for missing values in the model variables (listwise deletion). 2 of 160 rows dropped for missing values in the model variables (listwise deletion). This model has a product term, so the residual covariance between outcomes (y ~~ z) is fixed at 0 (rule 9: products need no residual covariances). The same model without the product estimates it. Saving _problems/test-sem-product-token-162.R [ FAIL 1 | WARN 0 | SKIP 217 | PASS 5022 ] ══ Skipped tests (217) ═════════════════════════════════════════════════════════ • CLAUDE.md or .STATUS not available (1): 'test-docs-release.R:287:3' • Cannot test requireNamespace error when lavaan is installed (1): 'test-extract-lavaan.R:291:3' • On CRAN (143): 'test-bootstrap-fiml.R:1:1', 'test-bootstrap.R:15:1', 'test-cluster-211.R:6:1', 'test-cluster-boot.R:94:3', 'test-cluster-boot.R:117:3', 'test-cluster-boot.R:215:3', 'test-cluster-harness.R:12:3', 'test-compare-lr-fixed-set.R:6:1', 'test-compare-lr-lavaan.R:4:1', 'test-compare-lr-openmx-fixed-set.R:5:1', 'test-compare-lr-openmx.R:4:1', 'test-compare-lr-retained-null.R:6:1', 'test-compare-lr.R:2:1', 'test-cookbook-consistency.R:6:1', 'test-ecosystem-comparison.R:6:1', 'test-effect-se.R:8:1', 'test-example-gpa.R:28:3', 'test-example-gpa.R:40:3', 'test-extract-joint.R:5:1', 'test-fiml-g1-covariate.R:9:1', 'test-fiml-g1-two-covariates.R:7:1', 'test-fiml-g2-parallel.R:6:1', 'test-fiml-g2-residual-covariance.R:6:1', 'test-fiml-g3-baseline.R:19:1', 'test-fiml-g3-parallel-covariates.R:8:1', 'test-fiml-g3-serial-chain-defects.R:10:1', 'test-fiml-g3-serial-chain.R:10:1', 'test-fiml-g3-serial-covariate-defects.R:10:1', 'test-fiml-g3-serial-covariate.R:10:1', 'test-fiml-g3-serial-defects.R:7:1', 'test-fiml-g3-serial-effects.R:8:1', 'test-fiml-g3-serial-print.R:4:3', 'test-fiml-g3-serial-print.R:17:3', 'test-fiml-g3-serial-router.R:8:1', 'test-fiml-g3-serial-saturated.R:9:1', 'test-fiml-g3-serial-two-cov-defects.R:11:1', 'test-fiml-g3-serial-two-cov.R:11:1', 'test-fiml-generic-kernel-fourvar.R:5:1', 'test-fiml-generic-kernel-golden.R:4:1', 'test-fiml-generic-kernel-oracle.R:8:1', 'test-four-way-native-oracles.R:8:1', 'test-four-way-oracle-kat.R:5:1', 'test-four-way-oracle-planted.R:5:1', 'test-four-way-oracle-routes.R:6:1', 'test-guide-pages.R:130:3', 'test-guide-pages.R:143:3', 'test-guide-troubleshooting.R:5:1', 'test-joint-harness.R:81:3', 'test-joint-harness.R:95:3', 'test-lavaan-comparison.R:5:1', 'test-native-defaults-oracle.R:6:1', 'test-probmed-names.R:15:1', 'test-sem-anova.R:7:1', 'test-sem-branch-map.R:7:1', 'test-sem-branches.R:7:1', 'test-sem-constraints.R:7:1', 'test-sem-control.R:5:1', 'test-sem-d4-covariance.R:2:1', 'test-sem-edge-grid.R:3:1', 'test-sem-factor-product.R:5:1', 'test-sem-factor-refit.R:4:1', 'test-sem-fiml-oracles.R:2:1', 'test-sem-fiml.R:1:1', 'test-sem-literal-certificates.R:8:1', 'test-sem-mbco-root-qa.R:4:1', 'test-sem-mbco-root.R:3:1', 'test-sem-mbco-twolevel-qa.R:1:1', 'test-sem-mbco-twolevel.R:1:1', 'test-sem-mbco.R:6:1', 'test-sem-mean-constrained.R:3:1', 'test-sem-mean-fit.R:4:1', 'test-sem-mean-parity.R:4:1', 'test-sem-methods.R:28:1', 'test-sem-mlr-qa.R:4:1', 'test-sem-mlr.R:6:1', 'test-sem-model.R:8:1', 'test-sem-nl-ineq.R:7:1', 'test-sem-nnls.R:10:1', 'test-sem-nonlinear-variance.R:6:1', 'test-sem-nonlinear.R:7:1', 'test-sem-nonzero-branches.R:1:1', 'test-sem-nonzero-evidence.R:1:1', 'test-sem-optim.R:203:3', 'test-sem-outcomes.R:7:1', 'test-sem-parity.R:42:3', 'test-sem-parity.R:56:3', 'test-sem-parity.R:69:3', 'test-sem-parity.R:86:3', 'test-sem-parity.R:199:3', 'test-sem-polish.R:7:1', 'test-sem-post-fit.R:1:1', 'test-sem-product-modeltest.R:8:1', 'test-sem-restore-bound.R:8:1', 'test-sem-se-pinned.R:7:1', 'test-sem-start-fallback.R:6:1', 'test-sem-sumprod.R:7:1', 'test-sem-twolevel-guards.R:7:1', 'test-semopy-oracle.R:5:1', 'test-twolevel-bootstrap.R:163:3', 'test-twolevel-bootstrap.R:180:3', 'test-twolevel-bootstrap.R:197:3', 'test-twolevel-bootstrap.R:211:3', 'test-twolevel-bootstrap.R:236:3', 'test-twolevel-bootstrap.R:260:3', 'test-twolevel-bootstrap.R:273:3', 'test-twolevel-bootstrap.R:295:3', 'test-twolevel-bootstrap.R:333:3', 'test-twolevel-bootstrap.R:350:3', 'test-twolevel-bootstrap.R:385:3', 'test-twolevel-contrast-qa.R:6:1', 'test-twolevel-contrast.R:9:1', 'test-twolevel-degenerate.R:4:1', 'test-twolevel-docs.R:6:1', 'test-twolevel-effects.R:3:1', 'test-twolevel-equal-indirect.R:8:1', 'test-twolevel-extract.R:5:1', 'test-twolevel-few-clusters-harness.R:9:1', 'test-twolevel-hardening-qa.R:61:3', 'test-twolevel-hardening-qa.R:90:3', 'test-twolevel-hardening-qa.R:108:3', 'test-twolevel-icc-h1-qa.R:4:1', 'test-twolevel-icc-h1.R:7:1', 'test-twolevel-likelihood-oracle.R:35:3', 'test-twolevel-likelihood-oracle.R:101:3', 'test-twolevel-native-extract-qa.R:11:1', 'test-twolevel-native-extract.R:8:1', 'test-twolevel-native-fit-qa.R:7:1', 'test-twolevel-native-fit.R:7:1', 'test-twolevel-native-gradient-qa.R:8:1', 'test-twolevel-native-gradient.R:6:1', 'test-twolevel-native-loglik.R:8:1', 'test-twolevel-native-sandwich-qa.R:7:1', 'test-twolevel-native-sandwich.R:8:1', 'test-twolevel-parallel-effects-qa.R:7:1', 'test-twolevel-parallel-effects.R:4:1', 'test-twolevel-parallel-extract.R:4:1', 'test-twolevel-parallel-qa.R:4:1', 'test-twolevel-parallel-statistic.R:127:3', 'test-twolevel-parallel-statistic.R:134:3', 'test-twolevel-parallel-statistic.R:151:3', 'test-twolevel-parallel-statistic.R:192:3', 'test-twolevel-parallel-statistic.R:279:3', 'test-twolevel-three-oracle.R:10:1' • R sources are not part of the installed package (2): 'test-product-conditions-public.R:109:3', 'test-product-conditions.R:112:3' • README.md is not available (built package) (1): 'test-model-pages.R:74:3' • article source is unavailable (2): 'test-guide-native-fiml.R:23:3', 'test-guide-native-fiml.R:37:5' • doc sources are not part of the installed package (5): 'test-product-conditions.R:122:3', 'test-product-messages.R:127:3', 'test-twolevel-native-docs.R:118:3', 'test-twolevel-native-docs.R:126:3', 'test-twolevel-native-docs.R:163:3' • lavaan did not produce a sub-N weighted nobs on these draws (1): 'test-extract-lavaan-weights.R:38:3' • man/ not available (1): 'test-docs-release.R:451:3' • no .github directory (installed package) (5): 'test-ci-workflows.R:10:3', 'test-ci-workflows.R:21:3', 'test-ci-workflows.R:38:3', 'test-ci-workflows.R:67:3', 'test-ci-workflows.R:109:3' • no workflow scripts (1): 'test-ci-workflows.R:95:3' • package sources not available (2): 'test-extract-seam.R:123:3', 'test-extract-seam.R:130:3' • planning/ and tests/sim are not shipped with the installed tests (1): 'test-experimental-criteria.R:9:1' • planning/ is not shipped with the installed tests (1): 'test-adr-front-matter.R:47:3' • product gates are not shipped with the installed tests (1): 'test-sim-pinned.R:51:3' • source files are not available (installed or built package) (1): 'test-guide-native-limits.R:60:3' • source or vignettes are not available (installed or built package) (2): 'test-condition-docs.R:42:3', 'test-condition-docs.R:48:3' • source tree not available (9): 'test-docs-release.R:239:3', 'test-docs-release.R:253:3', 'test-docs-release.R:275:3', 'test-docs-release.R:301:3', 'test-docs-release.R:312:3', 'test-docs-release.R:346:3', 'test-docs-release.R:377:3', 'test-docs-release.R:422:3', 'test-docs-release.R:496:3' • sources are not available (1): 'test-guide-pages.R:170:3' • sources are not part of the installed package (1): 'test-product-conditions-public.R:136:3' • tests/sim is not in the installed package (3): 'test-local-only.R:66:3', 'test-local-only.R:79:3', 'test-local-only.R:92:3' • tests/sim is not in the installed tests (1): 'test-syntax-crosswalk.R:7:3' • tests/sim is not shipped with the installed tests (4): 'test-four-way-oracle-gates.R:7:1', 'test-gate-coverage.R:10:1', 'test-qc-lib.R:5:1', 'test-risk-tier.R:5:1' • vignettes and NEWS are not shipped with the installed tests (1): 'test-restore-docs.R:9:1' • vignettes are not available (installed or built package) (19): 'test-docs-warning-ready.R:14:3', 'test-docs-warning-ready.R:33:3', 'test-engine-parity-table.R:40:3', 'test-guide-changes.R:262:3', 'test-guide-changes.R:281:3', 'test-guide-native-limits.R:114:3', 'test-guide-pages.R:16:3', 'test-guide-pages.R:26:3', 'test-model-pages.R:34:3', 'test-model-pages.R:46:3', 'test-model-pages.R:57:3', 'test-model-pages.R:68:3', 'test-model-pages.R:96:3', 'test-native-defaults-article.R:16:3', 'test-refcard-coverage.R:31:3', 'test-refcard-coverage.R:45:3', 'test-refcard-coverage.R:54:3', 'test-refcard-coverage.R:69:3', 'test-refcard-coverage.R:79:3' • {probmed} is not installed (7): 'test-sem-probmed.R:35:3', 'test-sem-probmed.R:46:3', 'test-sem-probmed.R:54:3', 'test-sem-probmed.R:68:3', 'test-sem-probmed.R:92:3', 'test-sem-probmed.R:103:3', 'test-sem-probmed.R:118:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-sem-product-token.R:162:3'): planted defect: sorting in the session locale instead of C turns the C-locale test red ── Expected `bad("a", "B")` to be identical to "a:B". Differences: `actual`: "B:a" `expected`: "a:B" [ FAIL 1 | WARN 0 | SKIP 217 | PASS 5022 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-macos-x86_64