1
0
mirror of https://github.com/msberends/AMR.git synced 2026-06-01 01:01:44 +02:00
Files
AMR/R
Claude 80d5aabed0 Fix stats::setNames, test accessor bug, and version script verification
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
2026-03-07 14:54:07 +00:00
..
2025-04-29 16:15:18 +02:00
2026-01-16 10:57:03 +01:00
2025-04-12 11:46:42 +02:00
2026-03-06 18:53:42 +01:00
2026-03-06 12:41:27 +01:00
2025-04-12 11:46:42 +02:00
2026-01-16 10:57:03 +01:00
2025-04-12 11:46:42 +02:00
2026-01-06 23:08:50 +01:00
2026-01-16 10:57:03 +01:00
2025-04-12 11:46:42 +02:00
2025-06-02 12:11:00 +02:00
2025-04-12 11:46:42 +02:00
2025-04-12 11:46:42 +02:00
2025-07-19 14:06:36 +02:00
2025-06-01 15:35:04 +02:00
2025-04-12 11:46:42 +02:00
2025-04-12 11:46:42 +02:00
2025-04-12 11:46:42 +02:00
2025-06-13 16:12:28 +02:00
2025-04-12 11:46:42 +02:00
2026-03-06 18:53:42 +01:00
2026-01-08 10:21:48 +01:00
2025-04-12 11:46:42 +02:00
2025-06-01 12:17:47 +02:00