Skip to content

Add unit tests for tidy parameter selection helpers #492

@utkarshpawade

Description

@utkarshpawade

param_range(), param_glue(), and tidyselect_parameters() in R/tidy-params.R currently have no dedicated unit tests. The only coverage comes indirectly through prepare_mcmc_array() integration tests in test-helpers-mcmc.R.

This leaves gaps in:

  • Standalone behavior (correct index selection, partial matches)
  • Edge cases (no matches, single index)
  • Error handling (vars type validation)

A dedicated tests/testthat/test-tidy-params.R file should be added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions