* using log directory ‘/srv/hornik/tmp/CRAN/tidychangepoint.Rcheck’ * using R Under development (unstable) (2024-06-17 r86769) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 18.1.5 (2) Debian flang-new version 18.1.5 (2) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘tidychangepoint/DESCRIPTION’ ... OK * this is package ‘tidychangepoint’ version ‘0.0.1’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/5s] NOTE Maintainer: ‘Benjamin S. Baumer ’ New submission * 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 ‘tidychangepoint’ can be installed ... [4s/4s] OK * checking package directory ... OK * checking for future file timestamps ... 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/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/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/5s] OK * checking Rd files ... [0s/0s] 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 ... [0s/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 ... [40s/40s] NOTE Examples with CPU (user + system) or elapsed time > 5s user system elapsed diagnose 7.639 0.124 7.770 as.model 6.870 0.052 6.922 plot.tidyga 5.757 0.008 5.765 * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [15s/15s] ERROR Running ‘testthat.R’ [15s/15s] 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(tidychangepoint) > > test_check("tidychangepoint") | | | 0% | |============================== | 50% | |============================================================| 100% | | | 0% | |============================== | 50% | |============================================================| 100% [ FAIL 7 | WARN 0 | SKIP 10 | PASS 249 ] ══ Skipped tests (10) ══════════════════════════════════════════════════════════ • Skipping (10): 'test-changepoint.R:29:3', 'test-performance.R:2:3', 'test-performance.R:16:3', 'test-performance.R:27:3', 'test-performance.R:44:3', 'test-performance.R:61:3', 'test-performance.R:75:3', 'test-performance.R:110:3', 'test-performance.R:140:3', 'test-stats.R:85:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-stats.R:55:3'): values match ───────────────────────────────── round(trend_ar1$model_params[["sigma_hatsq"]], 3) (`actual`) not equal to 0.29 (`expected`). `actual`: 0.5 `expected`: 0.3 ── Failure ('test-stats.R:57:3'): values match ───────────────────────────────── round(as.numeric(logLik(trend_ar1))) (`actual`) not equal to round(-288.8) (`expected`). `actual`: -403 `expected`: -289 ── Failure ('test-stats.R:58:3'): values match ───────────────────────────────── round(BIC(trend_ar1)) (`actual`) not equal to round(654.19) (`expected`). `actual`: 883 `expected`: 654 ── Failure ('test-stats.R:59:3'): values match ───────────────────────────────── floor(MDL(trend_ar1)) (`actual`) not equal to floor(656.52) (`expected`). `actual`: 885 `expected`: 656 ── Failure ('test-stats.R:60:3'): values match ───────────────────────────────── round(trend_ar1$model_params[["phi_hat"]], 3) (`actual`) not equal to 0.058 (`expected`). `actual`: 1.0 `expected`: 0.1 ── Failure ('test-stats.R:77:3'): values match ───────────────────────────────── round(model_variance(trend_ar1_trunc), 3) (`actual`) not equal to 0.305 (`expected`). `actual`: 0.6 `expected`: 0.3 ── Failure ('test-stats.R:78:3'): values match ───────────────────────────────── round(trend_ar1_trunc$model_params[["phi_hat"]], 3) (`actual`) not equal to 0.073 (`expected`). `actual`: 1.0 `expected`: 0.1 [ FAIL 7 | WARN 0 | SKIP 10 | PASS 249 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [3s/3s] OK * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [1s/1s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 2 NOTEs