CRAN Package Check Results for Maintainer ‘Anish S. Shah <ashah282 at uic.edu>’

Last updated on 2025-11-15 03:50:45 CET.

Package ERROR NOTE OK
rmdl 3 6 4

Package rmdl

Current CRAN status: ERROR: 3, NOTE: 6, OK: 4

Version: 0.1.0
Check: DESCRIPTION meta-information
Result: NOTE Missing dependency on R >= 4.2.0 because package code uses the pipe placeholder syntax added in R 4.2.0. File(s) using such syntax: ‘model-table.R’ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-windows-x86_64

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [10s/13s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(rmdl) Loading required package: vctrs Loading required package: tibble Attaching package: 'tibble' The following object is masked from 'package:vctrs': data_frame Attaching package: 'rmdl' The following object is masked from 'package:testthat': describe > > test_check("rmdl") Interaction term `green` was applied to exposure term `witch` Interaction term `green` was applied to exposure term `witch` Interaction term `west` was applied to exposure term `witch` Using `fundamental` decomposition pattern: - Mediation term: NA - Stratifying term: NA Using `fundamental` decomposition pattern: - Mediation term: NA - Stratifying term: NA Interaction term `green` was applied to exposure term `witch` Saving _problems/test-terms-213.R [ FAIL 1 | WARN 0 | SKIP 4 | PASS 206 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • Skipping (1): 'test-formulas.R:57:2' • empty test (3): 'test-interaction.R:41:1', 'test-model-table.R:272:1', 'test-patterns.R:36:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-terms.R:213:2'): interaction terms are appropriately made ────── Error in `expect(length(t), 5)`: `ok` must be `TRUE` or `FALSE`, not the number 5. Backtrace: ▆ 1. └─testthat::expect(ok = length(t)) at test-terms.R:213:9 2. └─testthat:::check_bool(ok) 3. └─testthat:::stop_input_type(...) 4. └─rlang::abort(message, ..., call = call, arg = arg) [ FAIL 1 | WARN 0 | SKIP 4 | PASS 206 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [26s/50s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(rmdl) Loading required package: vctrs Loading required package: tibble Attaching package: 'tibble' The following object is masked from 'package:vctrs': data_frame Attaching package: 'rmdl' The following object is masked from 'package:testthat': describe > > test_check("rmdl") Interaction term `green` was applied to exposure term `witch` Interaction term `green` was applied to exposure term `witch` Interaction term `west` was applied to exposure term `witch` Using `fundamental` decomposition pattern: - Mediation term: NA - Stratifying term: NA Using `fundamental` decomposition pattern: - Mediation term: NA - Stratifying term: NA Interaction term `green` was applied to exposure term `witch` Saving _problems/test-terms-213.R [ FAIL 1 | WARN 0 | SKIP 4 | PASS 206 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • Skipping (1): 'test-formulas.R:57:2' • empty test (3): 'test-interaction.R:41:1', 'test-model-table.R:272:1', 'test-patterns.R:36:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-terms.R:213:2'): interaction terms are appropriately made ────── Error in `expect(length(t), 5)`: `ok` must be `TRUE` or `FALSE`, not the number 5. Backtrace: ▆ 1. └─testthat::expect(ok = length(t)) at test-terms.R:213:9 2. └─testthat:::check_bool(ok) 3. └─testthat:::stop_input_type(...) 4. └─rlang::abort(message, ..., call = call, arg = arg) [ FAIL 1 | WARN 0 | SKIP 4 | PASS 206 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [25s/63s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(rmdl) Loading required package: vctrs Loading required package: tibble Attaching package: 'tibble' The following object is masked from 'package:vctrs': data_frame Attaching package: 'rmdl' The following object is masked from 'package:testthat': describe > > test_check("rmdl") Interaction term `green` was applied to exposure term `witch` Interaction term `green` was applied to exposure term `witch` Interaction term `west` was applied to exposure term `witch` Using `fundamental` decomposition pattern: - Mediation term: NA - Stratifying term: NA Using `fundamental` decomposition pattern: - Mediation term: NA - Stratifying term: NA Interaction term `green` was applied to exposure term `witch` Saving _problems/test-terms-213.R [ FAIL 1 | WARN 0 | SKIP 4 | PASS 206 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • Skipping (1): 'test-formulas.R:57:2' • empty test (3): 'test-interaction.R:41:1', 'test-model-table.R:272:1', 'test-patterns.R:36:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-terms.R:213:2'): interaction terms are appropriately made ────── Error in `expect(length(t), 5)`: `ok` must be `TRUE` or `FALSE`, not the number 5. Backtrace: ▆ 1. └─testthat::expect(ok = length(t)) at test-terms.R:213:9 2. └─testthat:::check_bool(ok) 3. └─testthat:::stop_input_type(...) 4. └─rlang::abort(message, ..., call = call, arg = arg) [ FAIL 1 | WARN 0 | SKIP 4 | PASS 206 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc