- using R Under development (unstable) (2025-02-19 r87756)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
- running under: Fedora Linux 40 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘latrend/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘latrend’ version ‘1.6.1’
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘latrend’ can be installed ... [35s/113s] OK
See the install log for details.
- 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking whether startup messages can be suppressed ... 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 ... [37s/96s] OK
- checking Rd files ... [7s/17s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 ... 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 ... [175s/480s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [177s/438s] ERROR
Running ‘testthat.R’ [176s/437s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(latrend)
>
> test_check('latrend')
Test "converged" did not generate the expected result:
1 element mismatch
Test "converged" did not generate the expected result:
1 element mismatch
Test "converged" did not generate the expected result:
1 element mismatch
Test "converged" did not generate the expected result:
1 element mismatch
Test "oneTraj.converged" did not generate the expected result:
1 element mismatch
Test "eachTraj.converged" did not generate the expected result:
1 element mismatch
[ FAIL 1 | WARN 18 | SKIP 12 | PASS 2350 ]
══ Skipped tests (12) ══════════════════════════════════════════════════════════
• On CRAN (9): 'test-crimcv.R:4:1', 'test-flexmix.R:2:1', 'test-funfem.R:3:1',
'test-lcmm.R:2:1', 'test-mixak.R:2:1', 'test-mixtools.R:3:1',
'test-parallel.R:1:1', 'test-stratify.R:79:3', 'test-stratify.R:89:3'
• empty test (1): 'test-quick.R:1:1'
• skipping MixTVEM tests because the TVEMMixNormal() function is not loaded
(1): 'test-mixtvem.R:2:1'
• {akmedoids} is not installed (1): 'test-akmedoids.R:2:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-twostep.R:28:5'): gckm ─────────────────────────────────────────
Error in `test.latrend("lcMethodGCKM", instantiator = make.gckm, tests = tests)`:
Found 6 error(s) among 5 test context(s)
Failed tests:
basic: converged
fitted: converged
cluster-single: converged
cluster-three: converged
data-na: oneTraj.converged
data-na: eachTraj.converged
For details, see the respective test files in:
"/data/gannet/ripley/R/packages/tests-devel/latrend.Rcheck/latrend/test-cases"
Backtrace:
▆
1. ├─testthat::expect_true(...) at test-twostep.R:27:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─latrend::test.latrend(...) at test-twostep.R:28:5
[ FAIL 1 | WARN 18 | SKIP 12 | PASS 2350 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [138s/339s] OK
- checking PDF version of manual ... [26s/67s] OK
- checking HTML version of manual ... [19s/47s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR