Commit f2f51de
committed
fix(factanal): restore na.rm/quantile_prob/retained from spec's final compute_parallel_analysis() (#37332)
Independent spec-compliance verification pass found 3 elements present in
the issue's own "完成版" (finished) code for compute_parallel_analysis()
that were dropped during implementation:
- na.rm = TRUE on the random_threshold stats::quantile() call
- quantile_prob echoed back as a field on the returned list
- a retained boolean column on the returned table (seq_along(actual_eigen)
<= recommended_n)
None change existing consumers (parallel_screeplot/factor_count only read
table$actual_eigenvalue/random_eigenvalue_threshold by name), so this is a
pure additive fix restoring exact spec fidelity. Updated the one pinned
colnames()/field assertion in test_factanal.R accordingly.1 parent 3ff1f59 commit f2f51de
2 files changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
| 302 | + | |
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
| 311 | + | |
311 | 312 | | |
312 | 313 | | |
313 | 314 | | |
314 | 315 | | |
315 | | - | |
| 316 | + | |
| 317 | + | |
316 | 318 | | |
317 | 319 | | |
318 | 320 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
341 | | - | |
| 341 | + | |
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| 345 | + | |
| 346 | + | |
345 | 347 | | |
346 | 348 | | |
347 | 349 | | |
| |||
0 commit comments