* using log directory ‘/Users/ripley/R/packages/tests-devel/myClim.Rcheck’ * using R Under development (unstable) (2025-12-24 r89227) * using platform: aarch64-apple-darwin25.2.0 * R was compiled by Apple clang version 17.0.0 (clang-1700.6.3.2) GNU Fortran (GCC) 14.2.0 * running under: macOS Tahoe 26.2 * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘myClim/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘myClim’ version ‘1.5.0’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... INFO Package suggested but not available for checking: ‘rTubeDB’ * 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 ‘myClim’ can be installed ... 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 ... 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 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 ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... INFO Package unavailable to check Rd xrefs: ‘rTubeDB’ * 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 ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [85s/84s] [85s/84s] ERROR 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(myClim) > > test_check("myClim") Saving _problems/test-calc-137.R Saving _problems/test-prep-174.R [ FAIL 2 | WARN 74 | SKIP 0 | PASS 29420 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-calc.R:137:5'): mc_calc_cumsum ───────────────────────────────── Error in `map(.x, .f, ..., .progress = .progress)`: i In index: 2. i With name: A2E32. Caused by error in `map()`: i In index: 5. i With name: snow. Caused by error: ! Expected `length(.x$values)` to equal `datetime_length`. Differences: `actual`: 287 `expected`: 75 Backtrace: ▆ 1. ├─global test_agg_data_format(agg_data) at test-calc.R:137:5 2. │ └─purrr::walk(data$localities, test_agg_locality) 3. │ └─purrr::map(.x, .f, ..., .progress = .progress) 4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 5. │ ├─purrr:::with_indexed_errors(...) 6. │ │ └─base::withCallingHandlers(...) 7. │ ├─purrr:::call_with_cleanup(...) 8. │ └─global .f(.x[[i]], ...) 9. │ └─global test_data_length(locality) 10. │ └─purrr::walk(...) 11. │ └─purrr::map(.x, .f, ..., .progress = .progress) 12. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 13. │ ├─purrr:::with_indexed_errors(...) 14. │ │ └─base::withCallingHandlers(...) 15. │ ├─purrr:::call_with_cleanup(...) 16. │ └─.f(.x[[i]], ...) 17. │ └─testthat::expect_equal(length(.x$values), datetime_length) 18. │ └─testthat:::expect_waldo_equal_(msg, act, exp, info, ..., tolerance = tolerance) 19. │ └─testthat::fail(msg, info = info, trace_env = trace_env) 20. │ └─testthat::expectation("failure", message, srcref = srcref, trace = trace) 21. │ └─testthat::exp_signal(exp) 22. │ ├─base::withRestarts(...) 23. │ │ └─base (local) withRestartList(expr, restarts) 24. │ │ ├─base (local) withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]]) 25. │ │ │ └─base (local) doWithOneRestart(return(expr), restart) 26. │ │ └─base (local) withRestartList(expr, restarts[-nr]) 27. │ │ └─base (local) withOneRestart(expr, restarts[[1L]]) 28. │ │ └─base (local) doWithOneRestart(return(expr), restart) 29. │ └─base::stop(exp) 30. ├─purrr (local) ``(``) 31. │ └─cli::cli_abort(...) 32. │ └─rlang::abort(...) 33. │ └─rlang:::signal_abort(cnd, .file) 34. │ └─base::signalCondition(cnd) 35. └─purrr (local) ``(``) 36. └─cli::cli_abort(...) 37. └─rlang::abort(...) ── Error ('test-prep.R:174:5'): mc_prep_crop ─────────────────────────────────── Error in `recycle_columns(x, .rows, lengths)`: Tibble columns must have compatible sizes. * Size 75: Columns `datetime`, `TMS_T1`, `TMS_T2`, `TMS_T3`, and `TMS_moist`. * Size 287: Column `snow`. i Only values of size one are recycled. Backtrace: ▆ 1. └─myClim::mc_prep_crop(...) at test-prep.R:174:5 2. ├─dplyr::group_map(all_table, agg_locality_function) 3. └─dplyr:::group_map.data.frame(all_table, agg_locality_function) 4. └─dplyr:::map2(chunks, group_keys, .f, ...) 5. └─base::mapply(.f, .x, .y, MoreArgs = list(...), SIMPLIFY = FALSE) 6. └─myClim (local) ``(dots[[1L]][[2L]], dots[[2L]][[2L]]) 7. └─myClim (local) sensors_item_function(locality, start, end) 8. └─myClim:::.prep_crop_data(item, start, end, end_included) 9. └─myClim:::.common_sensor_values_as_tibble(item) 10. ├─tibble::as_tibble(data) 11. └─tibble:::as_tibble.list(data) 12. └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x)) 13. └─tibble:::recycle_columns(x, .rows, lengths) 14. └─tibble:::abort_incompatible_size(.rows, names(x), lengths, "Requested with `.rows` argument") 15. └─tibble:::tibble_abort(...) 16. └─rlang::abort(x, class, ..., call = call, parent = parent, use_cli_format = TRUE) [ FAIL 2 | WARN 74 | SKIP 0 | PASS 29420 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [13s/13s] OK * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/Users/ripley/R/packages/tests-devel/myClim.Rcheck/00check.log’ for details. 135.50 real 112.62 user 22.34 sys