|
1 | | -## Resubmission after archiving |
2 | | - |
3 | | -This is the first submission of `ggRandomForests` since the package was |
4 | | -archived from CRAN on **2025-07-01**. The archiving notice was *"issues |
5 | | -were not corrected in time."* The underlying issue was an upstream API |
6 | | -change: `randomForestSRC` removed its `var.select.rfsrc()` workflow that |
7 | | -several `ggRandomForests` helpers depended on. v2.7.1 resolves this by: |
8 | | - |
9 | | -* Removing the `var.select`-based variable-selection paths. Users are |
10 | | - now directed to use minimum depth (already supported via |
11 | | - `randomForestSRC::max.subtree`) or VIMP-based ranking (`gg_vimp`) until |
12 | | - a `varPro`-based replacement is fleshed out in a future release. |
13 | | -* Updating all vignettes and examples to use the supported workflow. |
14 | | -* Fixing a separate batch of latent bugs documented in `NEWS.md` for |
15 | | - v2.7.0 / v2.7.1 (S3 design overhaul, empty-figure bugs in survival |
16 | | - partial-dependence, duplicate VIMP legend, NEWS-source consolidation, |
17 | | - PDF-manual Unicode-minus issue, etc.). |
| 1 | +## v2.7.2 — Resubmission addressing CRAN reviewer feedback |
| 2 | + |
| 3 | +This is a resubmission of v2.7.1 addressing every item raised by |
| 4 | +Benjamin Altmann's review of 2026-04-27. All four requested changes have |
| 5 | +been applied: |
| 6 | + |
| 7 | +1. **References in DESCRIPTION.** Added Breiman (2001) |
| 8 | + `<doi:10.1023/A:1010933404324>` and Ishwaran et al. (2008) |
| 9 | + `<doi:10.1214/08-AOAS169>` to the Description field. |
| 10 | +2. **`:::` in documentation.** `man/shift.Rd` had an example using |
| 11 | + `ggRandomForests:::shift(...)`. `shift()` is an internal utility, so |
| 12 | + the help page has been removed entirely (the function is now |
| 13 | + `@noRd`); the `:::` reference is gone. |
| 14 | +3. **`cat()` in `R/surv_partial.rfsrc.R`.** Replaced the user-visible |
| 15 | + `cat("partial plot for: ", xvar, "\n")` with `message(...)` so the |
| 16 | + output can be suppressed via `suppressMessages()` and plays nicely |
| 17 | + inside notebooks / Shiny / quarto. |
| 18 | +4. **`par()` reset in `man/surv_partial.rfsrc.Rd` example.** Wrapped |
| 19 | + the `par(mfrow = c(2, 2))` block with |
| 20 | + `oldpar <- par(no.readonly = TRUE); on.exit(par(oldpar))` so the |
| 21 | + user's graphical parameters are restored on exit. |
| 22 | + |
| 23 | +## Background — first resubmission since archiving |
| 24 | + |
| 25 | +`ggRandomForests` was archived from CRAN on **2025-07-01** with the |
| 26 | +notice *"issues were not corrected in time."* The root cause was an |
| 27 | +upstream API change: `randomForestSRC` removed its |
| 28 | +`var.select.rfsrc()` workflow that several `ggRandomForests` helpers |
| 29 | +depended on. The fix in v2.7.x is to drop the `var.select`-based |
| 30 | +variable-selection paths and direct users to minimum depth |
| 31 | +(`randomForestSRC::max.subtree`) or VIMP-based ranking (`gg_vimp`) |
| 32 | +until a `varPro`-based replacement is fleshed out in a future release. |
18 | 33 |
|
19 | 34 | ## Test environments |
20 | 35 |
|
21 | 36 | * **Local:** R 4.5.3 on macOS Tahoe 26.4.1 (aarch64-apple-darwin20). |
22 | 37 | `R CMD check --as-cran` returns 0 errors, 0 warnings, 2 informational |
23 | 38 | NOTEs (CRAN incoming feasibility + local NTP timestamp; neither |
24 | 39 | actionable on CRAN's own machines). |
25 | | -* **win-builder R-release** (R 4.6.0, x86_64-w64-mingw32): 2 NOTEs |
26 | | - (see disposition below). |
27 | | -* **win-builder R-devel:** submitted; results pending at the time of |
28 | | - this submission. |
29 | 40 | * **GitHub Actions matrix:** ubuntu-latest (R-devel / R-release / |
30 | 41 | R-oldrel-1), windows-latest (R-release), macos-latest (R-release) — |
31 | 42 | all green on the head commit. |
| 43 | +* **Win-builder R-release / R-oldrel** (v2.7.1 tarball, prior to the |
| 44 | + reviewer feedback): both clean — Status 1 NOTE, the new-submission |
| 45 | + NOTE only. |
32 | 46 | * **Reverse-dependency check:** `tools::package_dependencies(reverse = |
33 | | - TRUE)` returns 0; no downstream CRAN packages depend on |
34 | | - `ggRandomForests`. |
| 47 | + TRUE)` returns 0; CRAN's auto-pretest also reported "No strong |
| 48 | + reverse dependencies to be checked". |
35 | 49 | * **URLs:** `urlchecker::url_check()` clean. |
36 | 50 |
|
37 | 51 | ## NOTE disposition |
38 | 52 |
|
39 | | -### NOTE 1 — "New submission / Package was archived on CRAN" |
| 53 | +### NOTE — "New submission / Package was archived on CRAN" |
40 | 54 |
|
41 | | -Expected for a resubmission. The archiving root cause and its |
42 | | -remediation in v2.7.1 are documented above. |
43 | | - |
44 | | -### NOTE 2 — Examples > 10s on win-builder R-release |
45 | | - |
46 | | -Win-builder R-release flagged two examples that exceeded 10 s |
47 | | -cumulative CPU + elapsed (`gg_variable` 18.4 s; `gg_rfsrc.rfsrc` |
48 | | -10.4 s). Both have been trimmed in this submission: the headline |
49 | | -runnable example is now a small `ntree = 50` classification fit on |
50 | | -`iris`, and the larger regression / survival demonstrations are |
51 | | -guarded with `\donttest{}` so they only run under `--run-donttest`. |
52 | | - |
53 | | -## Other notes |
54 | | - |
55 | | -* `cran-comments.md` reflects the disposition documented above; no |
56 | | - silent NOTEs remain. |
57 | | -* `NEWS.md` carries entries for both v2.7.0 (the API-change response) |
58 | | - and v2.7.1 (bug-fix follow-ups). The v2.7.0 entry is included |
59 | | - because that release was tagged in the source repository but never |
60 | | - reached CRAN before archiving. |
| 55 | +Expected for a resubmission after archiving. The root cause and |
| 56 | +remediation in v2.7.x are documented above. |
0 commit comments