Package: autoharp Check: dependencies in R code New result: WARNING Missing or unexported objects: ‘lintr::closed_curly_linter’ ‘lintr::open_curly_linter’ ‘lintr::paren_brace_linter’ Package: box.linters Check: examples New result: ERROR Running examples in ‘box.linters-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: box_func_import_count_linter > ### Title: 'box' library function import count linter > ### Aliases: box_func_import_count_linter > > ### ** Examples > > # will produce lints > lintr::lint( + text = "box::use(package[one, two, three, four, five, six, seven, eight, nine])", + linters = box_func_import_count_linter() + ) Error in `lint_impl_()`: ! Linter `linter()` failed in '/home/hornik/tmp/scratch/RtmpTyyC0d/file97d7a43895612': Caused by error in `validate_lint_object()`: ! `message` must be a simple string, but has class Backtrace: ▆ 1. └─lintr::lint(...) 2. └─lintr:::lint_impl_(linters, lint_cache, filename, source_expressions) 3. ├─base::withCallingHandlers(...) 4. └─lintr:::get_lints(...) 5. ├─lintr:::flatten_lints(linter_fun(expr)) 6. │ └─lintr:::flatten_list(x, class = "lint") 7. │ └─lintr (local) assign_item(x) 8. └─box.linters (local) linter_fun(expr) 9. └─lintr::xml_nodes_to_lints(...) 10. └─base::.mapply(...) 11. └─lintr (local) ``(...) 12. └─lintr::Lint(...) 13. └─lintr:::validate_lint_object(message, line, line_number, column_number, ranges) 14. └─cli::cli_abort("{.arg message} must be a simple string, but has class {.cls {class(message)}}") 15. └─rlang::abort(...) Execution halted Package: box.linters Check: tests New result: ERROR Running ‘testthat.R’ [22s/12s] 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(box.linters) > > test_check("box.linters") Starting 2 test processes. Saving _problems/test-box_func_import_count_linter-65.R Saving _problems/test-general-13.R Saving _problems/test-non-syntactic-names-35.R > test-use_box_lintr.R: v box.linters .lintr file successfully written! > test-use_box_lintr.R: v box.linters .lintr file successfully written! > test-style_box_use.R: i No `box::use()` calls found. No changes were made to the text. > test-style_box_use.R: Nothing to modify in `app_1.R`. > test-style_box_use.R: Modified the following files: > test-style_box_use.R: app/app_1.R > test-style_box_use.R: main.R > test-style_box_use.R: -------------------------------------------------------------------------------- > test-style_box_use.R: > test-style_box_use.R: Count Legend > test-style_box_use.R: 1 File/s unchanged. > test-style_box_use.R: 2 File/s changed. > test-style_box_use.R: -------------------------------------------------------------------------------- > test-style_box_use.R: Modified the following files: > test-style_box_use.R: app/app_1.R > test-style_box_use.R: main.R > test-style_box_use.R: -------------------------------------------------------------------------------- > test-style_box_use.R: Count Legend > test-style_box_use.R: 1 File/s unchanged. > test-style_box_use.R: 2 File/s changed. > test-style_box_use.R: -------------------------------------------------------------------------------- > test-style_box_use.R: Modified the following files: > test-style_box_use.R: app/app_1.R > test-style_box_use.R: main.R > test-style_box_use.R: -------------------------------------------------------------------------------- > test-style_box_use.R: > test-style_box_use.R: Count Legend > test-style_box_use.R: 1 File/s unchanged. > test-style_box_use.R: 2 File/s changed. > test-style_box_use.R: -------------------------------------------------------------------------------- > test-style_box_use.R: Modified the following files: > test-style_box_use.R: app/app_1.R > test-style_box_use.R: main.R > test-style_box_use.R: -------------------------------------------------------------------------------- > test-style_box_use.R: Count Legend > test-style_box_use.R: 1 File/s unchanged. > test-style_box_use.R: 2 File/s changed. > test-style_box_use.R: -------------------------------------------------------------------------------- > test-style_box_use.R: Modified the following files: > test-style_box_use.R: app/app_1.R > test-style_box_use.R: main.R > test-style_box_use.R: -------------------------------------------------------------------------------- > test-style_box_use.R: > test-style_box_use.R: Count Legend > test-style_box_use.R: 0 File/s unchanged. > test-style_box_use.R: 2 File/s changed. > test-style_box_use.R: -------------------------------------------------------------------------------- [ FAIL 3 | WARN 0 | SKIP 0 | PASS 435 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-box_func_import_count_linter.R:65:3'): box_func_import_count_linter blocks function imports more than max ── Error in `lint_impl_(linters, lint_cache, filename, source_expressions)`: Linter `linter()` failed in '/home/hornik/tmp/scratch/RtmpqU0WB6/file981cb2e98d222': Caused by error in `validate_lint_object()`: ! `message` must be a simple string, but has class ── Failure ('test-general.R:13:3'): Should skip columns in dplyr commands ────── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpfsUJsp/file981aa35764449", line_number = 6, column_number = 8, type = "style", message = "Use the |> pipe operator instead of the %>% pipe operator.", line = "mtcars %>%", ranges = list(c(8, 10)), linter = "pipe_consistency_linter") list(filename = "/home/hornik/tmp/scratch/RtmpfsUJsp/file981aa35764449", line_number = 7, column_number = 20, type = "style", message = "Use the |> pipe operator instead of the %>% pipe operator.", line = " select(mpg, cyl) %>%", ranges = list(c(20, 22)), linter = "pipe_consistency_linter") ── Failure ('test-non-syntactic-names.R:35:3'): Should skip allowed non-syntactic names: package special ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpqU0WB6/file981cb2098865", line_number = 6, column_number = 12, type = "style", message = "Use the |> pipe operator instead of the %>% pipe operator.", line = "c(1, 2, 3) %>% sum()", ranges = list(c(12, 14)), linter = "pipe_consistency_linter") [ FAIL 3 | WARN 0 | SKIP 0 | PASS 435 ] Error: ! Test failures. Execution halted Package: diseasystore Check: tests New result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [294s/297s] 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) > > test_check("diseasystore") Loading required package: diseasystore ##### Following backends will be tested: SQLite #### This message is displayed once per session. Saving _problems/test-0_linters-51.R ##### Following backends will be tested: #### This message is displayed once per session. Saving _problems/test-zzz-12.R [ FAIL 2 | WARN 0 | SKIP 12 | PASS 722 ] ══ Skipped tests (12) ══════════════════════════════════════════════════════════ • "SQLiteConnection" %in% skip_backends is TRUE (3): 'test-DiseasystoreSimulist.R:2:1', 'test-DiseasystoreSimulist.R:2:1', 'test-DiseasystoreSimulist.R:2:1' • Skip if running in R_check (1): 'test-0_linters.R:64:3' • empty test (5): 'test-DiseasystoreSimulist.R:2:1', 'test-DiseasystoreSimulist.R:2:1', 'test-DiseasystoreSimulist.R:2:1', 'test-DiseasystoreSimulist.R:2:1', 'test-DiseasystoreSimulist.R:2:1' • is.null(skip_backends) is TRUE (2): 'test-DiseasystoreEcdcRespitoryViruses.R:7:1', 'test-DiseasystoreGoogleCovid19.R:5:1' • remote_data_available is not TRUE (1): 'test-DiseasystoreEcdcRespitoryViruses.R:7:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-0_linters.R:51:3'): param_and_field_linter works ─────────────── Error in `lint_impl_(linters, lint_cache, filename, source_expressions)`: Linter `linter()` failed in '/home/hornik/tmp/scratch/RtmpU5G9s6/filea35162a28a158': Caused by error in `purrr::pmap()`: i In index: 1. Caused by error in `validate_lint_object()`: ! `message` must be a simple string, but has class Backtrace: ▆ 1. ├─lintr::expect_lint(...) at test-0_linters.R:51:3 2. │ └─lintr::lint(file, ...) 3. │ └─lintr:::lint_impl_(linters, lint_cache, filename, source_expressions) 4. │ ├─base::withCallingHandlers(...) 5. │ └─lintr:::get_lints(...) 6. │ ├─lintr:::flatten_lints(linter_fun(expr)) 7. │ │ └─lintr:::flatten_list(x, class = "lint") 8. │ │ └─lintr (local) assign_item(x) 9. │ └─diseasystore (local) linter_fun(expr) 10. │ └─purrr::pmap(...) 11. │ └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress) 12. │ ├─purrr:::with_indexed_errors(...) 13. │ │ └─base::withCallingHandlers(...) 14. │ ├─purrr:::call_with_cleanup(...) 15. │ └─diseasystore (local) .f(...) 16. │ └─lintr::Lint(...) 17. │ └─lintr:::validate_lint_object(...) 18. │ └─cli::cli_abort("{.arg message} must be a simple string, but has class {.cls {class(message)}}") 19. │ └─rlang::abort(...) 20. │ └─rlang:::signal_abort(cnd, .file) 21. │ └─base::signalCondition(cnd) 22. ├─purrr (local) ``(``) 23. │ └─cli::cli_abort(...) 24. │ └─rlang::abort(...) 25. │ └─rlang:::signal_abort(cnd, .file) 26. │ └─base::signalCondition(cnd) 27. └─lintr (local) ``(``) 28. └─cli::cli_abort(...) 29. └─rlang::abort(...) ── Failure ('test-zzz.R:12:3'): data is not written locally ──────────────────── Expected `dir(recursive = TRUE)` to have the same values as `current_files`. Actual: "_problems/test-0_linters-51.R", "helper-setup.R", "setup.R", "test-0_R6_utils.R", "test-0_documentation.R", "test-0_linters.R", "test-0_rd_files.R", "test-DiseasystoreBase.R", "test-DiseasystoreEcdcRespitoryViruses.R", ... Expected: "helper-setup.R", "setup.R", "test-0_R6_utils.R", "test-0_documentation.R", "test-0_linters.R", "test-0_rd_files.R", "test-DiseasystoreBase.R", "test-DiseasystoreEcdcRespitoryViruses.R", "test-DiseasystoreGoogleCovid19.R", ... Needs: "_problems/test-0_linters-51.R" [ FAIL 2 | WARN 0 | SKIP 12 | PASS 722 ] Error: ! Test failures. Warning messages: 1: In connection_release(conn@ptr) : Already disconnected 2: call dbDisconnect() when finished working with a connection Execution halted