Skip to content

vmxr 0.2.0 - #16

Merged
ericnovik merged 5 commits into
mainfrom
develop
Jul 29, 2026
Merged

vmxr 0.2.0 #16
ericnovik merged 5 commits into
mainfrom
develop

Conversation

@jtimonen

@jtimonen jtimonen commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

Release vmxr 0.2.0 with improved correctness, validation, and compatibility with the current VeloMetrix API.

Changes

  • Validate every pagination response and detect repeated cursors instead of silently truncating results or looping forever.
  • Preserve server-defined estimate statistics, interval kinds, interval levels, units, marker identity, and tagged metadata.
  • Update subject, global, and observed-versus-predicted estimate helpers for the current API response shapes.
  • Send an explicit empty PD-marker selection for PK-only modeling previews, matching model-build submission.
  • Add vmx_dosing() and expose dosing separately through vmx_model_data()$dosing.
  • Validate resource IDs, table schemas, parallel arrays, NCA results, simulation results, retry identifiers, and other contract-critical fields.
  • Raise vmx_response_error for malformed successful responses instead of recycling, truncating, or associating values with the wrong resource.
  • Improve terminal-state polling, safe failure messages, dosing-input waiting, and resource-specific timeout defaults.
  • Preserve explicit NULL clearing for nullable update fields while rejecting invalid nulls and unknown fields.
  • Tighten validation for uploads, tags, prep answers, model builds, NCA requests, simulations, and client configuration.
  • Preserve prep-question and response metadata.
  • Harden OIDC token validation and atomic token-cache replacement.
  • Add current API filters for studies, analysis logs, model fits, and model-build logs.
  • Update package documentation and set the release version to 0.2.0.

Compatibility notes

  • Collection functions retain their original all-results behavior and existing positional client arguments.
  • Estimate interval columns now use neutral names such as interval_lower, interval_upper, interval_kind, and interval_level.
  • Simulation dosing-input identifiers are validated against the canonical simdose_ prefix.

Validation

  • Full unit test suite passes.
  • Package source build succeeds.
  • R CMD check --no-manual completes with 0 errors and 0 warnings.
  • The local check reports one environment-only NOTE because optional arrow and httptest2 packages were unavailable.
  • The opt-in live API smoke test was not run because VMX_RUN_LIVE_TESTS was not enabled.

@jtimonen
jtimonen requested a review from ericnovik July 24, 2026 12:36
@ericnovik
ericnovik merged commit 7fa3370 into main Jul 29, 2026
22 checks passed
@ericnovik
ericnovik deleted the develop branch July 29, 2026 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants