Last updated on 2025-12-07 07:50:46 CET.
| Package | ERROR | NOTE | OK |
|---|---|---|---|
| lnmixsurv | 1 | 5 | 7 |
Current CRAN status: ERROR: 1, NOTE: 5, OK: 7
Version: 3.1.6
Check: package dependencies
Result: WARN
Cannot process vignettes
Packages suggested but not available for checking:
'plotly', 'knitr', 'rmarkdown', 'covr', 'pec'
VignetteBuilder package required for checking but not installed: ‘knitr’
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 3.1.6
Check: tests
Result: ERROR
Running ‘testthat.R’ [138s/150s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(lnmixsurv)
Loading required package: parsnip
Loading required package: survival
Loading required package: ggplot2
>
> test_check("lnmixsurv")
Failed with error: 'there is no package called 'plotly''
Saving _problems/test-survival_ln_mixture_em-methods-25.R
[ FAIL 1 | WARN 0 | SKIP 7 | PASS 50 ]
══ Skipped tests (7) ═══════════════════════════════════════════════════════════
• On CRAN (7): 'test-join_empirical_hazard.R:4:1',
'test-plot_fit_on_data.R:3:1', 'test-plot_fit_on_data.R:17:1',
'test-plot_fit_on_data.R:31:1', 'test-plot_fit_on_data.R:39:1',
'test-survival_ln_mixture-print-summary.R:1:1',
'test-survival_ln_mixture_em-print-summary.R:1:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-survival_ln_mixture_em-methods.R:25:3'): plot function works when applied to model via EM algorithm ──
Error in `UseMethod("snapshot_replay", x)`: no applicable method for 'snapshot_replay' applied to an object of class "recordedplot"
Backtrace:
▆
1. └─testthat::expect_snapshot(plot(mod1)) at test-survival_ln_mixture_em-methods.R:25:3
2. └─testthat:::expect_snapshot_(...)
3. ├─testthat:::with_is_snapshotting(...)
4. └─testthat:::verify_exec(quo_get_expr(x), quo_get_env(x), replay)
5. ├─base::unlist(lapply(results, replay))
6. └─base::lapply(results, replay)
7. └─testthat (local) FUN(X[[i]], ...)
8. └─testthat:::snapshot_replay(x, state, transform = transform, cnd_class = cnd_class)
[ FAIL 1 | WARN 0 | SKIP 7 | PASS 50 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 3.1.6
Check: package vignettes
Result: NOTE
Package has ‘vignettes’ subdirectory but apparently no vignettes.
Perhaps the ‘VignetteBuilder’ information is missing from the
DESCRIPTION file?
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 3.1.6
Check: dependencies in R code
Result: NOTE
Namespaces in Imports field not imported from:
‘purrr’ ‘readr’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 3.1.6
Check: installed package size
Result: NOTE
installed size is 9.5Mb
sub-directories of 1Mb or more:
doc 4.0Mb
libs 5.2Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 3.1.6
Check: for GNU extensions in Makefiles
Result: NOTE
GNU make is a SystemRequirements.
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64