\\donttest{} examples that train models by guarding them with torch::torch_is_installed() so checks pass on systems without Torch.survival::veteran (instead of data(veteran, ...)).verbose support to cv_survdnn() and tune_survdnn(), with clearer and consistent progress messages across fit/cv/tune workflows..threads argument to survdnn(), cv_survdnn(), and tune_survdnn() to control Torch CPU thread count explicitly when needed.man/*.Rd) to reflect example updates.predict.survdnn) across all supported losses (Cox, Cox L2, AFT, CoxTime), including survival and risk predictions.Added full support for training control mechanisms, including early stopping callbacks and complete loss tracking across epochs.
Introduced plot_loss() to visualize training loss trajectories and diagnose convergence or instability.
Centralized reproducibility control via the .seed argument in survdnn(), synchronizing both R and Torch random number generators.
Expanded optimizer support to include Adam, AdamW, SGD, RMSprop, and Adagrad, with customizable optimizer arguments.
Enhanced prediction methods to robustly support linear predictors, survival probabilities, and cumulative risk across all supported loss functions.
Added explicit and user-controllable missing-data handling (na_action = "omit" or "fail"), with informative messages.
Improved handling of formulas using Surv(...) ~ . in prediction and evaluation.
Improved printing and summary methods for fitted survdnn objects.
Expanded unit test coverage, including optimizers, plotting utilities, and missing-data edge cases.
. expansion.Removed automatic torch::install_torch() on load:
The package no longer downloads or installs Torch libraries automatically when loaded. The .onLoad() function now performs only a silent availability check, and .onAttach() displays an informative message instructing users to manually run torch::install_torch() when necessary.
This update ensures full compliance with CRAN policies that forbid modification of user environments or network activity during package load.
Updated startup messages for clearer user guidance.
Internal documentation updates and version bump for CRAN resubmission.
Added conditional test skipping: tests and examples now use skip_if_not(torch_is_installed()) and skip_on_cran() to avoid failures on systems where Torch is not available (thanks to @dfalbel for the PR).
Regenerated documentation (RoxygenNote: 7.3.3) and updated man pages.
Minor internal consistency fixes and CI check updates.
First public release of survdnn.
survdnn(): Fit deep learning survival models using a formula interface."cox")"cox_l2")"coxtime")"aft")cv_survdnn().tune_survdnn().CRAN submission prepared, including README, documentation, and automated tests.