Last updated on 2024-12-22 10:50:33 CET.
Package | ERROR | NOTE | OK |
---|---|---|---|
epitab | 8 | 5 | |
rprev | 1 | 12 |
Current CRAN status: NOTE: 8, OK: 5
Version: 0.2.2
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: ERROR: 1, OK: 12
Version: 1.0.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(rprev)
Loading required package: survival
>
> test_check("rprev")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 136 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_survival_model.R:80:9'): predict_survival_probability produces correct survival estimates ──
<packageNotFoundError/error/condition>
Error in `loadNamespace(x)`: there is no package called 'flexsurv'
Backtrace:
▆
1. ├─rprev (local) test_surv(Surv(time, status) ~ 1, "weibull", data.frame(), time = 500) at test_survival_model.R:93:5
2. └─base::loadNamespace(x) at test_survival_model.R:80:9
3. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
4. └─base (local) withOneRestart(expr, restarts[[1L]])
5. └─base (local) doWithOneRestart(return(expr), restart)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 136 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.5
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘diagnostics.Rmd’ using rmarkdown
** Processing: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/rprev.Rcheck/vign_test/rprev/vignettes/diagnostics_files/figure-html/unnamed-chunk-3-1.png
672x384 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 32136 bytes
Input file size = 32250 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 25816
zc = 9 zm = 8 zs = 1 f = 0
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 25816
Output IDAT size = 25816 bytes (6320 bytes decrease)
Output file size = 25894 bytes (6356 bytes = 19.71% decrease)
** Processing: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/rprev.Rcheck/vign_test/rprev/vignettes/diagnostics_files/figure-html/incidenceage-1.png
672x384 pixels, 8 bits/pixel, 256 colors in palette
Reducing image to 8 bits/pixel, grayscale
Input IDAT size = 10174 bytes
Input file size = 11044 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 8346
zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 8317
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 8317
Output IDAT size = 8317 bytes (1857 bytes decrease)
Output file size = 8395 bytes (2649 bytes = 23.99% decrease)
** Processing: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/rprev.Rcheck/vign_test/rprev/vignettes/diagnostics_files/figure-html/survivaldiag-1.png
672x384 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 22632 bytes
Input file size = 22734 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 17721
zc = 9 zm = 8 zs = 1 f = 0
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 17721
Output IDAT size = 17721 bytes (4911 bytes decrease)
Output file size = 17799 bytes (4935 bytes = 21.71% decrease)
** Processing: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/rprev.Rcheck/vign_test/rprev/vignettes/diagnostics_files/figure-html/survivaldiag2-1.png
672x384 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 30731 bytes
Input file size = 30845 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 23109
zc = 9 zm = 8 zs = 1 f = 0
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 23109
Output IDAT size = 23109 bytes (7622 bytes decrease)
Output file size = 23187 bytes (7658 bytes = 24.83% decrease)
** Processing: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/rprev.Rcheck/vign_test/rprev/vignettes/diagnostics_files/figure-html/survivaldiag4-1.png
672x384 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 27542 bytes
Input file size = 27656 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 22064
zc = 9 zm = 8 zs = 1 f = 0
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 22064
Output IDAT size = 22064 bytes (5478 bytes decrease)
Output file size = 22142 bytes (5514 bytes = 19.94% decrease)
** Processing: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/rprev.Rcheck/vign_test/rprev/vignettes/diagnostics_files/figure-html/survivaldiag3-1.png
672x384 pixels, 8 bits/pixel, 256 colors in palette
Reducing image to 8 bits/pixel, grayscale
Input IDAT size = 38093 bytes
Input file size = 38999 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 36717
zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 36365
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 36365
Output IDAT size = 36365 bytes (1728 bytes decrease)
Output file size = 36443 bytes (2556 bytes = 6.55% decrease)
** Processing: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/rprev.Rcheck/vign_test/rprev/vignettes/diagnostics_files/figure-html/ageform3-1.png
672x384 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 20595 bytes
Input file size = 20697 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 19705
zc = 9 zm = 8 zs = 1 f = 0
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5 IDAT size = 18989
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 0 f = 5 IDAT size = 18989
Output IDAT size = 18989 bytes (1606 bytes decrease)
Output file size = 19067 bytes (1630 bytes = 7.88% decrease)
** Processing: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/rprev.Rcheck/vign_test/rprev/vignettes/diagnostics_files/figure-html/unnamed-chunk-9-1.png
672x384 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 21003 bytes
Input file size = 21105 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 16920
zc = 9 zm = 8 zs = 1 f = 0
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 16920
Output IDAT size = 16920 bytes (4083 bytes decrease)
Output file size = 16998 bytes (4107 bytes = 19.46% decrease)
--- finished re-building ‘diagnostics.Rmd’
--- re-building ‘user_guide.Rmd’ using rmarkdown
** Processing: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/rprev.Rcheck/vign_test/rprev/vignettes/user_guide_files/figure-html/basicsurvival-1.png
672x384 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 23071 bytes
Input file size = 23173 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 19055
zc = 9 zm = 8 zs = 1 f = 0
zc = 1 zm = 8 zs = 2 f = 0
zc = 9 zm = 8 zs = 3 f = 0
zc = 9 zm = 8 zs = 0 f = 5
zc = 9 zm = 8 zs = 1 f = 5
zc = 1 zm = 8 zs = 2 f = 5
zc = 9 zm = 8 zs = 3 f = 5
Selecting parameters:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 19055
Output IDAT size = 19055 bytes (4016 bytes decrease)
Output file size = 19133 bytes (4040 bytes = 17.43% decrease)
Quitting from lines 117-119 [unnamed-chunk-7] (user_guide.Rmd)
Error: processing vignette 'user_guide.Rmd' failed with diagnostics:
there is no package called 'flexsurv'
--- failed re-building ‘user_guide.Rmd’
SUMMARY: processing the following file failed:
‘user_guide.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc