Last updated on 2025-08-09 15:48:35 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.3.0 | 6.32 | 62.91 | 69.23 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.3.0 | 3.83 | 47.84 | 51.67 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.3.0 | 112.73 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.3.0 | 126.92 | ERROR | |||
r-devel-windows-x86_64 | 0.3.0 | 9.00 | 91.00 | 100.00 | ERROR | |
r-patched-linux-x86_64 | 0.3.0 | 6.68 | 58.57 | 65.25 | ERROR | |
r-release-linux-x86_64 | 0.3.0 | 5.53 | 58.08 | 63.61 | ERROR | |
r-release-macos-arm64 | 0.3.0 | 46.00 | OK | |||
r-release-macos-x86_64 | 0.3.0 | 69.00 | OK | |||
r-release-windows-x86_64 | 0.3.0 | 8.00 | 92.00 | 100.00 | ERROR | |
r-oldrel-macos-arm64 | 0.3.0 | 50.00 | OK | |||
r-oldrel-macos-x86_64 | 0.3.0 | 85.00 | OK | |||
r-oldrel-windows-x86_64 | 0.3.0 | 10.00 | 106.00 | 116.00 | ERROR |
Version: 0.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [8s/16s]
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(chattr)
> library(shiny)
>
> test_check("chattr")
Enter file name: Enter file name: [ FAIL 1 | WARN 1 | SKIP 26 | PASS 38 ]
══ Skipped tests (26) ══════════════════════════════════════════════════════════
• On CRAN (26): 'test-app-server.R:30:3', 'test-app-server.R:48:3',
'test-app-ui.R:2:3', 'test-app-ui.R:12:3', 'test-app-ui.R:17:3',
'test-app-ui.R:24:3', 'test-backend-databricks.R:20:3',
'test-backend-ellmer.R:22:3', 'test-backend-openai.R:2:3',
'test-backend-openai.R:12:3', 'test-ch-defaults-save.R:3:3',
'test-ch_context.R:2:3', 'test-ch_context.R:12:3', 'test-ch_defaults.R:2:3',
'test-ch_defaults.R:9:3', 'test-ch_defaults.R:19:3',
'test-chattr-defaults.R:3:3', 'test-chattr-test.R:4:3',
'test-chattr-test.R:17:3', 'test-chattr-use.R:7:7', 'test-chattr-use.R:47:7',
'test-chattr-use.R:53:3', 'test-chattr-use.R:75:3', 'test-chattr-use.R:83:7',
'test-utils.R:6:3', 'test-utils.R:20:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-backend-ellmer.R:41:3'): Ellmer history works ──────────────────
<purrr_error_indexed/rlang_error/error/condition>
Error in `map(x, ~{
ellmer::Turn(role = .x$role, contents = list(ellmer::ContentText(.x$content)),
tokens = .x$tokens %||% c(0, 0))
})`: i In index: 1.
Caused by error:
! <ellmer::Turn> object properties are invalid:
- @tokens must be length three
Backtrace:
▆
1. ├─testthat::expect_silent(...) at test-backend-ellmer.R:41:3
2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
3. │ ├─testthat (local) .capture(...)
4. │ │ ├─withr::with_output_sink(...)
5. │ │ │ └─base::force(code)
6. │ │ ├─base::withCallingHandlers(...)
7. │ │ └─base::withVisible(code)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. ├─chattr:::ch_ellmer_history(list(list(role = "user", contents = "this is a test")))
10. │ └─purrr::map(...)
11. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
12. │ ├─purrr:::with_indexed_errors(...)
13. │ │ └─base::withCallingHandlers(...)
14. │ ├─purrr:::call_with_cleanup(...)
15. │ └─chattr (local) .f(.x[[i]], ...)
16. │ └─ellmer::Turn(...)
17. │ └─S7::new_object(...)
18. │ └─S7::validate(object, recursive = !parent_validated)
19. │ └─base::stop(msg, call. = FALSE)
20. └─base::.handleSimpleError(...)
21. └─purrr (local) h(simpleError(msg, call))
22. └─cli::cli_abort(...)
23. └─rlang::abort(...)
[ FAIL 1 | WARN 1 | SKIP 26 | PASS 38 ]
Deleting unused snapshots:
• app-server/001.json
• app-server/002.json
• app-server/003.json
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/11s]
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(chattr)
> library(shiny)
>
> test_check("chattr")
Enter file name: Enter file name: [ FAIL 1 | WARN 2 | SKIP 26 | PASS 38 ]
══ Skipped tests (26) ══════════════════════════════════════════════════════════
• On CRAN (26): 'test-app-server.R:30:3', 'test-app-server.R:48:3',
'test-app-ui.R:2:3', 'test-app-ui.R:12:3', 'test-app-ui.R:17:3',
'test-app-ui.R:24:3', 'test-backend-databricks.R:20:3',
'test-backend-ellmer.R:22:3', 'test-backend-openai.R:2:3',
'test-backend-openai.R:12:3', 'test-ch-defaults-save.R:3:3',
'test-ch_context.R:2:3', 'test-ch_context.R:12:3', 'test-ch_defaults.R:2:3',
'test-ch_defaults.R:9:3', 'test-ch_defaults.R:19:3',
'test-chattr-defaults.R:3:3', 'test-chattr-test.R:4:3',
'test-chattr-test.R:17:3', 'test-chattr-use.R:7:7', 'test-chattr-use.R:47:7',
'test-chattr-use.R:53:3', 'test-chattr-use.R:75:3', 'test-chattr-use.R:83:7',
'test-utils.R:6:3', 'test-utils.R:20:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-backend-ellmer.R:41:3'): Ellmer history works ──────────────────
<purrr_error_indexed/rlang_error/error/condition>
Error in `map(x, ~{
ellmer::Turn(role = .x$role, contents = list(ellmer::ContentText(.x$content)),
tokens = .x$tokens %||% c(0, 0))
})`: i In index: 1.
Caused by error:
! <ellmer::Turn> object properties are invalid:
- @tokens must be length three
Backtrace:
▆
1. ├─testthat::expect_silent(...) at test-backend-ellmer.R:41:3
2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
3. │ ├─testthat (local) .capture(...)
4. │ │ ├─withr::with_output_sink(...)
5. │ │ │ └─base::force(code)
6. │ │ ├─base::withCallingHandlers(...)
7. │ │ └─base::withVisible(code)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. ├─chattr:::ch_ellmer_history(list(list(role = "user", contents = "this is a test")))
10. │ └─purrr::map(...)
11. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
12. │ ├─purrr:::with_indexed_errors(...)
13. │ │ └─base::withCallingHandlers(...)
14. │ ├─purrr:::call_with_cleanup(...)
15. │ └─chattr (local) .f(.x[[i]], ...)
16. │ └─ellmer::Turn(...)
17. │ └─S7::new_object(...)
18. │ └─S7::validate(object, recursive = !parent_validated)
19. │ └─base::stop(msg, call. = FALSE)
20. └─base::.handleSimpleError(...)
21. └─purrr (local) h(simpleError(msg, call))
22. └─cli::cli_abort(...)
23. └─rlang::abort(...)
[ FAIL 1 | WARN 2 | SKIP 26 | PASS 38 ]
Deleting unused snapshots:
• app-server/001.json
• app-server/002.json
• app-server/003.json
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [14s/37s]
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(chattr)
> library(shiny)
>
> test_check("chattr")
Enter file name: Enter file name: [ FAIL 1 | WARN 1 | SKIP 26 | PASS 38 ]
══ Skipped tests (26) ══════════════════════════════════════════════════════════
• On CRAN (26): 'test-app-server.R:30:3', 'test-app-server.R:48:3',
'test-app-ui.R:2:3', 'test-app-ui.R:12:3', 'test-app-ui.R:17:3',
'test-app-ui.R:24:3', 'test-backend-databricks.R:20:3',
'test-backend-ellmer.R:22:3', 'test-backend-openai.R:2:3',
'test-backend-openai.R:12:3', 'test-ch-defaults-save.R:3:3',
'test-ch_context.R:2:3', 'test-ch_context.R:12:3', 'test-ch_defaults.R:2:3',
'test-ch_defaults.R:9:3', 'test-ch_defaults.R:19:3',
'test-chattr-defaults.R:3:3', 'test-chattr-test.R:4:3',
'test-chattr-test.R:17:3', 'test-chattr-use.R:7:7', 'test-chattr-use.R:47:7',
'test-chattr-use.R:53:3', 'test-chattr-use.R:75:3', 'test-chattr-use.R:83:7',
'test-utils.R:6:3', 'test-utils.R:20:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-backend-ellmer.R:41:3'): Ellmer history works ──────────────────
<purrr_error_indexed/rlang_error/error/condition>
Error in `map(x, ~{
ellmer::Turn(role = .x$role, contents = list(ellmer::ContentText(.x$content)),
tokens = .x$tokens %||% c(0, 0))
})`: i In index: 1.
Caused by error:
! <ellmer::Turn> object properties are invalid:
- @tokens must be length three
Backtrace:
▆
1. ├─testthat::expect_silent(...) at test-backend-ellmer.R:41:3
2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
3. │ ├─testthat (local) .capture(...)
4. │ │ ├─withr::with_output_sink(...)
5. │ │ │ └─base::force(code)
6. │ │ ├─base::withCallingHandlers(...)
7. │ │ └─base::withVisible(code)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. ├─chattr:::ch_ellmer_history(list(list(role = "user", contents = "this is a test")))
10. │ └─purrr::map(...)
11. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
12. │ ├─purrr:::with_indexed_errors(...)
13. │ │ └─base::withCallingHandlers(...)
14. │ ├─purrr:::call_with_cleanup(...)
15. │ └─chattr (local) .f(.x[[i]], ...)
16. │ └─ellmer::Turn(...)
17. │ └─S7::new_object(...)
18. │ └─S7::validate(object, recursive = !parent_validated)
19. │ └─base::stop(msg, call. = FALSE)
20. └─base::.handleSimpleError(...)
21. └─purrr (local) h(simpleError(msg, call))
22. └─cli::cli_abort(...)
23. └─rlang::abort(...)
[ FAIL 1 | WARN 1 | SKIP 26 | PASS 38 ]
Deleting unused snapshots:
• app-server/001.json
• app-server/002.json
• app-server/003.json
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [15s/50s]
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(chattr)
> library(shiny)
>
> test_check("chattr")
Enter file name: Enter file name: [ FAIL 1 | WARN 2 | SKIP 26 | PASS 38 ]
══ Skipped tests (26) ══════════════════════════════════════════════════════════
• On CRAN (26): 'test-app-server.R:30:3', 'test-app-server.R:48:3',
'test-app-ui.R:2:3', 'test-app-ui.R:12:3', 'test-app-ui.R:17:3',
'test-app-ui.R:24:3', 'test-backend-databricks.R:20:3',
'test-backend-ellmer.R:22:3', 'test-backend-openai.R:2:3',
'test-backend-openai.R:12:3', 'test-ch-defaults-save.R:3:3',
'test-ch_context.R:2:3', 'test-ch_context.R:12:3', 'test-ch_defaults.R:2:3',
'test-ch_defaults.R:9:3', 'test-ch_defaults.R:19:3',
'test-chattr-defaults.R:3:3', 'test-chattr-test.R:4:3',
'test-chattr-test.R:17:3', 'test-chattr-use.R:7:7', 'test-chattr-use.R:47:7',
'test-chattr-use.R:53:3', 'test-chattr-use.R:75:3', 'test-chattr-use.R:83:7',
'test-utils.R:6:3', 'test-utils.R:20:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-backend-ellmer.R:41:3'): Ellmer history works ──────────────────
<purrr_error_indexed/rlang_error/error/condition>
Error in `map(x, ~{
ellmer::Turn(role = .x$role, contents = list(ellmer::ContentText(.x$content)),
tokens = .x$tokens %||% c(0, 0))
})`: i In index: 1.
Caused by error:
! <ellmer::Turn> object properties are invalid:
- @tokens must be length three
Backtrace:
▆
1. ├─testthat::expect_silent(...) at test-backend-ellmer.R:41:3
2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
3. │ ├─testthat (local) .capture(...)
4. │ │ ├─withr::with_output_sink(...)
5. │ │ │ └─base::force(code)
6. │ │ ├─base::withCallingHandlers(...)
7. │ │ └─base::withVisible(code)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. ├─chattr:::ch_ellmer_history(list(list(role = "user", contents = "this is a test")))
10. │ └─purrr::map(...)
11. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
12. │ ├─purrr:::with_indexed_errors(...)
13. │ │ └─base::withCallingHandlers(...)
14. │ ├─purrr:::call_with_cleanup(...)
15. │ └─chattr (local) .f(.x[[i]], ...)
16. │ └─ellmer::Turn(...)
17. │ └─S7::new_object(...)
18. │ └─S7::validate(object, recursive = !parent_validated)
19. │ └─base::stop(msg, call. = FALSE)
20. └─base::.handleSimpleError(...)
21. └─purrr (local) h(simpleError(msg, call))
22. └─cli::cli_abort(...)
23. └─rlang::abort(...)
[ FAIL 1 | WARN 2 | SKIP 26 | PASS 38 ]
Deleting unused snapshots:
• app-server/001.json
• app-server/002.json
• app-server/003.json
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.3.0
Check: tests
Result: ERROR
Running 'testthat.R' [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/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(chattr)
> library(shiny)
>
> test_check("chattr")
[ FAIL 1 | WARN 0 | SKIP 27 | PASS 34 ]
══ Skipped tests (27) ══════════════════════════════════════════════════════════
• On CRAN (25): 'test-app-server.R:48:3', 'test-app-ui.R:2:3',
'test-app-ui.R:12:3', 'test-app-ui.R:17:3', 'test-app-ui.R:24:3',
'test-backend-databricks.R:20:3', 'test-backend-ellmer.R:22:3',
'test-backend-openai.R:2:3', 'test-backend-openai.R:12:3',
'test-ch-defaults-save.R:3:3', 'test-ch_context.R:2:3',
'test-ch_context.R:12:3', 'test-ch_defaults.R:2:3', 'test-ch_defaults.R:9:3',
'test-ch_defaults.R:19:3', 'test-chattr-defaults.R:3:3',
'test-chattr-test.R:4:3', 'test-chattr-test.R:17:3', 'test-chattr-use.R:7:7',
'test-chattr-use.R:47:7', 'test-chattr-use.R:53:3', 'test-chattr-use.R:75:3',
'test-chattr-use.R:83:7', 'test-utils.R:6:3', 'test-utils.R:20:3'
• On Windows (2): 'test-app-server.R:2:3', 'test-app-server.R:29:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-backend-ellmer.R:41:3'): Ellmer history works ──────────────────
<purrr_error_indexed/rlang_error/error/condition>
Error in `map(x, ~{
ellmer::Turn(role = .x$role, contents = list(ellmer::ContentText(.x$content)),
tokens = .x$tokens %||% c(0, 0))
})`: i In index: 1.
Caused by error:
! <ellmer::Turn> object properties are invalid:
- @tokens must be length three
Backtrace:
▆
1. ├─testthat::expect_silent(...) at test-backend-ellmer.R:41:3
2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
3. │ ├─testthat (local) .capture(...)
4. │ │ ├─withr::with_output_sink(...)
5. │ │ │ └─base::force(code)
6. │ │ ├─base::withCallingHandlers(...)
7. │ │ └─base::withVisible(code)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. ├─chattr:::ch_ellmer_history(list(list(role = "user", contents = "this is a test")))
10. │ └─purrr::map(...)
11. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
12. │ ├─purrr:::with_indexed_errors(...)
13. │ │ └─base::withCallingHandlers(...)
14. │ ├─purrr:::call_with_cleanup(...)
15. │ └─chattr (local) .f(.x[[i]], ...)
16. │ └─ellmer::Turn(...)
17. │ └─S7::new_object(...)
18. │ └─S7::validate(object, recursive = !parent_validated)
19. │ └─base::stop(msg, call. = FALSE)
20. └─base::.handleSimpleError(...)
21. └─purrr (local) h(simpleError(msg, call))
22. └─cli::cli_abort(...)
23. └─rlang::abort(...)
[ FAIL 1 | WARN 0 | SKIP 27 | PASS 34 ]
Deleting unused snapshots:
• app-server/001.json
• app-server/002.json
• app-server/003.json
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [8s/14s]
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(chattr)
> library(shiny)
>
> test_check("chattr")
Enter file name: Enter file name: [ FAIL 1 | WARN 2 | SKIP 26 | PASS 38 ]
══ Skipped tests (26) ══════════════════════════════════════════════════════════
• On CRAN (26): 'test-app-server.R:30:3', 'test-app-server.R:48:3',
'test-app-ui.R:2:3', 'test-app-ui.R:12:3', 'test-app-ui.R:17:3',
'test-app-ui.R:24:3', 'test-backend-databricks.R:20:3',
'test-backend-ellmer.R:22:3', 'test-backend-openai.R:2:3',
'test-backend-openai.R:12:3', 'test-ch-defaults-save.R:3:3',
'test-ch_context.R:2:3', 'test-ch_context.R:12:3', 'test-ch_defaults.R:2:3',
'test-ch_defaults.R:9:3', 'test-ch_defaults.R:19:3',
'test-chattr-defaults.R:3:3', 'test-chattr-test.R:4:3',
'test-chattr-test.R:17:3', 'test-chattr-use.R:7:7', 'test-chattr-use.R:47:7',
'test-chattr-use.R:53:3', 'test-chattr-use.R:75:3', 'test-chattr-use.R:83:7',
'test-utils.R:6:3', 'test-utils.R:20:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-backend-ellmer.R:41:3'): Ellmer history works ──────────────────
<purrr_error_indexed/rlang_error/error/condition>
Error in `map(x, ~{
ellmer::Turn(role = .x$role, contents = list(ellmer::ContentText(.x$content)),
tokens = .x$tokens %||% c(0, 0))
})`: i In index: 1.
Caused by error:
! <ellmer::Turn> object properties are invalid:
- @tokens must be length three
Backtrace:
▆
1. ├─testthat::expect_silent(...) at test-backend-ellmer.R:41:3
2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
3. │ ├─testthat (local) .capture(...)
4. │ │ ├─withr::with_output_sink(...)
5. │ │ │ └─base::force(code)
6. │ │ ├─base::withCallingHandlers(...)
7. │ │ └─base::withVisible(code)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. ├─chattr:::ch_ellmer_history(list(list(role = "user", contents = "this is a test")))
10. │ └─purrr::map(...)
11. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
12. │ ├─purrr:::with_indexed_errors(...)
13. │ │ └─base::withCallingHandlers(...)
14. │ ├─purrr:::call_with_cleanup(...)
15. │ └─chattr (local) .f(.x[[i]], ...)
16. │ └─ellmer::Turn(...)
17. │ └─S7::new_object(...)
18. │ └─S7::validate(object, recursive = !parent_validated)
19. │ └─base::stop(msg, call. = FALSE)
20. └─base::.handleSimpleError(...)
21. └─purrr (local) h(simpleError(msg, call))
22. └─cli::cli_abort(...)
23. └─rlang::abort(...)
[ FAIL 1 | WARN 2 | SKIP 26 | PASS 38 ]
Deleting unused snapshots:
• app-server/001.json
• app-server/002.json
• app-server/003.json
Error: Test failures
Execution halted
Flavors: r-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.3.0
Check: tests
Result: ERROR
Running 'testthat.R' [16s]
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(chattr)
> library(shiny)
>
> test_check("chattr")
[ FAIL 1 | WARN 0 | SKIP 27 | PASS 34 ]
══ Skipped tests (27) ══════════════════════════════════════════════════════════
• On CRAN (25): 'test-app-server.R:48:3', 'test-app-ui.R:2:3',
'test-app-ui.R:12:3', 'test-app-ui.R:17:3', 'test-app-ui.R:24:3',
'test-backend-databricks.R:20:3', 'test-backend-ellmer.R:22:3',
'test-backend-openai.R:2:3', 'test-backend-openai.R:12:3',
'test-ch-defaults-save.R:3:3', 'test-ch_context.R:2:3',
'test-ch_context.R:12:3', 'test-ch_defaults.R:2:3', 'test-ch_defaults.R:9:3',
'test-ch_defaults.R:19:3', 'test-chattr-defaults.R:3:3',
'test-chattr-test.R:4:3', 'test-chattr-test.R:17:3', 'test-chattr-use.R:7:7',
'test-chattr-use.R:47:7', 'test-chattr-use.R:53:3', 'test-chattr-use.R:75:3',
'test-chattr-use.R:83:7', 'test-utils.R:6:3', 'test-utils.R:20:3'
• On Windows (2): 'test-app-server.R:2:3', 'test-app-server.R:29:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-backend-ellmer.R:41:3'): Ellmer history works ──────────────────
<purrr_error_indexed/rlang_error/error/condition>
Error in `map(x, ~{
ellmer::Turn(role = .x$role, contents = list(ellmer::ContentText(.x$content)),
tokens = .x$tokens %||% c(0, 0))
})`: i In index: 1.
Caused by error:
! <ellmer::Turn> object properties are invalid:
- @tokens must be length three
Backtrace:
▆
1. ├─testthat::expect_silent(...) at test-backend-ellmer.R:41:3
2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
3. │ ├─testthat (local) .capture(...)
4. │ │ ├─withr::with_output_sink(...)
5. │ │ │ └─base::force(code)
6. │ │ ├─base::withCallingHandlers(...)
7. │ │ └─base::withVisible(code)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. ├─chattr:::ch_ellmer_history(list(list(role = "user", contents = "this is a test")))
10. │ └─purrr::map(...)
11. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
12. │ ├─purrr:::with_indexed_errors(...)
13. │ │ └─base::withCallingHandlers(...)
14. │ ├─purrr:::call_with_cleanup(...)
15. │ └─chattr (local) .f(.x[[i]], ...)
16. │ └─ellmer::Turn(...)
17. │ └─S7::new_object(...)
18. │ └─S7::validate(object, recursive = !parent_validated)
19. │ └─base::stop(msg, call. = FALSE)
20. └─base::.handleSimpleError(...)
21. └─purrr (local) h(simpleError(msg, call))
22. └─cli::cli_abort(...)
23. └─rlang::abort(...)
[ FAIL 1 | WARN 0 | SKIP 27 | PASS 34 ]
Deleting unused snapshots:
• app-server/001.json
• app-server/002.json
• app-server/003.json
Error: Test failures
Execution halted
Flavor: r-release-windows-x86_64
Version: 0.3.0
Check: tests
Result: ERROR
Running 'testthat.R' [17s]
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(chattr)
> library(shiny)
>
> test_check("chattr")
[ FAIL 1 | WARN 0 | SKIP 27 | PASS 34 ]
══ Skipped tests (27) ══════════════════════════════════════════════════════════
• On CRAN (25): 'test-app-server.R:48:3', 'test-app-ui.R:2:3',
'test-app-ui.R:12:3', 'test-app-ui.R:17:3', 'test-app-ui.R:24:3',
'test-backend-databricks.R:20:3', 'test-backend-ellmer.R:22:3',
'test-backend-openai.R:2:3', 'test-backend-openai.R:12:3',
'test-ch-defaults-save.R:3:3', 'test-ch_context.R:2:3',
'test-ch_context.R:12:3', 'test-ch_defaults.R:2:3', 'test-ch_defaults.R:9:3',
'test-ch_defaults.R:19:3', 'test-chattr-defaults.R:3:3',
'test-chattr-test.R:4:3', 'test-chattr-test.R:17:3', 'test-chattr-use.R:7:7',
'test-chattr-use.R:47:7', 'test-chattr-use.R:53:3', 'test-chattr-use.R:75:3',
'test-chattr-use.R:83:7', 'test-utils.R:6:3', 'test-utils.R:20:3'
• On Windows (2): 'test-app-server.R:2:3', 'test-app-server.R:29:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-backend-ellmer.R:41:3'): Ellmer history works ──────────────────
<purrr_error_indexed/rlang_error/error/condition>
Error in `map(x, ~{
ellmer::Turn(role = .x$role, contents = list(ellmer::ContentText(.x$content)),
tokens = .x$tokens %||% c(0, 0))
})`: i In index: 1.
Caused by error:
! <ellmer::Turn> object properties are invalid:
- @tokens must be length three
Backtrace:
▆
1. ├─testthat::expect_silent(...) at test-backend-ellmer.R:41:3
2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
3. │ ├─testthat (local) .capture(...)
4. │ │ ├─withr::with_output_sink(...)
5. │ │ │ └─base::force(code)
6. │ │ ├─base::withCallingHandlers(...)
7. │ │ └─base::withVisible(code)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. ├─chattr:::ch_ellmer_history(list(list(role = "user", contents = "this is a test")))
10. │ └─purrr::map(...)
11. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
12. │ ├─purrr:::with_indexed_errors(...)
13. │ │ └─base::withCallingHandlers(...)
14. │ ├─purrr:::call_with_cleanup(...)
15. │ └─chattr (local) .f(.x[[i]], ...)
16. │ └─ellmer::Turn(...)
17. │ └─S7::new_object(...)
18. │ └─S7::validate(object, recursive = !parent_validated)
19. │ └─base::stop(msg, call. = FALSE)
20. └─base::.handleSimpleError(...)
21. └─purrr (local) h(simpleError(msg, call))
22. └─cli::cli_abort(...)
23. └─rlang::abort(...)
[ FAIL 1 | WARN 0 | SKIP 27 | PASS 34 ]
Deleting unused snapshots:
• app-server/001.json
• app-server/002.json
• app-server/003.json
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.