- using R version 4.5.0 (2025-04-11 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.2.0
GNU Fortran (GCC) 14.2.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'FMM/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'FMM' version '0.4.0'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'FMM' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking 'build' directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [5s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [1s] ERROR
Running examples in 'FMM-Ex.R' failed
The error most likely occurred in:
> ### 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
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [3s] ERROR
Running 'testthat.R' [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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [3s] ERROR
Error(s) in re-building vignettes:
--- re-building 'FMMVignette.Rmd' using rmarkdown
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
- checking PDF version of manual ... [21s] OK
- checking HTML version of manual ... [3s] OK
- DONE
Status: 3 ERRORs