Commit da7413f
committed
Fix generate_alpha_test_single function: Add default value for adj.vars parameter
- Added adj.vars = NULL as default parameter to prevent missing argument error
- Updated formula construction logic to handle NULL adj.vars properly
- Fixed issue where function would fail when adj.vars was not provided
- All three scenarios now work correctly:
1. adj.vars not provided (uses default NULL)
2. adj.vars explicitly set to NULL
3. adj.vars provided with actual variables
- Tested with quick verification script to ensure functionality
This resolves the same type of issue found in generate_beta_change_test_pair function.1 parent 7942958 commit da7413f
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
126 | 130 | | |
127 | | - | |
128 | | - | |
129 | | - | |
| 131 | + | |
130 | 132 | | |
131 | 133 | | |
132 | 134 | | |
| |||
0 commit comments