Last updated on 2025-07-25 08:50:19 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
chattr | 2 | 11 | |
connections | 6 | 7 | |
mall | 10 | 3 | |
pysparklyr | 13 | ||
sparkxgb | 6 | 7 |
Current CRAN status: ERROR: 2, OK: 11
Version: 0.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [13s/22s]
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’ [13s/20s]
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
Current CRAN status: NOTE: 6, OK: 7
Version: 0.2.0
Check: Rd cross-references
Result: NOTE
Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
DBI.Rd: DBIConnection-class
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-windows-x86_64
Current CRAN status: NOTE: 10, OK: 3
Version: 0.1.0
Check: DESCRIPTION meta-information
Result: NOTE
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘llm-extract.R’ ‘llm-use.R’ ‘llm_custom.Rd’ ‘m-backend-prompt.R’
‘m-backend-submit.R’ ‘m-defaults.R’ ‘utils.R’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
Current CRAN status: OK: 13
Current CRAN status: NOTE: 6, OK: 7
Version: 0.2.0
Check: Rd cross-references
Result: NOTE
Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
xgboost_classifier.Rd: ft_r_formula
xgboost_regressor.Rd: ft_r_formula, ml_save
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-windows-x86_64