Skip to content

Commit

Permalink
Merge pull request #131 from hesim-dev/to-cran
Browse files Browse the repository at this point in the history
Prepare for CRAN submission
  • Loading branch information
dincerti authored Sep 18, 2024
2 parents ea370d1 + 44f7c3a commit bb52350
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 94 deletions.
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## hesim 0.5.5
Minor updates to the `.Rd` files and tests to fix problem identified with the CRAN package checks.

## hesim 0.5.4
* For individual CTSTMs, adds experimental support for `clock="mixt"` option with a `transition_types` argument for transition-specific clocks (#106).
* Fixes several CRAN checks that were producing NOTEs related to package
Expand Down
101 changes: 7 additions & 94 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,101 +1,14 @@
## Release summary
The primary purpose of this release is to fix problems identified by the
CRAN checks. Additional details of the release can be found at:
https://hesim-dev.github.io/hesim/news/index.html#hesim-054

This is a re-submission to fix additional NOTEs caught during the submission:

```
Flavor: r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64
Check: S3 generic/method consistency, Result: NOTE
Mismatches for apparent methods not registered:
create_StateVals:
function(object, ...)
create_StateVals.eval_model:
function(object, cost, name, init_args)
check:
function(object, ...)
check.params_lm:
function(object)
check:
function(object, ...)
check.params_surv:
function(object)
check:
function(object, ...)
check.eval_model:
function(x)
check:
function(object, ...)
check.hesim_data:
function(x)
check:
function(object, ...)
check.input_mats:
function(object)
check:
function(object, ...)
check.tparams_transprobs:
function(object)
check:
function(object, ...)
check.id_attributes:
function(object)
check:
function(object, ...)
check.params_mlogit:
function(object)
check:
function(object, ...)
check.eval_rng:
function(object)
check:
function(object, ...)
check.coeflist:
function(coefs)
check:
function(object, ...)
check.params_surv_list:
function(object)
check:
function(object, ...)
check.model_def:
function(x)
new_tparams_transprobs:
function(object, ...)
new_tparams_transprobs.data.table:
function(object)
new_tparams_transprobs:
function(object, ...)
new_tparams_transprobs.array:
function(object, tpmatrix_id, times, grp_id, patient_wt)
Apparent methods for exported generics not registered:
create_StateVals.eval_model plot_ceac.default sim_ev.NULL
tparams_transprobs.eval_model
```

The purpose of this release is to fix problems identified by the
CRAN checks.

## Test environments
* Local OS X, R 4.2.2
* Ubuntu 20.04.6 (on GitHub actions), R-devel, R 4.3.2
* Microsoft Windows Server 2022 10.0.20348 (on GitHub actions) R 4.3.2
* Ubuntu 20.04.6 (on GitHub actions), R-devel
* Ubuntu 20.04.6 (on GitHub actions), R-release 4.4.1
* Microsoft Windows Server 2022 10.0.20348 (on GitHub actions) R-release 4.4.1
* win-builder (devel, release)
* R-hub builder
* macOS builder
* R-hub (atlas, gcc14, ubuntu-gcc12, linux (R-devel), macos (R-devel), macos-arm64 (R-devel), windows (R-devel))

## Win Builder R-devel results
0 errors | 0 warnings | 0 notes

0 comments on commit bb52350

Please sign in to comment.