Package: EnvCpt Check: tests New result: ERROR Running ‘testthat.R’ [1s/1s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(EnvCpt) Loading required package: changepoint Loading required package: zoo Attaching package: 'zoo' The following objects are masked from 'package:base': as.Date, as.Date.numeric Successfully loaded changepoint package version 2.3 WARNING: From v.2.3 the default method in cpt.* functions has changed from AMOC to PELT. See NEWS for details of all changes. Loading required package: MASS > > test_check("EnvCpt") | | | 0% | |====== | 8% | |============ | 17% | |================== | 25% | |======================= | 33%[ FAIL 1 | WARN 0 | SKIP 0 | PASS 3 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-envcpt.R:31:1'): (code run outside of `test_that()`) ─────────── Error in `data[(cpts[i] + 1):cpts[i + 1], -1, drop = FALSE] %*% beta[i, , drop = FALSE]`: non-conformable arguments Backtrace: ▆ 1. └─EnvCpt::envcpt(mulmeandata) at test-envcpt.R:31:1 2. ├─stats::logLik(meanarcpt.fit) 3. └─changepoint::logLik(meanarcpt.fit) 4. └─changepoint (local) .local(object, ...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 3 ] Error: Test failures Execution halted Package: fastcpd Check: re-building of vignette outputs New result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘comparison-packages.Rmd’ using rmarkdown ** Processing: /home/hornik/tmp/CRAN_recheck/fastcpd.Rcheck/vign_test/fastcpd/vignettes/comparison-packages_files/figure-html/data-setup-univariate-mean-change-1.png 768x480 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 44625 bytes Input file size = 45543 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 43020 zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 41747 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 IDAT size = 27887 zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 27460 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 27460 Output IDAT size = 27460 bytes (17165 bytes decrease) Output file size = 27538 bytes (18005 bytes = 39.53% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/fastcpd.Rcheck/vign_test/fastcpd/vignettes/comparison-packages_files/figure-html/data-setup-univariate-mean-and-or-variance-change-1.png 768x480 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 33591 bytes Input file size = 34497 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 31771 zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 30871 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 IDAT size = 22097 zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 21626 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 21626 Output IDAT size = 21626 bytes (11965 bytes decrease) Output file size = 21704 bytes (12793 bytes = 37.08% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/fastcpd.Rcheck/vign_test/fastcpd/vignettes/comparison-packages_files/figure-html/data-setup-multivariate-mean-change-1.png 768x480 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 56476 bytes Input file size = 57406 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 54535 zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 52937 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 IDAT size = 48233 zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 47005 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 47005 Output IDAT size = 47005 bytes (9471 bytes decrease) Output file size = 47083 bytes (10323 bytes = 17.98% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/fastcpd.Rcheck/vign_test/fastcpd/vignettes/comparison-packages_files/figure-html/data-setup-multivariate-mean-and-or-variance-change-1.png 768x480 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 45222 bytes Input file size = 46140 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 43429 zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 42037 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 IDAT size = 41258 zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 40077 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 40077 Output IDAT size = 40077 bytes (5145 bytes decrease) Output file size = 40155 bytes (5985 bytes = 12.97% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/fastcpd.Rcheck/vign_test/fastcpd/vignettes/comparison-packages_files/figure-html/data-setup-linear-regression-1.png 768x480 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 65237 bytes Input file size = 66179 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 62746 zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 61608 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 IDAT size = 47123 zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 47118 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 47118 Output IDAT size = 47118 bytes (18119 bytes decrease) Output file size = 47196 bytes (18983 bytes = 28.68% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/fastcpd.Rcheck/vign_test/fastcpd/vignettes/comparison-packages_files/figure-html/data-setup-logistic-regression-1.png 768x480 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 83201 bytes Input file size = 84179 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 80715 zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 78220 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 IDAT size = 48286 zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 47593 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 47593 Output IDAT size = 47593 bytes (35608 bytes decrease) Output file size = 47671 bytes (36508 bytes = 43.37% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/fastcpd.Rcheck/vign_test/fastcpd/vignettes/comparison-packages_files/figure-html/data-setup-poisson-regression-1.png 768x480 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 46050 bytes Input file size = 46968 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 44133 zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 44006 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 IDAT size = 20937 zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 20704 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 20704 Output IDAT size = 20704 bytes (25346 bytes decrease) Output file size = 20782 bytes (26186 bytes = 55.75% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/fastcpd.Rcheck/vign_test/fastcpd/vignettes/comparison-packages_files/figure-html/data-setup-poisson-regression-2.png 768x480 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 85212 bytes Input file size = 86190 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 83129 zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 80451 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 IDAT size = 61126 zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 59962 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 59962 Output IDAT size = 59962 bytes (25250 bytes decrease) Output file size = 60040 bytes (26150 bytes = 30.34% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/fastcpd.Rcheck/vign_test/fastcpd/vignettes/comparison-packages_files/figure-html/data-setup-lasso-1.png 768x480 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 75951 bytes Input file size = 76917 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 73377 zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 71307 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 IDAT size = 59200 zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 58154 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 58154 Output IDAT size = 58154 bytes (17797 bytes decrease) Output file size = 58232 bytes (18685 bytes = 24.29% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/fastcpd.Rcheck/vign_test/fastcpd/vignettes/comparison-packages_files/figure-html/data-setup-ar3-1.png 768x480 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 52458 bytes Input file size = 53388 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 50696 zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 49619 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 IDAT size = 30360 zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 29935 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 29935 Output IDAT size = 29935 bytes (22523 bytes decrease) Output file size = 30013 bytes (23375 bytes = 43.78% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/fastcpd.Rcheck/vign_test/fastcpd/vignettes/comparison-packages_files/figure-html/data-setup-garch11-1.png 768x480 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 40867 bytes Input file size = 41773 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 39191 zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 39011 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 IDAT size = 25050 zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 25009 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 25009 Output IDAT size = 25009 bytes (15858 bytes decrease) Output file size = 25087 bytes (16686 bytes = 39.94% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/fastcpd.Rcheck/vign_test/fastcpd/vignettes/comparison-packages_files/figure-html/data-setup-var2-1.png 768x480 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 62318 bytes Input file size = 63260 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 60601 zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 59095 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 IDAT size = 42820 zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 42400 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 1 f = 5 IDAT size = 42400 Output IDAT size = 42400 bytes (19918 bytes decrease) Output file size = 42478 bytes (20782 bytes = 32.85% decrease) Quitting from lines 269-270 [univariate-mean-change-changepoint-testthat] (comparison-packages.Rmd) Error: processing vignette 'comparison-packages.Rmd' failed with diagnostics: `changepoint_result` (`actual`) not equal to c(300, 1000) (`expected`). `actual`: 1 2 3 4 5 6 9 10 11 12 and 694 more... `expected`: 300 ... --- failed re-building ‘comparison-packages.Rmd’ --- re-building ‘comparison-pelt.Rmd’ using rmarkdown --- finished re-building ‘comparison-pelt.Rmd’ --- re-building ‘examples-advanced.Rmd’ using rmarkdown --- finished re-building ‘examples-advanced.Rmd’ --- re-building ‘examples-custom-model.Rmd’ using rmarkdown --- finished re-building ‘examples-custom-model.Rmd’ SUMMARY: processing the following file failed: ‘comparison-packages.Rmd’ Error: Vignette re-building failed. Execution halted