* using log directory 'd:/Rcompile/CRANpkg/local/4.5/bistablehistory.Rcheck' * using R version 4.5.2 (2025-10-31 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'bistablehistory/DESCRIPTION' ... OK * this is package 'bistablehistory' version '1.1.3' * 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 'bistablehistory' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 14.3.0' * checking C++ specification ... OK * 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 ... [4s] OK * checking whether the package can be loaded with stated dependencies ... [3s] OK * checking whether the package can be unloaded cleanly ... [3s] OK * checking whether the namespace can be loaded with stated dependencies ... [3s] OK * checking whether the namespace can be unloaded cleanly ... [4s] OK * checking loading without being on the library search path ... [8s] 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 ... [9s] 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 ... [1s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in shell scripts ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... INFO GNU make is a SystemRequirements. * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [11s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [11s] ERROR Running 'testthat.R' [10s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(bistablehistory) Loading required package: loo This is loo version 2.9.0 - Online documentation and vignettes at mc-stan.org/loo - As of v2.0.0 loo defaults to 1 core but we recommend using as many as possible. Use the 'cores' argument or set options(mc.cores = NUM_CORES) for an entire session. - Windows 10 users: loo may be very slow if 'mc.cores' is set in your .Rprofile file (see https://github.com/stan-dev/loo/issues/94). Attaching package: 'loo' The following object is masked from 'package:testthat': compare Loading required package: rlang Loading required package: rstantools This is rstantools version 2.6.0 Attaching package: 'bistablehistory' The following object is masked from 'package:loo': loo > > test_check("bistablehistory") Saving _problems/test-fit_and_post_fit_utilities-44.R [ FAIL 1 | WARN 1 | SKIP 0 | PASS 97 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-fit_and_post_fit_utilities.R:44:3'): test fit and post fit utilities ── Error in `dplyr::summarise(., DistributionParameter = rep(.data$DistributionParameter, dim(bF)[1]), Term = rep(.data$Term, dim(bF)[1]), .groups = "keep")`: ℹ In argument: `DistributionParameter = rep(.data$DistributionParameter, dim(bF)[1])`. ℹ In group 1: `DistributionParameter = 1`, `Term = 1`. Caused by error: ! `DistributionParameter` must be size 1, not 1000. ℹ To return more or less than 1 row per group, use `reframe()`. Backtrace: ▆ 1. ├─testthat::expect_s3_class(fixef(fit), "data.frame") at test-fit_and_post_fit_utilities.R:44:3 2. │ └─testthat::quasi_label(enquo(object)) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─bistablehistory::fixef(fit) 5. │ └─... %>% ... 6. ├─dplyr::mutate(...) 7. ├─dplyr::mutate(...) 8. ├─dplyr::mutate(., Estimate = c(bF)) 9. ├─dplyr::ungroup(.) 10. ├─dplyr::summarise(...) 11. ├─dplyr:::summarise.grouped_df(...) 12. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise") 13. │ └─base::withCallingHandlers(...) 14. ├─dplyr:::dplyr_internal_error(...) 15. │ └─rlang::abort(class = c(class, "dplyr:::internal_error"), dplyr_error_data = data) 16. │ └─rlang:::signal_abort(cnd, .file) 17. │ └─base::signalCondition(cnd) 18. └─dplyr (local) ``(``) 19. └─dplyr (local) handler(cnd) 20. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) [ FAIL 1 | WARN 1 | SKIP 0 | PASS 97 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [29s] ERROR Error(s) in re-building vignettes: --- re-building 'cumulative-history.Rmd' using rmarkdown Quitting from cumulative-history.Rmd:67-87 [unnamed-chunk-3] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `summarise()`: ℹ In argument: `t = t`. ℹ In group 1: `h0 = 0`, `S = 1`, `tau = 1`. Caused by error: ! `t` must be size 1, not 100. ℹ To return more or less than 1 row per group, use `reframe()`. --- Backtrace: ▆ 1. ├─... %>% ... 2. ├─dplyr::summarise(...) 3. ├─dplyr:::summarise.grouped_df(...) 4. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise") 5. │ └─base::withCallingHandlers(...) 6. └─dplyr:::dplyr_internal_error(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'cumulative-history.Rmd' failed with diagnostics: ℹ In argument: `t = t`. ℹ In group 1: `h0 = 0`, `S = 1`, `tau = 1`. Caused by error: ! `t` must be size 1, not 100. ℹ To return more or less than 1 row per group, use `reframe()`. --- failed re-building 'cumulative-history.Rmd' --- re-building 'usage-examples.Rmd' using rmarkdown [WARNING] Citeproc: citation loo not found --- finished re-building 'usage-examples.Rmd' --- re-building 'writing-stan-code.Rmd' using rmarkdown --- finished re-building 'writing-stan-code.Rmd' SUMMARY: processing the following file failed: 'cumulative-history.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [19s] OK * checking HTML version of manual ... [6s] OK * DONE Status: 2 ERRORs