tidymodels / tidymodels/multilevelmod

Tests for GEE helpers `gee_formula()` and `gee_fit()`

Open
#87 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
R
Stars
74
Forks
6
Avg merge
1h 53m
Merged PRs (30d)
1

Description

We currently don't have tests for the helpers on their own, it'd be good to have separate tests for at least gee_formula().

gee_formula() should check the edge cases

  • Missing id_var() (should error with helpful message)
  • Multiple id_var() calls (should error)
  • id_var() as the only predictor (intercept-only model)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the implementations of gee_formula() and gee_fit(), then review the existing test structure for related helpers. Add focused tests for missing id_var(), multiple id_var() calls, and id_var() as the only predictor, including the expected helpful error messages. Run the relevant test file or the package test suite to confirm the edge cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.