R Under development (unstable) (2026-02-04 r89376 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # 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") No. of breakpoints: 2 .. 3 .. 4 .. 5 .. 6 .. 7 .. 8 .. 9 .. 10 .. BIC to detect no. of breakpoints: 0 1 2 3 4 5 6 6 10727.65 10225.17 10207.73 10221.65 10214.40 10225.80 10232.00 10238.75 7 7 8 10246.00 10246.01 10233.42 No. of selected breakpoints: 2 No. of breakpoints: 2 .. 3 .. 4 .. 5 .. 6 .. 7 .. 8 .. 9 .. 10 .. BIC to detect no. of breakpoints: 0 1 2 3 4 5 5 5 8385.437 7430.881 7135.682 6976.159 6987.047 7000.547 7000.547 7000.547 5 5 5 7000.547 7000.547 7000.547 No. of selected breakpoints: 3 | | | 0% | |============================== | 50% | |============================================================| 100% | | | 0% | |============================== | 50% | |============================================================| 100% > y: Contains 1096 observations, ranging from 13.67 to 298.98 . i Segmenter (class cpt ) > A: Used the PELT algorithm from the changepoint package. > τ: Found 3 changepoint(s). > f: Reported a fitness value of 9.40 k using the MBIC penalty. i Model > M: Fit the meanvar model. > θ: Estimated 2 parameter(s), for each of 4 region(s). > y: Contains 1096 observations, ranging from 13.67 to 298.98 . i Segmenter (class ) > A: Used the manual algorithm from the tidychangepoint package. > τ: Found 2 changepoint(s). > f: Reported a fitness value of 10.54 k using the BIC penalty. i Model > M: Fit the meanshift_norm model. > θ: Estimated 1 parameter(s), for each of 3 region(s). Scale for x is already present. Adding another scale for x, which will replace the existing scale. [ FAIL 0 | WARN 0 | SKIP 11 | PASS 296 ] ══ Skipped tests (11) ══════════════════════════════════════════════════════════ • Skipping (11): 'test-changepoint.R:29:3', 'test-changepointGA.R:2: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:95:3' [ FAIL 0 | WARN 0 | SKIP 11 | PASS 296 ] > > proc.time() user system elapsed 45.73 1.67 47.45