Commit eba71c4
* chore: open v2.7.3.9002 dev cycle for varPro Phase 1
* feat: add gg_partial_varpro extractor (A-path, TDD)
New extractor splits partialpro list output into continuous/categorical
data frames with provenance attribute; C-path stub included for Task 6.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* refactor: extract .process_cat_var helper; add numeric/count tests
* feat: promote varPro Suggests->Imports, add importFrom(varPro,partialpro)
* fix: correct \tau Rd macro in gg_partial_varpro roxygen
* feat: soft-deprecate gg_partialpro() -> gg_partial_varpro() shim
* fix: gg_partialpro shim: add package=, expose full signature
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat: add plot.gg_partial_varpro with honest y-label; shim plot.gg_partialpro
Implements plot.gg_partial_varpro for A-path objects (continuous line plots,
categorical boxplots, scale-aware y-axis labels: mortality/rmst/surv/chf/generic).
Replaces the full plot.gg_partialpro body in plot.gg_partial.R with a one-liner
shim that re-dispatches to plot.gg_partial_varpro. All 35 gg_partial_varpro tests
pass; gg_partialpro suite 31 pass / 3 skip (superseded plot tests).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: add complete @importFrom declarations to plot.gg_partial_varpro
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat: add autoplot/print/summary for gg_partial_varpro; shim old-class methods
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: autoplot.gg_partialpro should be a proper shim like print/summary
* test: add C-path (scale=surv/chf) tests for gg_partial_varpro
Three new tests exercise .gg_partial_varpro_cpath() with a real
randomForestSRC survival fit on survival::veteran: class check,
provenance path/scale, and plot() returning ggplot.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* refactor: extract make_mock_cpath() helper for C-path tests
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* test: add vdiffr snapshots for plot.gg_partial_varpro
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* docs: finalize NEWS, pkgdown, NAMESPACE for gg_partial_varpro
- NEWS.md: replace Task 8 stub with full feature description
- _pkgdown.yml: add gg_partial_varpro + plot.gg_partial_varpro before
deprecated aliases in Partial Dependence reference section
- R/gg_partial_varpro.R: extract .validate_varpro_inputs,
.varpro_provenance, .build_varpro_dfs helpers to reduce cyclocomp
from 25 to <20 (lintr cyclocomp_linter)
- R/gg_partialpro.R: replace \lifecycle{deprecated} with plain
\emph{Deprecated.} to remove unknown-macro Rd warning
- R/plot.gg_partial_varpro.R: replace UTF-8 tau (τ) with τ
to remove non-ASCII characters R CMD check warning
- man/: regenerated by devtools::document(); plot.gg_partialpro.Rd
removed (content merged into plot.gg_partial_varpro.Rd via @Rdname)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: correct @param time doc and Rd topic name for plot.gg_partial_varpro
- @param time now accurately describes optional vs required behavior:
required only for scale="rmst", optional for scale="surv"/"chf" with
NULL falling back to three quartile time points via gg_partial_rfsrc()
- Add @name plot.gg_partial_varpro to both the canonical function and the
shim's @Rdname block so \name{} in the Rd is plot.gg_partial_varpro
regardless of alphabetical processing order
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent bd5ebbb commit eba71c4
25 files changed
Lines changed: 1583 additions & 425 deletions
File tree
- R
- man
- tests/testthat
- _snaps/snapshots
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | | - | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| 46 | + | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
| |||
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
| 58 | + | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
| |||
64 | 68 | | |
65 | 69 | | |
66 | 70 | | |
| 71 | + | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
| |||
82 | 87 | | |
83 | 88 | | |
84 | 89 | | |
| 90 | + | |
| 91 | + | |
85 | 92 | | |
86 | 93 | | |
87 | 94 | | |
| |||
105 | 112 | | |
106 | 113 | | |
107 | 114 | | |
| 115 | + | |
108 | 116 | | |
109 | 117 | | |
110 | 118 | | |
| 119 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
6 | 24 | | |
7 | 25 | | |
8 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
96 | 105 | | |
97 | 106 | | |
98 | 107 | | |
| |||
0 commit comments