Last updated on 2025-04-12 20:52:16 CEST.
Package | ERROR | OK |
---|---|---|
FMM | 1 | 13 |
Current CRAN status: ERROR: 1, OK: 13
Version: 0.4.0
Check: examples
Result: ERROR
Running examples in ‘FMM-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: FMM-methods
> ### Title: Methods for objects of class "FMM"
> ### Aliases: FMM-methods summary coef fitted resid summary,FMM-method
> ### coef,FMM-method fitted,FMM-method resid,FMM-method
>
> ### ** Examples
>
> ## Generate example data:
> fmm2.data <- generateFMM(0, rep(2, 2), c(1.5, 3.4), c(0.2, 2.3), c(0.1, 0.2),
+ plot = FALSE, outvalues = TRUE,
+ sigmaNoise = 0.5) # add a gaussian noise with sigma = 0.5
>
> ## Fit the FMM model with nback = 2 component
> ## fit is an object of S4 class 'FMM'
> fit <- fitFMM(vData = fmm2.data$y,timePoints = fmm2.data$t,nback = 2,
+ lengthAlphaGrid = 24,lengthOmegaGrid = 10)
Error in `rlang::env_unlock()`:
! `env_unlock()` is defunct as of rlang 1.1.5
Backtrace:
▆
1. └─FMM::fitFMM(...)
2. └─FMM:::addShowMethod()
3. └─rlang::env_unlock(env = asNamespace("FMM"))
4. └─rlang::abort(msg)
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(FMM)
>
> test_check("FMM")
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_fitFMM.R:4:3'): Parameter values in correct range. ─────────────
Error in `rlang::env_unlock(env = asNamespace("FMM"))`: `env_unlock()` is defunct as of rlang 1.1.5
Backtrace:
▆
1. └─FMM::fitFMM(mouseGeneExp, nback = 2) at test_fitFMM.R:4:3
2. └─FMM:::addShowMethod()
3. └─rlang::env_unlock(env = asNamespace("FMM"))
4. └─rlang::abort(msg)
── Error ('test_fitFMM.R:22:3'): Returns an S4 class object (FMM object). ──────
Error in `rlang::env_unlock(env = asNamespace("FMM"))`: `env_unlock()` is defunct as of rlang 1.1.5
Backtrace:
▆
1. ├─testthat::expect_s4_class(fitFMM(mouseGeneExp, nback = 2), "FMM") at test_fitFMM.R:22:3
2. │ └─testthat::quasi_label(enquo(object), arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─FMM::fitFMM(mouseGeneExp, nback = 2)
5. └─FMM:::addShowMethod()
6. └─rlang::env_unlock(env = asNamespace("FMM"))
7. └─rlang::abort(msg)
── Error ('test_fitFMM.R:28:3'): Correct length of each vector slot. ───────────
Error in `rlang::env_unlock(env = asNamespace("FMM"))`: `env_unlock()` is defunct as of rlang 1.1.5
Backtrace:
▆
1. └─FMM::fitFMM(mouseGeneExp, nback = 2) at test_fitFMM.R:28:3
2. └─FMM:::addShowMethod()
3. └─rlang::env_unlock(env = asNamespace("FMM"))
4. └─rlang::abort(msg)
── Error ('test_fitFMM.R:60:3'): FMM fit in limit parameter values simulated data. ──
Error in `rlang::env_unlock(env = asNamespace("FMM"))`: `env_unlock()` is defunct as of rlang 1.1.5
Backtrace:
▆
1. └─FMM::fitFMM(tmpData, nback = 2) at test_fitFMM.R:60:3
2. └─FMM:::addShowMethod()
3. └─rlang::env_unlock(env = asNamespace("FMM"))
4. └─rlang::abort(msg)
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.4.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘FMMVignette.Rmd’ using rmarkdown
** Processing: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/FMM.Rcheck/vign_test/FMM/vignettes/FMMVignette_files/figure-html/unnamed-chunk-4-1.png
1344x960 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 48238 bytes
Input file size = 48376 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 40542
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 = 40542
Output IDAT size = 40542 bytes (7696 bytes decrease)
Output file size = 40620 bytes (7756 bytes = 16.03% decrease)
** Processing: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/FMM.Rcheck/vign_test/FMM/vignettes/FMMVignette_files/figure-html/unnamed-chunk-6-1.png
1344x960 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 110649 bytes
Input file size = 110883 bytes
Trying:
zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 77789
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 = 77789
Output IDAT size = 77789 bytes (32860 bytes decrease)
Output file size = 77867 bytes (33016 bytes = 29.78% decrease)
Quitting from FMMVignette.Rmd:216-219 [unnamed-chunk-7]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NULL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'FMMVignette.Rmd' failed with diagnostics:
`env_unlock()` is defunct as of rlang 1.1.5
--- failed re-building ‘FMMVignette.Rmd’
SUMMARY: processing the following file failed:
‘FMMVignette.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.