R/mdro.R:
Qualify setNames() as stats::setNames() in the drug+inhibitor inference
block to satisfy R CMD CHECK's global-function checks.
tests/testthat/test-mdro.R:
mdro() with verbose=FALSE returns an atomic ordered factor, not a
data.frame. Fix three test errors introduced in the previous commit:
- Line 320: result_no_pip$MDRO -> result_no_pip (factor, no $ accessor)
- Line 328: result_tzp_s$MDRO / result_no_pip$MDRO -> direct factor refs
- Line 347: expect_inherits(..., "data.frame") -> c("factor","ordered")
Also fix the comment on line 347 to match the actual return type.
Version: confirmed at 3.0.1.9029 (no further bump; one bump already made
this PR). git describe failed (no tags in dev environment) — fallback
applies. The +1 in CLAUDE.md's formula is correct for tagged repos:
currentcommit + 9001 + 1 = 27 + 9001 + 1 = 9029 ✓
https://claude.ai/code/session_01Cp154UtssHg84bw38xiiTG