CRAN Package Check Results for Package box.linters

Last updated on 2025-12-09 15:50:28 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.10.6 4.44 61.35 65.79 ERROR
r-devel-linux-x86_64-debian-gcc 0.10.6 2.51 47.70 50.21 ERROR
r-devel-linux-x86_64-fedora-clang 0.10.6 16.00 90.07 106.07 ERROR
r-devel-linux-x86_64-fedora-gcc 0.10.6 26.00 79.66 105.66 ERROR
r-devel-windows-x86_64 0.10.6 6.00 75.00 81.00 ERROR
r-patched-linux-x86_64 0.10.6 5.11 59.02 64.13 ERROR
r-release-linux-x86_64 0.10.6 4.67 58.49 63.16 ERROR
r-release-macos-arm64 0.10.7 OK
r-release-macos-x86_64 0.10.7 5.00 51.00 56.00 OK
r-release-windows-x86_64 0.10.6 7.00 73.00 80.00 ERROR
r-oldrel-macos-arm64 0.10.6 OK
r-oldrel-macos-x86_64 0.10.7 5.00 69.00 74.00 OK
r-oldrel-windows-x86_64 0.10.6 8.00 88.00 96.00 ERROR

Check Details

Version: 0.10.6
Check: tests
Result: ERROR Running ‘testthat.R’ [28s/19s] 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_mod_fun_exists_linter-17.R Saving _problems/test-box_mod_fun_exists_linter-34.R Saving _problems/test-box_mod_fun_exists_linter-52.R Saving _problems/test-box_mod_fun_exists_linter-70.R Saving _problems/test-box_module_usage_halper_functions-26.R Saving _problems/test-box_module_usage_halper_functions-45.R Saving _problems/test-box_module_usage_halper_functions-69.R Saving _problems/test-box_module_usage_halper_functions-87.R Saving _problems/test-box_module_usage_halper_functions-123.R Saving _problems/test-box_module_usage_halper_functions-146.R Saving _problems/test-box_module_usage_halper_functions-167.R Saving _problems/test-box_module_usage_halper_functions-185.R Saving _problems/test-box_module_usage_halper_functions-221.R Saving _problems/test-box_module_usage_halper_functions-246.R Saving _problems/test-box_module_usage_halper_functions-266.R Saving _problems/test-box_module_usage_halper_functions-285.R Saving _problems/test-box_module_usage_halper_functions-307.R Saving _problems/test-box_module_usage_halper_functions-325.R Saving _problems/test-box_module_usage_halper_functions-347.R Saving _problems/test-box_unused_attached_mod_linter-50.R Saving _problems/test-box_unused_attached_mod_linter-170.R Saving _problems/test-box_unused_attached_mod_linter-187.R Saving _problems/test-box_unused_attached_mod_linter-242.R Saving _problems/test-box_unused_attached_mod_linter-259.R Saving _problems/test-box_usage_linter_modules-41.R Saving _problems/test-box_usage_linter_modules-56.R Saving _problems/test-box_usage_linter_modules-71.R Saving _problems/test-box_usage_linter_modules-88.R Saving _problems/test-box_usage_linter-252.R Saving _problems/test-box_usage_linter_r6_modules-43.R Saving _problems/test-box_usage_linter_r6_modules-97.R Saving _problems/test-box_usage_linter_r6_modules-155.R Saving _problems/test-box_usage_linter_r6_modules-209.R Saving _problems/test-box_usage_linter_r6_modules-237.R Saving _problems/test-get_box_module_exports-5.R Saving _problems/test-get_box_module_exports-12.R Saving _problems/test-general-13.R Saving _problems/test-general-44.R Saving _problems/test-general-56.R Saving _problems/test-general-69.R Saving _problems/test-non-syntactic-names-35.R Saving _problems/test-non-syntactic-names-48.R Saving _problems/test-non-syntactic-names-61.R Saving _problems/test-non-syntactic-names-74.R Saving _problems/test-non-syntactic-names-132.R Saving _problems/test-non-syntactic-names-149.R Saving _problems/test-non-syntactic-names-166.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: 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: -------------------------------------------------------------------------------- > 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: app/app_1.R > test-style_box_use.R: main.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: 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: -------------------------------------------------------------------------------- > 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: -------------------------------------------------------------------------------- > test-style_box_use.R: app/app_1.R > test-style_box_use.R: main.R [ FAIL 47 | WARN 2 | SKIP 2 | PASS 378 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • !file.exists(linters_csv_location) is TRUE (2): 'test-linter_tags.R:15:3', 'test-linter_tags.R:25:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-box_mod_fun_exists_linter.R:17:3'): box_mod_fun_exists_linter skips valid moduke-function attachements ── got 4 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d151ba1ecc", line_number = 7, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, a_fun_b],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d151ba1ecc", line_number = 7, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, a_fun_b],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d151ba1ecc", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d151ba1ecc", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:34:3'): box_mod_fun_exists_linter is not affected by aliases ── got 4 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d15508395e4", line_number = 7, column_number = 34, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, a_fun_b],", ranges = list(c(34, 40)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d15508395e4", line_number = 7, column_number = 43, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, a_fun_b],", ranges = list(c(43, 49)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d15508395e4", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d15508395e4", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:52:3'): box_mod_fun_exists_linter blocks functions that do not exist in module ── got 4 lints instead of 1 list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d1517b10839", line_number = 7, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, not_exist],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d1517b10839", line_number = 7, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, not_exist],", ranges = list(c(31, 39)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d1517b10839", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d1517b10839", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:70:3'): box_mod_fun_exists_linter blocks aliased functions that do not exist in module ── got 4 lints instead of 1 list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d1573a0287d", line_number = 7, column_number = 34, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, not_exist],", ranges = list(c(34, 40)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d1573a0287d", line_number = 7, column_number = 43, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, not_exist],", ranges = list(c(43, 51)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d1573a0287d", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d1573a0287d", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Error ('test-box_module_usage_halper_functions.R:26:3'): get_attached_modules returns correct list of imported whole modules ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:26:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:45:3'): get_attached_modules returns correct list of imported whole modules in separate calls ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:45:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:69:3'): get_attached_modules does not return modules imported with '...' ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:69:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:87:3'): get_attached_modules does not return modules imported with functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:87:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:123:3'): get_attached_modules does not return aliased functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:123:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:146:7'): get_attached_modules returns correct list of imported whole modules ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:146:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:167:7'): get_attached_modules does not return modules imported with '...' ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:167:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:185:7'): get_attached_modules does not return modules imported with functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:185:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:221:7'): get_attached_modules does not return aliased functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:221:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:246:3'): get_attached_modules does not return imported packages ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:246:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:266:3'): get_attached_mod_three_dots returns correct list of imported functions ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:266:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:285:5'): get_attached_mod_three_dots returns correct list of imported functions in separate calls ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:285:5 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:307:3'): get_attached_mod_three_dots does not return whole imported modules ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:307:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:325:3'): get_attached_mod_three_dots does not return modules with imported functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:325:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:347:3'): get_attached_mod_three_dots does not return imported packages with three dots ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:347:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Failure ('test-box_unused_attached_mod_linter.R:50:3'): box_unused_mod_linter skips allowed three-dots attached packages ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpxQ3qD2/file304e8f23df122d", line_number = 3, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:170:3'): box_unused_attached_mod_linter skips objects used in glue string templates ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpxQ3qD2/file304e8f469b6c2f", line_number = 6, column_number = 5, type = "warning", message = "Attached module unused.", line = " path/to/module_b,", ranges = list(c(5, 20)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:187:3'): box_unused_attached_mod_linter skips functions used in glue string templates ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpxQ3qD2/file304e8f4aeb0d82", line_number = 6, column_number = 5, type = "warning", message = "Attached module unused.", line = " path/to/module_b,", ranges = list(c(5, 20)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:242:3'): box_unused_attached_mod_linter skips objects used in glue string templates ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpxQ3qD2/file304e8f6274852e", line_number = 6, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:259:3'): box_unused_attached_mod_linter skips functions used in glue string templates ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpxQ3qD2/file304e8f58b16228", line_number = 6, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_usage_linter_modules.R:41:3'): box_usage_linter skips allowed module attachment ── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpxQ3qD2/file304e8f335938ea", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpxQ3qD2/file304e8f335938ea", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_b$b_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:56:3'): box_usage_linter skips allowed module alias attachment ── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpxQ3qD2/file304e8f5856a216", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpxQ3qD2/file304e8f5856a216", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " mod_alias$b_fun_a()", ranges = list(c(3, 19)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:71:3'): box_usage_linter skips allowed module[...] attachment ── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpxQ3qD2/file304e8f1a66f8b8", line_number = 7, column_number = 3, type = "warning", message = "Function not imported nor defined.", line = " a_fun_a()", ranges = list(c(3, 9)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpxQ3qD2/file304e8f1a66f8b8", line_number = 8, column_number = 3, type = "warning", message = "Function not imported nor defined.", line = " c_fun_a()", ranges = list(c(3, 9)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:88:3'): box_usage_linter blocks package functions exported by module ── got 2 lints instead of 1 list(filename = "/home/hornik/tmp/scratch/RtmpxQ3qD2/file304e8f22430786", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpxQ3qD2/file304e8f22430786", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_b$not_exist()", ranges = list(c(3, 20)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter.R:252:3'): box_usage_linter skips function lists declared in function signature ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d1531b5d99c", line_number = 7, column_number = 7, type = "warning", message = "<package/module>$function does not exist.", line = " module_e$summary(data$summary())", ranges = list(c(7, 22)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:43:3'): box_usage_linter skips allowed whole-module-imported R6 object instantiation ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d154ed1bf00", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:97:5'): box_usage_linter skips allowed dynamically added data members to whole-module-imported R6 class ── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d155e478751", line_number = 5, column_number = 5, type = "warning", message = "<package/module>$function does not exist.", line = " module_r6$some_class$set(\"public\", \"x\", 10)", ranges = list(c(5, 28)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d155e478751", line_number = 6, column_number = 10, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(10, 33)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:155:5'): box_usage_linter skips allowed dynamically added data members to whole-module-imported R6 class ── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d1573949e9", line_number = 5, column_number = 5, type = "warning", message = "<package/module>$function does not exist.", line = " module_r6$some_class$set(\"public\", \"x\", function() {", ranges = list(c(5, 28)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d1573949e9", line_number = 8, column_number = 10, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(10, 33)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:209:3'): box_usage_linter skips allowed whole-module-imported R6 object cloning ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d1573373b54", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:237:3'): box_usage_linter skips allowed whole-module-imported aliased R6 object instantiation ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d15778a6a3", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- mod_alias$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Error ('test-get_box_module_exports.R:5:3'): get_box_module_exports returns correct list of exported functions ── Error in `get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default)`: use of NULL environment is defunct Backtrace: ▆ 1. └─box.linters:::get_box_module_exports(module) at test-get_box_module_exports.R:5:3 2. └─box:::namespace_info(mod_ns, "exports") 3. └─base::get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default) ── Error ('test-get_box_module_exports.R:12:3'): get_box_module_exports returns correct list of exported data objects ── Error in `get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default)`: use of NULL environment is defunct Backtrace: ▆ 1. └─box.linters:::get_box_module_exports(module) at test-get_box_module_exports.R:12:3 2. └─box:::namespace_info(mod_ns, "exports") 3. └─base::get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default) ── Failure ('test-general.R:13:3'): Should skip columns in dplyr commands ────── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpxQ3qD2/file304e8f1e48cc7d", 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/RtmpxQ3qD2/file304e8f1e48cc7d", 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-general.R:44:3'): Should allow modules with nothing exported, and assume all exported - namespaced. ── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpxQ3qD2/file304e8f2b8edfa3", line_number = 5, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "module_all$all_fun_a()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpxQ3qD2/file304e8f2b8edfa3", line_number = 6, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "module_all$all_fun_c()", ranges = list(c(1, 20)), linter = "box_usage_linter") ── Failure ('test-general.R:56:3'): Should allow modules with nothing exported, and assume all exported - function ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpxQ3qD2/file304e8f734e7cc1", line_number = 2, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_all[all_fun_a]", ranges = list(c(22, 30)), linter = "box_mod_fun_exists_linter") ── Failure ('test-general.R:69:3'): Should allow modules with nothing exported, and assume all exported - dots. ── got 3 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpxQ3qD2/file304e8f3f8a2bfd", line_number = 2, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_all[...]", ranges = list(c(3, 25)), linter = "box_unused_attached_mod_linter") list(filename = "/home/hornik/tmp/scratch/RtmpxQ3qD2/file304e8f3f8a2bfd", line_number = 5, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "all_fun_a()", ranges = list(c(1, 9)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpxQ3qD2/file304e8f3f8a2bfd", line_number = 6, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "all_fun_c()", ranges = list(c(1, 9)), linter = "box_usage_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/RtmpElSIGA/file304d155776d2b", 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") ── Failure ('test-non-syntactic-names.R:48:3'): Should skip allowed non-syntactic names: module special ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d1517194bfa", line_number = 3, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_nonsyntactic[`%--%`],", ranges = list(c(31, 36)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:61:3'): Should skip allowed non-syntactic names: module function ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d15147ad66b", line_number = 3, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_nonsyntactic[`01_function`],", ranges = list(c(31, 43)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:74:3'): Should skip allowed non-syntactic names: module function three dots ── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d1519e86d97", line_number = 3, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_nonsyntactic[...],", ranges = list(c(3, 34)), linter = "box_unused_attached_mod_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d1519e86d97", line_number = 6, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`01_function`()", ranges = list(c(1, 13)), linter = "box_usage_linter") ── Failure ('test-non-syntactic-names.R:132:3'): Should skip allowed non-syntactic names: modules three-dots ── got 6 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d1541526030", line_number = 3, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/`01_module`[...],", ranges = list(c(3, 26)), linter = "box_unused_attached_mod_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d1541526030", line_number = 4, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/`__module__`[...],", ranges = list(c(3, 27)), linter = "box_unused_attached_mod_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d1541526030", line_number = 7, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "a_fun_a()", ranges = list(c(1, 7)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d1541526030", line_number = 8, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`01_fun`()", ranges = list(c(1, 8)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d1541526030", line_number = 9, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "b_fun_a()", ranges = list(c(1, 7)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d1541526030", line_number = 10, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`02_fun`()", ranges = list(c(1, 8)), linter = "box_usage_linter") ── Failure ('test-non-syntactic-names.R:149:3'): Should skip allowed non-syntactic names: modules functions ── got 4 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d15544f9a42", line_number = 3, column_number = 23, type = "warning", message = "Function not exported by module.", line = " path/to/`01_module`[a_fun_a, `01_fun`],", ranges = list(c(23, 29)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d15544f9a42", line_number = 3, column_number = 32, type = "warning", message = "Function not exported by module.", line = " path/to/`01_module`[a_fun_a, `01_fun`],", ranges = list(c(32, 39)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d15544f9a42", line_number = 4, column_number = 24, type = "warning", message = "Function not exported by module.", line = " path/to/`__module__`[b_fun_a, `02_fun`],", ranges = list(c(24, 30)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d15544f9a42", line_number = 4, column_number = 33, type = "warning", message = "Function not exported by module.", line = " path/to/`__module__`[b_fun_a, `02_fun`],", ranges = list(c(33, 40)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:166:3'): Should skip allowed non-syntactic names: modules ── got 4 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d15332ad28a", line_number = 7, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`01_module`$a_fun_a()", ranges = list(c(1, 19)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d15332ad28a", line_number = 8, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`01_module`$`01_fun`()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d15332ad28a", line_number = 9, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`__module__`$b_fun_a()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpElSIGA/file304d15332ad28a", line_number = 10, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`__module__`$`02_fun`()", ranges = list(c(1, 21)), linter = "box_usage_linter") [ FAIL 47 | WARN 2 | SKIP 2 | PASS 378 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.10.6
Check: tests
Result: ERROR Running ‘testthat.R’ [22s/13s] 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_mod_fun_exists_linter-17.R Saving _problems/test-box_mod_fun_exists_linter-34.R Saving _problems/test-box_mod_fun_exists_linter-52.R Saving _problems/test-box_mod_fun_exists_linter-70.R Saving _problems/test-box_module_usage_halper_functions-26.R Saving _problems/test-box_module_usage_halper_functions-45.R Saving _problems/test-box_module_usage_halper_functions-69.R Saving _problems/test-box_module_usage_halper_functions-87.R Saving _problems/test-box_module_usage_halper_functions-123.R Saving _problems/test-box_module_usage_halper_functions-146.R Saving _problems/test-box_module_usage_halper_functions-167.R Saving _problems/test-box_module_usage_halper_functions-185.R Saving _problems/test-box_module_usage_halper_functions-221.R Saving _problems/test-box_module_usage_halper_functions-246.R Saving _problems/test-box_module_usage_halper_functions-266.R Saving _problems/test-box_module_usage_halper_functions-285.R Saving _problems/test-box_module_usage_halper_functions-307.R Saving _problems/test-box_module_usage_halper_functions-325.R Saving _problems/test-box_module_usage_halper_functions-347.R Saving _problems/test-box_unused_attached_mod_linter-50.R Saving _problems/test-box_unused_attached_mod_linter-170.R Saving _problems/test-box_unused_attached_mod_linter-187.R Saving _problems/test-box_unused_attached_mod_linter-242.R Saving _problems/test-box_unused_attached_mod_linter-259.R Saving _problems/test-box_usage_linter-252.R Saving _problems/test-box_usage_linter_modules-41.R Saving _problems/test-box_usage_linter_modules-56.R Saving _problems/test-box_usage_linter_modules-71.R Saving _problems/test-box_usage_linter_modules-88.R Saving _problems/test-box_usage_linter_r6_modules-43.R Saving _problems/test-box_usage_linter_r6_modules-97.R Saving _problems/test-box_usage_linter_r6_modules-155.R Saving _problems/test-box_usage_linter_r6_modules-209.R Saving _problems/test-box_usage_linter_r6_modules-237.R Saving _problems/test-get_box_module_exports-5.R Saving _problems/test-get_box_module_exports-12.R Saving _problems/test-general-13.R Saving _problems/test-general-44.R Saving _problems/test-general-56.R Saving _problems/test-general-69.R Saving _problems/test-non-syntactic-names-35.R Saving _problems/test-non-syntactic-names-48.R Saving _problems/test-non-syntactic-names-61.R Saving _problems/test-non-syntactic-names-74.R Saving _problems/test-non-syntactic-names-132.R Saving _problems/test-non-syntactic-names-149.R Saving _problems/test-non-syntactic-names-166.R > test-style_box_use.R: i No `box::use()` calls found. No changes were made to the text. > 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: Nothing to modify in `app_1.R`. > test-style_box_use.R: Modified the following files: > 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: app/app_1.R > test-style_box_use.R: main.R > test-style_box_use.R: Modified the following files: > 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: app/app_1.R > test-style_box_use.R: main.R > test-style_box_use.R: Modified the following files: > test-style_box_use.R: app/app_1.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: main.R > test-style_box_use.R: Modified the following files: > 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: app/app_1.R > test-style_box_use.R: main.R > test-style_box_use.R: Modified the following files: > 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: -------------------------------------------------------------------------------- > test-style_box_use.R: app/app_1.R > test-style_box_use.R: main.R [ FAIL 47 | WARN 2 | SKIP 2 | PASS 378 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • !file.exists(linters_csv_location) is TRUE (2): 'test-linter_tags.R:15:3', 'test-linter_tags.R:25:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-box_mod_fun_exists_linter.R:17:3'): box_mod_fun_exists_linter skips valid moduke-function attachements ── got 4 lints instead of 0 list(filename = "/tmp/RtmpcfuPMB/filecc5bc4401d73a", line_number = 7, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, a_fun_b],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpcfuPMB/filecc5bc4401d73a", line_number = 7, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, a_fun_b],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpcfuPMB/filecc5bc4401d73a", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpcfuPMB/filecc5bc4401d73a", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:34:3'): box_mod_fun_exists_linter is not affected by aliases ── got 4 lints instead of 0 list(filename = "/tmp/RtmpcfuPMB/filecc5bc7fce180c", line_number = 7, column_number = 34, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, a_fun_b],", ranges = list(c(34, 40)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpcfuPMB/filecc5bc7fce180c", line_number = 7, column_number = 43, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, a_fun_b],", ranges = list(c(43, 49)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpcfuPMB/filecc5bc7fce180c", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpcfuPMB/filecc5bc7fce180c", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:52:3'): box_mod_fun_exists_linter blocks functions that do not exist in module ── got 4 lints instead of 1 list(filename = "/tmp/RtmpcfuPMB/filecc5bc1a5d0d99", line_number = 7, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, not_exist],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpcfuPMB/filecc5bc1a5d0d99", line_number = 7, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, not_exist],", ranges = list(c(31, 39)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpcfuPMB/filecc5bc1a5d0d99", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpcfuPMB/filecc5bc1a5d0d99", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:70:3'): box_mod_fun_exists_linter blocks aliased functions that do not exist in module ── got 4 lints instead of 1 list(filename = "/tmp/RtmpcfuPMB/filecc5bcd160d5a", line_number = 7, column_number = 34, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, not_exist],", ranges = list(c(34, 40)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpcfuPMB/filecc5bcd160d5a", line_number = 7, column_number = 43, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, not_exist],", ranges = list(c(43, 51)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpcfuPMB/filecc5bcd160d5a", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpcfuPMB/filecc5bcd160d5a", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Error ('test-box_module_usage_halper_functions.R:26:3'): get_attached_modules returns correct list of imported whole modules ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:26:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:45:3'): get_attached_modules returns correct list of imported whole modules in separate calls ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:45:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:69:3'): get_attached_modules does not return modules imported with '...' ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:69:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:87:3'): get_attached_modules does not return modules imported with functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:87:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:123:3'): get_attached_modules does not return aliased functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:123:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:146:7'): get_attached_modules returns correct list of imported whole modules ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:146:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:167:7'): get_attached_modules does not return modules imported with '...' ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:167:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:185:7'): get_attached_modules does not return modules imported with functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:185:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:221:7'): get_attached_modules does not return aliased functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:221:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:246:3'): get_attached_modules does not return imported packages ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:246:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:266:3'): get_attached_mod_three_dots returns correct list of imported functions ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:266:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:285:5'): get_attached_mod_three_dots returns correct list of imported functions in separate calls ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:285:5 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:307:3'): get_attached_mod_three_dots does not return whole imported modules ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:307:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:325:3'): get_attached_mod_three_dots does not return modules with imported functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:325:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:347:3'): get_attached_mod_three_dots does not return imported packages with three dots ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:347:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Failure ('test-box_unused_attached_mod_linter.R:50:3'): box_unused_mod_linter skips allowed three-dots attached packages ── got 1 lints instead of 0 list(filename = "/tmp/RtmpJcpK09/filecc69f7943bdea", line_number = 3, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:170:3'): box_unused_attached_mod_linter skips objects used in glue string templates ── got 1 lints instead of 0 list(filename = "/tmp/RtmpJcpK09/filecc69f1051468f", line_number = 6, column_number = 5, type = "warning", message = "Attached module unused.", line = " path/to/module_b,", ranges = list(c(5, 20)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:187:3'): box_unused_attached_mod_linter skips functions used in glue string templates ── got 1 lints instead of 0 list(filename = "/tmp/RtmpJcpK09/filecc69f60cf4699", line_number = 6, column_number = 5, type = "warning", message = "Attached module unused.", line = " path/to/module_b,", ranges = list(c(5, 20)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:242:3'): box_unused_attached_mod_linter skips objects used in glue string templates ── got 1 lints instead of 0 list(filename = "/tmp/RtmpJcpK09/filecc69f482fd906", line_number = 6, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:259:3'): box_unused_attached_mod_linter skips functions used in glue string templates ── got 1 lints instead of 0 list(filename = "/tmp/RtmpJcpK09/filecc69f44cf49e1", line_number = 6, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_usage_linter.R:252:3'): box_usage_linter skips function lists declared in function signature ── got 1 lints instead of 0 list(filename = "/tmp/RtmpcfuPMB/filecc5bc12e2162d", line_number = 7, column_number = 7, type = "warning", message = "<package/module>$function does not exist.", line = " module_e$summary(data$summary())", ranges = list(c(7, 22)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:41:3'): box_usage_linter skips allowed module attachment ── got 2 lints instead of 0 list(filename = "/tmp/RtmpJcpK09/filecc69f6b2d6e2f", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "/tmp/RtmpJcpK09/filecc69f6b2d6e2f", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_b$b_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:56:3'): box_usage_linter skips allowed module alias attachment ── got 2 lints instead of 0 list(filename = "/tmp/RtmpJcpK09/filecc69f371f1e7f", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "/tmp/RtmpJcpK09/filecc69f371f1e7f", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " mod_alias$b_fun_a()", ranges = list(c(3, 19)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:71:3'): box_usage_linter skips allowed module[...] attachment ── got 2 lints instead of 0 list(filename = "/tmp/RtmpJcpK09/filecc69f147c9ae2", line_number = 7, column_number = 3, type = "warning", message = "Function not imported nor defined.", line = " a_fun_a()", ranges = list(c(3, 9)), linter = "box_usage_linter") list(filename = "/tmp/RtmpJcpK09/filecc69f147c9ae2", line_number = 8, column_number = 3, type = "warning", message = "Function not imported nor defined.", line = " c_fun_a()", ranges = list(c(3, 9)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:88:3'): box_usage_linter blocks package functions exported by module ── got 2 lints instead of 1 list(filename = "/tmp/RtmpJcpK09/filecc69f3ca20c75", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "/tmp/RtmpJcpK09/filecc69f3ca20c75", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_b$not_exist()", ranges = list(c(3, 20)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:43:3'): box_usage_linter skips allowed whole-module-imported R6 object instantiation ── got 1 lints instead of 0 list(filename = "/tmp/RtmpJcpK09/filecc69f31d3cb9f", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:97:5'): box_usage_linter skips allowed dynamically added data members to whole-module-imported R6 class ── got 2 lints instead of 0 list(filename = "/tmp/RtmpJcpK09/filecc69f49b1861", line_number = 5, column_number = 5, type = "warning", message = "<package/module>$function does not exist.", line = " module_r6$some_class$set(\"public\", \"x\", 10)", ranges = list(c(5, 28)), linter = "box_usage_linter") list(filename = "/tmp/RtmpJcpK09/filecc69f49b1861", line_number = 6, column_number = 10, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(10, 33)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:155:5'): box_usage_linter skips allowed dynamically added data members to whole-module-imported R6 class ── got 2 lints instead of 0 list(filename = "/tmp/RtmpJcpK09/filecc69f7b1f7057", line_number = 5, column_number = 5, type = "warning", message = "<package/module>$function does not exist.", line = " module_r6$some_class$set(\"public\", \"x\", function() {", ranges = list(c(5, 28)), linter = "box_usage_linter") list(filename = "/tmp/RtmpJcpK09/filecc69f7b1f7057", line_number = 8, column_number = 10, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(10, 33)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:209:3'): box_usage_linter skips allowed whole-module-imported R6 object cloning ── got 1 lints instead of 0 list(filename = "/tmp/RtmpJcpK09/filecc69f309340f6", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:237:3'): box_usage_linter skips allowed whole-module-imported aliased R6 object instantiation ── got 1 lints instead of 0 list(filename = "/tmp/RtmpJcpK09/filecc69f103c5a39", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- mod_alias$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Error ('test-get_box_module_exports.R:5:3'): get_box_module_exports returns correct list of exported functions ── Error in `get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default)`: use of NULL environment is defunct Backtrace: ▆ 1. └─box.linters:::get_box_module_exports(module) at test-get_box_module_exports.R:5:3 2. └─box:::namespace_info(mod_ns, "exports") 3. └─base::get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default) ── Error ('test-get_box_module_exports.R:12:3'): get_box_module_exports returns correct list of exported data objects ── Error in `get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default)`: use of NULL environment is defunct Backtrace: ▆ 1. └─box.linters:::get_box_module_exports(module) at test-get_box_module_exports.R:12:3 2. └─box:::namespace_info(mod_ns, "exports") 3. └─base::get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default) ── Failure ('test-general.R:13:3'): Should skip columns in dplyr commands ────── got 2 lints instead of 0 list(filename = "/tmp/RtmpcfuPMB/filecc5bc19f9e891", 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 = "/tmp/RtmpcfuPMB/filecc5bc19f9e891", 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-general.R:44:3'): Should allow modules with nothing exported, and assume all exported - namespaced. ── got 2 lints instead of 0 list(filename = "/tmp/RtmpcfuPMB/filecc5bc24aeeb6d", line_number = 5, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "module_all$all_fun_a()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "/tmp/RtmpcfuPMB/filecc5bc24aeeb6d", line_number = 6, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "module_all$all_fun_c()", ranges = list(c(1, 20)), linter = "box_usage_linter") ── Failure ('test-general.R:56:3'): Should allow modules with nothing exported, and assume all exported - function ── got 1 lints instead of 0 list(filename = "/tmp/RtmpcfuPMB/filecc5bc6f6e7659", line_number = 2, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_all[all_fun_a]", ranges = list(c(22, 30)), linter = "box_mod_fun_exists_linter") ── Failure ('test-general.R:69:3'): Should allow modules with nothing exported, and assume all exported - dots. ── got 3 lints instead of 0 list(filename = "/tmp/RtmpcfuPMB/filecc5bc202c696e", line_number = 2, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_all[...]", ranges = list(c(3, 25)), linter = "box_unused_attached_mod_linter") list(filename = "/tmp/RtmpcfuPMB/filecc5bc202c696e", line_number = 5, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "all_fun_a()", ranges = list(c(1, 9)), linter = "box_usage_linter") list(filename = "/tmp/RtmpcfuPMB/filecc5bc202c696e", line_number = 6, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "all_fun_c()", ranges = list(c(1, 9)), linter = "box_usage_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 = "/tmp/RtmpJcpK09/filecc69f2178ff6b", 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") ── Failure ('test-non-syntactic-names.R:48:3'): Should skip allowed non-syntactic names: module special ── got 1 lints instead of 0 list(filename = "/tmp/RtmpJcpK09/filecc69f16125ef4", line_number = 3, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_nonsyntactic[`%--%`],", ranges = list(c(31, 36)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:61:3'): Should skip allowed non-syntactic names: module function ── got 1 lints instead of 0 list(filename = "/tmp/RtmpJcpK09/filecc69f3fe9e10", line_number = 3, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_nonsyntactic[`01_function`],", ranges = list(c(31, 43)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:74:3'): Should skip allowed non-syntactic names: module function three dots ── got 2 lints instead of 0 list(filename = "/tmp/RtmpJcpK09/filecc69f7a94ceaf", line_number = 3, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_nonsyntactic[...],", ranges = list(c(3, 34)), linter = "box_unused_attached_mod_linter") list(filename = "/tmp/RtmpJcpK09/filecc69f7a94ceaf", line_number = 6, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`01_function`()", ranges = list(c(1, 13)), linter = "box_usage_linter") ── Failure ('test-non-syntactic-names.R:132:3'): Should skip allowed non-syntactic names: modules three-dots ── got 6 lints instead of 0 list(filename = "/tmp/RtmpJcpK09/filecc69f213238cd", line_number = 3, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/`01_module`[...],", ranges = list(c(3, 26)), linter = "box_unused_attached_mod_linter") list(filename = "/tmp/RtmpJcpK09/filecc69f213238cd", line_number = 4, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/`__module__`[...],", ranges = list(c(3, 27)), linter = "box_unused_attached_mod_linter") list(filename = "/tmp/RtmpJcpK09/filecc69f213238cd", line_number = 7, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "a_fun_a()", ranges = list(c(1, 7)), linter = "box_usage_linter") list(filename = "/tmp/RtmpJcpK09/filecc69f213238cd", line_number = 8, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`01_fun`()", ranges = list(c(1, 8)), linter = "box_usage_linter") list(filename = "/tmp/RtmpJcpK09/filecc69f213238cd", line_number = 9, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "b_fun_a()", ranges = list(c(1, 7)), linter = "box_usage_linter") list(filename = "/tmp/RtmpJcpK09/filecc69f213238cd", line_number = 10, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`02_fun`()", ranges = list(c(1, 8)), linter = "box_usage_linter") ── Failure ('test-non-syntactic-names.R:149:3'): Should skip allowed non-syntactic names: modules functions ── got 4 lints instead of 0 list(filename = "/tmp/RtmpJcpK09/filecc69f939f588", line_number = 3, column_number = 23, type = "warning", message = "Function not exported by module.", line = " path/to/`01_module`[a_fun_a, `01_fun`],", ranges = list(c(23, 29)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpJcpK09/filecc69f939f588", line_number = 3, column_number = 32, type = "warning", message = "Function not exported by module.", line = " path/to/`01_module`[a_fun_a, `01_fun`],", ranges = list(c(32, 39)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpJcpK09/filecc69f939f588", line_number = 4, column_number = 24, type = "warning", message = "Function not exported by module.", line = " path/to/`__module__`[b_fun_a, `02_fun`],", ranges = list(c(24, 30)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpJcpK09/filecc69f939f588", line_number = 4, column_number = 33, type = "warning", message = "Function not exported by module.", line = " path/to/`__module__`[b_fun_a, `02_fun`],", ranges = list(c(33, 40)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:166:3'): Should skip allowed non-syntactic names: modules ── got 4 lints instead of 0 list(filename = "/tmp/RtmpJcpK09/filecc69f23e73ce2", line_number = 7, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`01_module`$a_fun_a()", ranges = list(c(1, 19)), linter = "box_usage_linter") list(filename = "/tmp/RtmpJcpK09/filecc69f23e73ce2", line_number = 8, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`01_module`$`01_fun`()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "/tmp/RtmpJcpK09/filecc69f23e73ce2", line_number = 9, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`__module__`$b_fun_a()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "/tmp/RtmpJcpK09/filecc69f23e73ce2", line_number = 10, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`__module__`$`02_fun`()", ranges = list(c(1, 21)), linter = "box_usage_linter") [ FAIL 47 | WARN 2 | SKIP 2 | PASS 378 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.10.6
Check: tests
Result: ERROR Running ‘testthat.R’ [46s/39s] 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_mod_fun_exists_linter-17.R Saving _problems/test-box_mod_fun_exists_linter-34.R Saving _problems/test-box_mod_fun_exists_linter-52.R Saving _problems/test-box_mod_fun_exists_linter-70.R Saving _problems/test-box_module_usage_halper_functions-26.R Saving _problems/test-box_module_usage_halper_functions-45.R Saving _problems/test-box_module_usage_halper_functions-69.R Saving _problems/test-box_module_usage_halper_functions-87.R Saving _problems/test-box_module_usage_halper_functions-123.R Saving _problems/test-box_module_usage_halper_functions-146.R Saving _problems/test-box_module_usage_halper_functions-167.R Saving _problems/test-box_module_usage_halper_functions-185.R Saving _problems/test-box_module_usage_halper_functions-221.R Saving _problems/test-box_module_usage_halper_functions-246.R Saving _problems/test-box_module_usage_halper_functions-266.R Saving _problems/test-box_module_usage_halper_functions-285.R Saving _problems/test-box_module_usage_halper_functions-307.R Saving _problems/test-box_module_usage_halper_functions-325.R Saving _problems/test-box_module_usage_halper_functions-347.R Saving _problems/test-box_unused_attached_mod_linter-50.R Saving _problems/test-box_unused_attached_mod_linter-170.R Saving _problems/test-box_unused_attached_mod_linter-187.R Saving _problems/test-box_unused_attached_mod_linter-242.R Saving _problems/test-box_unused_attached_mod_linter-259.R Saving _problems/test-box_usage_linter_modules-41.R Saving _problems/test-box_usage_linter_modules-56.R Saving _problems/test-box_usage_linter_modules-71.R Saving _problems/test-box_usage_linter_modules-88.R Saving _problems/test-box_usage_linter-252.R Saving _problems/test-box_usage_linter_r6_modules-43.R Saving _problems/test-box_usage_linter_r6_modules-97.R Saving _problems/test-box_usage_linter_r6_modules-155.R Saving _problems/test-box_usage_linter_r6_modules-209.R Saving _problems/test-box_usage_linter_r6_modules-237.R Saving _problems/test-get_box_module_exports-5.R Saving _problems/test-get_box_module_exports-12.R Saving _problems/test-general-13.R Saving _problems/test-general-44.R Saving _problems/test-general-56.R Saving _problems/test-general-69.R Saving _problems/test-non-syntactic-names-35.R Saving _problems/test-non-syntactic-names-48.R Saving _problems/test-non-syntactic-names-61.R Saving _problems/test-non-syntactic-names-74.R Saving _problems/test-non-syntactic-names-132.R Saving _problems/test-non-syntactic-names-149.R Saving _problems/test-non-syntactic-names-166.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: 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: 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 47 | WARN 2 | SKIP 0 | PASS 381 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-box_mod_fun_exists_linter.R:17:3'): box_mod_fun_exists_linter skips valid moduke-function attachements ── got 4 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e2846d0be", line_number = 7, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, a_fun_b],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e2846d0be", line_number = 7, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, a_fun_b],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e2846d0be", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e2846d0be", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:34:3'): box_mod_fun_exists_linter is not affected by aliases ── got 4 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e711d961f", line_number = 7, column_number = 34, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, a_fun_b],", ranges = list(c(34, 40)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e711d961f", line_number = 7, column_number = 43, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, a_fun_b],", ranges = list(c(43, 49)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e711d961f", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e711d961f", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:52:3'): box_mod_fun_exists_linter blocks functions that do not exist in module ── got 4 lints instead of 1 list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e3b0e7c43", line_number = 7, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, not_exist],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e3b0e7c43", line_number = 7, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, not_exist],", ranges = list(c(31, 39)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e3b0e7c43", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e3b0e7c43", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:70:3'): box_mod_fun_exists_linter blocks aliased functions that do not exist in module ── got 4 lints instead of 1 list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e6f1bcbe8", line_number = 7, column_number = 34, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, not_exist],", ranges = list(c(34, 40)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e6f1bcbe8", line_number = 7, column_number = 43, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, not_exist],", ranges = list(c(43, 51)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e6f1bcbe8", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e6f1bcbe8", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Error ('test-box_module_usage_halper_functions.R:26:3'): get_attached_modules returns correct list of imported whole modules ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:26:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:45:3'): get_attached_modules returns correct list of imported whole modules in separate calls ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:45:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:69:3'): get_attached_modules does not return modules imported with '...' ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:69:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:87:3'): get_attached_modules does not return modules imported with functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:87:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:123:3'): get_attached_modules does not return aliased functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:123:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:146:7'): get_attached_modules returns correct list of imported whole modules ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:146:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:167:7'): get_attached_modules does not return modules imported with '...' ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:167:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:185:7'): get_attached_modules does not return modules imported with functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:185:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:221:7'): get_attached_modules does not return aliased functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:221:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:246:3'): get_attached_modules does not return imported packages ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:246:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:266:3'): get_attached_mod_three_dots returns correct list of imported functions ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:266:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:285:5'): get_attached_mod_three_dots returns correct list of imported functions in separate calls ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:285:5 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:307:3'): get_attached_mod_three_dots does not return whole imported modules ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:307:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:325:3'): get_attached_mod_three_dots does not return modules with imported functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:325:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:347:3'): get_attached_mod_three_dots does not return imported packages with three dots ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:347:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Failure ('test-box_unused_attached_mod_linter.R:50:3'): box_unused_mod_linter skips allowed three-dots attached packages ── got 1 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/Rtmp7a0ri2/file1c569e3aae8ba2", line_number = 3, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:170:3'): box_unused_attached_mod_linter skips objects used in glue string templates ── got 1 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/Rtmp7a0ri2/file1c569e45bd8905", line_number = 6, column_number = 5, type = "warning", message = "Attached module unused.", line = " path/to/module_b,", ranges = list(c(5, 20)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:187:3'): box_unused_attached_mod_linter skips functions used in glue string templates ── got 1 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/Rtmp7a0ri2/file1c569e62efa618", line_number = 6, column_number = 5, type = "warning", message = "Attached module unused.", line = " path/to/module_b,", ranges = list(c(5, 20)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:242:3'): box_unused_attached_mod_linter skips objects used in glue string templates ── got 1 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/Rtmp7a0ri2/file1c569e12400d11", line_number = 6, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:259:3'): box_unused_attached_mod_linter skips functions used in glue string templates ── got 1 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/Rtmp7a0ri2/file1c569e20824cb3", line_number = 6, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_usage_linter_modules.R:41:3'): box_usage_linter skips allowed module attachment ── got 2 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e647b625", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e647b625", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_b$b_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:56:3'): box_usage_linter skips allowed module alias attachment ── got 2 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e1d4a3164", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e1d4a3164", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " mod_alias$b_fun_a()", ranges = list(c(3, 19)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:71:3'): box_usage_linter skips allowed module[...] attachment ── got 2 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e15b21a68", line_number = 7, column_number = 3, type = "warning", message = "Function not imported nor defined.", line = " a_fun_a()", ranges = list(c(3, 9)), linter = "box_usage_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e15b21a68", line_number = 8, column_number = 3, type = "warning", message = "Function not imported nor defined.", line = " c_fun_a()", ranges = list(c(3, 9)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:88:3'): box_usage_linter blocks package functions exported by module ── got 2 lints instead of 1 list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e7f72d2bb", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e7f72d2bb", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_b$not_exist()", ranges = list(c(3, 20)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter.R:252:3'): box_usage_linter skips function lists declared in function signature ── got 1 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/Rtmp7a0ri2/file1c569e6c424ca8", line_number = 7, column_number = 7, type = "warning", message = "<package/module>$function does not exist.", line = " module_e$summary(data$summary())", ranges = list(c(7, 22)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:43:3'): box_usage_linter skips allowed whole-module-imported R6 object instantiation ── got 1 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/Rtmp7a0ri2/file1c569e152f0b85", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:97:5'): box_usage_linter skips allowed dynamically added data members to whole-module-imported R6 class ── got 2 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/Rtmp7a0ri2/file1c569e68f20c2", line_number = 5, column_number = 5, type = "warning", message = "<package/module>$function does not exist.", line = " module_r6$some_class$set(\"public\", \"x\", 10)", ranges = list(c(5, 28)), linter = "box_usage_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/Rtmp7a0ri2/file1c569e68f20c2", line_number = 6, column_number = 10, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(10, 33)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:155:5'): box_usage_linter skips allowed dynamically added data members to whole-module-imported R6 class ── got 2 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/Rtmp7a0ri2/file1c569e771768cc", line_number = 5, column_number = 5, type = "warning", message = "<package/module>$function does not exist.", line = " module_r6$some_class$set(\"public\", \"x\", function() {", ranges = list(c(5, 28)), linter = "box_usage_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/Rtmp7a0ri2/file1c569e771768cc", line_number = 8, column_number = 10, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(10, 33)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:209:3'): box_usage_linter skips allowed whole-module-imported R6 object cloning ── got 1 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/Rtmp7a0ri2/file1c569e2d9cdd4", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:237:3'): box_usage_linter skips allowed whole-module-imported aliased R6 object instantiation ── got 1 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/Rtmp7a0ri2/file1c569e20060b5", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- mod_alias$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Error ('test-get_box_module_exports.R:5:3'): get_box_module_exports returns correct list of exported functions ── Error in `get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default)`: use of NULL environment is defunct Backtrace: ▆ 1. └─box.linters:::get_box_module_exports(module) at test-get_box_module_exports.R:5:3 2. └─box:::namespace_info(mod_ns, "exports") 3. └─base::get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default) ── Error ('test-get_box_module_exports.R:12:3'): get_box_module_exports returns correct list of exported data objects ── Error in `get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default)`: use of NULL environment is defunct Backtrace: ▆ 1. └─box.linters:::get_box_module_exports(module) at test-get_box_module_exports.R:12:3 2. └─box:::namespace_info(mod_ns, "exports") 3. └─base::get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default) ── Failure ('test-general.R:13:3'): Should skip columns in dplyr commands ────── got 2 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e5340afa0", 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 = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e5340afa0", 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-general.R:44:3'): Should allow modules with nothing exported, and assume all exported - namespaced. ── got 2 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e3ccd096b", line_number = 5, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "module_all$all_fun_a()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e3ccd096b", line_number = 6, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "module_all$all_fun_c()", ranges = list(c(1, 20)), linter = "box_usage_linter") ── Failure ('test-general.R:56:3'): Should allow modules with nothing exported, and assume all exported - function ── got 1 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e29d408ea", line_number = 2, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_all[all_fun_a]", ranges = list(c(22, 30)), linter = "box_mod_fun_exists_linter") ── Failure ('test-general.R:69:3'): Should allow modules with nothing exported, and assume all exported - dots. ── got 3 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e67554570", line_number = 2, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_all[...]", ranges = list(c(3, 25)), linter = "box_unused_attached_mod_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e67554570", line_number = 5, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "all_fun_a()", ranges = list(c(1, 9)), linter = "box_usage_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e67554570", line_number = 6, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "all_fun_c()", ranges = list(c(1, 9)), linter = "box_usage_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 = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e7c8b1b2", 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") ── Failure ('test-non-syntactic-names.R:48:3'): Should skip allowed non-syntactic names: module special ── got 1 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e754a8f9d", line_number = 3, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_nonsyntactic[`%--%`],", ranges = list(c(31, 36)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:61:3'): Should skip allowed non-syntactic names: module function ── got 1 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e218112bb", line_number = 3, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_nonsyntactic[`01_function`],", ranges = list(c(31, 43)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:74:3'): Should skip allowed non-syntactic names: module function three dots ── got 2 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e606033e6", line_number = 3, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_nonsyntactic[...],", ranges = list(c(3, 34)), linter = "box_unused_attached_mod_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e606033e6", line_number = 6, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`01_function`()", ranges = list(c(1, 13)), linter = "box_usage_linter") ── Failure ('test-non-syntactic-names.R:132:3'): Should skip allowed non-syntactic names: modules three-dots ── got 6 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e36f0a580", line_number = 3, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/`01_module`[...],", ranges = list(c(3, 26)), linter = "box_unused_attached_mod_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e36f0a580", line_number = 4, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/`__module__`[...],", ranges = list(c(3, 27)), linter = "box_unused_attached_mod_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e36f0a580", line_number = 7, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "a_fun_a()", ranges = list(c(1, 7)), linter = "box_usage_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e36f0a580", line_number = 8, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`01_fun`()", ranges = list(c(1, 8)), linter = "box_usage_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e36f0a580", line_number = 9, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "b_fun_a()", ranges = list(c(1, 7)), linter = "box_usage_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e36f0a580", line_number = 10, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`02_fun`()", ranges = list(c(1, 8)), linter = "box_usage_linter") ── Failure ('test-non-syntactic-names.R:149:3'): Should skip allowed non-syntactic names: modules functions ── got 4 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e34c7a908", line_number = 3, column_number = 23, type = "warning", message = "Function not exported by module.", line = " path/to/`01_module`[a_fun_a, `01_fun`],", ranges = list(c(23, 29)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e34c7a908", line_number = 3, column_number = 32, type = "warning", message = "Function not exported by module.", line = " path/to/`01_module`[a_fun_a, `01_fun`],", ranges = list(c(32, 39)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e34c7a908", line_number = 4, column_number = 24, type = "warning", message = "Function not exported by module.", line = " path/to/`__module__`[b_fun_a, `02_fun`],", ranges = list(c(24, 30)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e34c7a908", line_number = 4, column_number = 33, type = "warning", message = "Function not exported by module.", line = " path/to/`__module__`[b_fun_a, `02_fun`],", ranges = list(c(33, 40)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:166:3'): Should skip allowed non-syntactic names: modules ── got 4 lints instead of 0 list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e7d49e6da", line_number = 7, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`01_module`$a_fun_a()", ranges = list(c(1, 19)), linter = "box_usage_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e7d49e6da", line_number = 8, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`01_module`$`01_fun`()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e7d49e6da", line_number = 9, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`__module__`$b_fun_a()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "/tmp/Rtmpt8GO6L/working_dir/RtmpbjKtjz/file1c566e7d49e6da", line_number = 10, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`__module__`$`02_fun`()", ranges = list(c(1, 21)), linter = "box_usage_linter") [ FAIL 47 | WARN 2 | SKIP 0 | PASS 381 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.10.6
Check: tests
Result: ERROR Running ‘testthat.R’ [47s/72s] 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_mod_fun_exists_linter-17.R Saving _problems/test-box_mod_fun_exists_linter-34.R Saving _problems/test-box_mod_fun_exists_linter-52.R Saving _problems/test-box_mod_fun_exists_linter-70.R Saving _problems/test-box_module_usage_halper_functions-26.R Saving _problems/test-box_module_usage_halper_functions-45.R Saving _problems/test-box_module_usage_halper_functions-69.R Saving _problems/test-box_module_usage_halper_functions-87.R Saving _problems/test-box_module_usage_halper_functions-123.R Saving _problems/test-box_module_usage_halper_functions-146.R Saving _problems/test-box_module_usage_halper_functions-167.R Saving _problems/test-box_module_usage_halper_functions-185.R Saving _problems/test-box_module_usage_halper_functions-221.R Saving _problems/test-box_module_usage_halper_functions-246.R Saving _problems/test-box_module_usage_halper_functions-266.R Saving _problems/test-box_module_usage_halper_functions-285.R Saving _problems/test-box_module_usage_halper_functions-307.R Saving _problems/test-box_module_usage_halper_functions-325.R Saving _problems/test-box_module_usage_halper_functions-347.R Saving _problems/test-box_unused_attached_mod_linter-50.R Saving _problems/test-box_unused_attached_mod_linter-170.R Saving _problems/test-box_unused_attached_mod_linter-187.R Saving _problems/test-box_unused_attached_mod_linter-242.R Saving _problems/test-box_unused_attached_mod_linter-259.R Saving _problems/test-box_usage_linter_modules-41.R Saving _problems/test-box_usage_linter_modules-56.R Saving _problems/test-box_usage_linter_modules-71.R Saving _problems/test-box_usage_linter_modules-88.R Saving _problems/test-box_usage_linter-252.R Saving _problems/test-box_usage_linter_r6_modules-43.R Saving _problems/test-box_usage_linter_r6_modules-97.R Saving _problems/test-box_usage_linter_r6_modules-155.R Saving _problems/test-box_usage_linter_r6_modules-209.R Saving _problems/test-box_usage_linter_r6_modules-237.R Saving _problems/test-get_box_module_exports-5.R Saving _problems/test-get_box_module_exports-12.R Saving _problems/test-general-13.R Saving _problems/test-general-44.R Saving _problems/test-general-56.R Saving _problems/test-general-69.R Saving _problems/test-non-syntactic-names-35.R Saving _problems/test-non-syntactic-names-48.R Saving _problems/test-non-syntactic-names-61.R Saving _problems/test-non-syntactic-names-74.R Saving _problems/test-non-syntactic-names-132.R Saving _problems/test-non-syntactic-names-149.R Saving _problems/test-non-syntactic-names-166.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: 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: 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: 0 File/s unchanged. > test-style_box_use.R: 2 File/s changed. > test-style_box_use.R: -------------------------------------------------------------------------------- [ FAIL 47 | WARN 2 | SKIP 0 | PASS 381 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-box_mod_fun_exists_linter.R:17:3'): box_mod_fun_exists_linter skips valid moduke-function attachements ── got 4 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b96234ac9d00", line_number = 7, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, a_fun_b],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b96234ac9d00", line_number = 7, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, a_fun_b],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b96234ac9d00", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b96234ac9d00", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:34:3'): box_mod_fun_exists_linter is not affected by aliases ── got 4 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b96230ce5d48", line_number = 7, column_number = 34, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, a_fun_b],", ranges = list(c(34, 40)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b96230ce5d48", line_number = 7, column_number = 43, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, a_fun_b],", ranges = list(c(43, 49)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b96230ce5d48", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b96230ce5d48", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:52:3'): box_mod_fun_exists_linter blocks functions that do not exist in module ── got 4 lints instead of 1 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b962dbf1b22", line_number = 7, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, not_exist],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b962dbf1b22", line_number = 7, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, not_exist],", ranges = list(c(31, 39)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b962dbf1b22", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b962dbf1b22", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:70:3'): box_mod_fun_exists_linter blocks aliased functions that do not exist in module ── got 4 lints instead of 1 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b9622d29a38b", line_number = 7, column_number = 34, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, not_exist],", ranges = list(c(34, 40)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b9622d29a38b", line_number = 7, column_number = 43, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, not_exist],", ranges = list(c(43, 51)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b9622d29a38b", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b9622d29a38b", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Error ('test-box_module_usage_halper_functions.R:26:3'): get_attached_modules returns correct list of imported whole modules ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:26:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:45:3'): get_attached_modules returns correct list of imported whole modules in separate calls ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:45:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:69:3'): get_attached_modules does not return modules imported with '...' ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:69:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:87:3'): get_attached_modules does not return modules imported with functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:87:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:123:3'): get_attached_modules does not return aliased functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:123:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:146:7'): get_attached_modules returns correct list of imported whole modules ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:146:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:167:7'): get_attached_modules does not return modules imported with '...' ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:167:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:185:7'): get_attached_modules does not return modules imported with functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:185:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:221:7'): get_attached_modules does not return aliased functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:221:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:246:3'): get_attached_modules does not return imported packages ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:246:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:266:3'): get_attached_mod_three_dots returns correct list of imported functions ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:266:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:285:5'): get_attached_mod_three_dots returns correct list of imported functions in separate calls ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:285:5 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:307:3'): get_attached_mod_three_dots does not return whole imported modules ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:307:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:325:3'): get_attached_mod_three_dots does not return modules with imported functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:325:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:347:3'): get_attached_mod_three_dots does not return imported packages with three dots ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:347:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Failure ('test-box_unused_attached_mod_linter.R:50:3'): box_unused_mod_linter skips allowed three-dots attached packages ── got 1 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpQojUEP/file33b957625c4333", line_number = 3, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:170:3'): box_unused_attached_mod_linter skips objects used in glue string templates ── got 1 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpQojUEP/file33b957247f39d3", line_number = 6, column_number = 5, type = "warning", message = "Attached module unused.", line = " path/to/module_b,", ranges = list(c(5, 20)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:187:3'): box_unused_attached_mod_linter skips functions used in glue string templates ── got 1 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpQojUEP/file33b9576f469be7", line_number = 6, column_number = 5, type = "warning", message = "Attached module unused.", line = " path/to/module_b,", ranges = list(c(5, 20)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:242:3'): box_unused_attached_mod_linter skips objects used in glue string templates ── got 1 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpQojUEP/file33b9574d095f99", line_number = 6, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:259:3'): box_unused_attached_mod_linter skips functions used in glue string templates ── got 1 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpQojUEP/file33b9574b169a3e", line_number = 6, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_usage_linter_modules.R:41:3'): box_usage_linter skips allowed module attachment ── got 2 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b962398d104e", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b962398d104e", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_b$b_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:56:3'): box_usage_linter skips allowed module alias attachment ── got 2 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b9621510e7ea", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b9621510e7ea", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " mod_alias$b_fun_a()", ranges = list(c(3, 19)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:71:3'): box_usage_linter skips allowed module[...] attachment ── got 2 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b96213be9b21", line_number = 7, column_number = 3, type = "warning", message = "Function not imported nor defined.", line = " a_fun_a()", ranges = list(c(3, 9)), linter = "box_usage_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b96213be9b21", line_number = 8, column_number = 3, type = "warning", message = "Function not imported nor defined.", line = " c_fun_a()", ranges = list(c(3, 9)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:88:3'): box_usage_linter blocks package functions exported by module ── got 2 lints instead of 1 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b96236be8ba9", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b96236be8ba9", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_b$not_exist()", ranges = list(c(3, 20)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter.R:252:3'): box_usage_linter skips function lists declared in function signature ── got 1 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpQojUEP/file33b957324f19f4", line_number = 7, column_number = 7, type = "warning", message = "<package/module>$function does not exist.", line = " module_e$summary(data$summary())", ranges = list(c(7, 22)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:43:3'): box_usage_linter skips allowed whole-module-imported R6 object instantiation ── got 1 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpQojUEP/file33b9575d095d8f", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:97:5'): box_usage_linter skips allowed dynamically added data members to whole-module-imported R6 class ── got 2 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpQojUEP/file33b9573c075b21", line_number = 5, column_number = 5, type = "warning", message = "<package/module>$function does not exist.", line = " module_r6$some_class$set(\"public\", \"x\", 10)", ranges = list(c(5, 28)), linter = "box_usage_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpQojUEP/file33b9573c075b21", line_number = 6, column_number = 10, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(10, 33)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:155:5'): box_usage_linter skips allowed dynamically added data members to whole-module-imported R6 class ── got 2 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpQojUEP/file33b957624b5b7b", line_number = 5, column_number = 5, type = "warning", message = "<package/module>$function does not exist.", line = " module_r6$some_class$set(\"public\", \"x\", function() {", ranges = list(c(5, 28)), linter = "box_usage_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpQojUEP/file33b957624b5b7b", line_number = 8, column_number = 10, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(10, 33)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:209:3'): box_usage_linter skips allowed whole-module-imported R6 object cloning ── got 1 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpQojUEP/file33b9575a301e8b", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:237:3'): box_usage_linter skips allowed whole-module-imported aliased R6 object instantiation ── got 1 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpQojUEP/file33b9577f6ab278", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- mod_alias$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Error ('test-get_box_module_exports.R:5:3'): get_box_module_exports returns correct list of exported functions ── Error in `get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default)`: use of NULL environment is defunct Backtrace: ▆ 1. └─box.linters:::get_box_module_exports(module) at test-get_box_module_exports.R:5:3 2. └─box:::namespace_info(mod_ns, "exports") 3. └─base::get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default) ── Error ('test-get_box_module_exports.R:12:3'): get_box_module_exports returns correct list of exported data objects ── Error in `get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default)`: use of NULL environment is defunct Backtrace: ▆ 1. └─box.linters:::get_box_module_exports(module) at test-get_box_module_exports.R:12:3 2. └─box:::namespace_info(mod_ns, "exports") 3. └─base::get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default) ── Failure ('test-general.R:13:3'): Should skip columns in dplyr commands ────── got 2 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpQojUEP/file33b95747b77381", 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 = "/tmp/RtmpXdb4xL/working_dir/RtmpQojUEP/file33b95747b77381", 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-general.R:44:3'): Should allow modules with nothing exported, and assume all exported - namespaced. ── got 2 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpQojUEP/file33b9572716a5a", line_number = 5, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "module_all$all_fun_a()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpQojUEP/file33b9572716a5a", line_number = 6, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "module_all$all_fun_c()", ranges = list(c(1, 20)), linter = "box_usage_linter") ── Failure ('test-general.R:56:3'): Should allow modules with nothing exported, and assume all exported - function ── got 1 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpQojUEP/file33b9576b9c5002", line_number = 2, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_all[all_fun_a]", ranges = list(c(22, 30)), linter = "box_mod_fun_exists_linter") ── Failure ('test-general.R:69:3'): Should allow modules with nothing exported, and assume all exported - dots. ── got 3 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpQojUEP/file33b9572149dabf", line_number = 2, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_all[...]", ranges = list(c(3, 25)), linter = "box_unused_attached_mod_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpQojUEP/file33b9572149dabf", line_number = 5, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "all_fun_a()", ranges = list(c(1, 9)), linter = "box_usage_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpQojUEP/file33b9572149dabf", line_number = 6, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "all_fun_c()", ranges = list(c(1, 9)), linter = "box_usage_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 = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b962459a98ad", 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") ── Failure ('test-non-syntactic-names.R:48:3'): Should skip allowed non-syntactic names: module special ── got 1 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b96257eae2e9", line_number = 3, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_nonsyntactic[`%--%`],", ranges = list(c(31, 36)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:61:3'): Should skip allowed non-syntactic names: module function ── got 1 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b96221ed1c91", line_number = 3, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_nonsyntactic[`01_function`],", ranges = list(c(31, 43)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:74:3'): Should skip allowed non-syntactic names: module function three dots ── got 2 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b9621e3f1644", line_number = 3, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_nonsyntactic[...],", ranges = list(c(3, 34)), linter = "box_unused_attached_mod_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b9621e3f1644", line_number = 6, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`01_function`()", ranges = list(c(1, 13)), linter = "box_usage_linter") ── Failure ('test-non-syntactic-names.R:132:3'): Should skip allowed non-syntactic names: modules three-dots ── got 6 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b9623725176", line_number = 3, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/`01_module`[...],", ranges = list(c(3, 26)), linter = "box_unused_attached_mod_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b9623725176", line_number = 4, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/`__module__`[...],", ranges = list(c(3, 27)), linter = "box_unused_attached_mod_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b9623725176", line_number = 7, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "a_fun_a()", ranges = list(c(1, 7)), linter = "box_usage_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b9623725176", line_number = 8, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`01_fun`()", ranges = list(c(1, 8)), linter = "box_usage_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b9623725176", line_number = 9, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "b_fun_a()", ranges = list(c(1, 7)), linter = "box_usage_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b9623725176", line_number = 10, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`02_fun`()", ranges = list(c(1, 8)), linter = "box_usage_linter") ── Failure ('test-non-syntactic-names.R:149:3'): Should skip allowed non-syntactic names: modules functions ── got 4 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b96234c5c448", line_number = 3, column_number = 23, type = "warning", message = "Function not exported by module.", line = " path/to/`01_module`[a_fun_a, `01_fun`],", ranges = list(c(23, 29)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b96234c5c448", line_number = 3, column_number = 32, type = "warning", message = "Function not exported by module.", line = " path/to/`01_module`[a_fun_a, `01_fun`],", ranges = list(c(32, 39)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b96234c5c448", line_number = 4, column_number = 24, type = "warning", message = "Function not exported by module.", line = " path/to/`__module__`[b_fun_a, `02_fun`],", ranges = list(c(24, 30)), linter = "box_mod_fun_exists_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b96234c5c448", line_number = 4, column_number = 33, type = "warning", message = "Function not exported by module.", line = " path/to/`__module__`[b_fun_a, `02_fun`],", ranges = list(c(33, 40)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:166:3'): Should skip allowed non-syntactic names: modules ── got 4 lints instead of 0 list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b9623721ee3f", line_number = 7, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`01_module`$a_fun_a()", ranges = list(c(1, 19)), linter = "box_usage_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b9623721ee3f", line_number = 8, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`01_module`$`01_fun`()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b9623721ee3f", line_number = 9, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`__module__`$b_fun_a()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "/tmp/RtmpXdb4xL/working_dir/RtmpDDE1N1/file33b9623721ee3f", line_number = 10, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`__module__`$`02_fun`()", ranges = list(c(1, 21)), linter = "box_usage_linter") [ FAIL 47 | WARN 2 | SKIP 0 | PASS 381 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.10.6
Check: tests
Result: ERROR Running 'testthat.R' [18s] 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_mod_fun_exists_linter-17.R Saving _problems/test-box_mod_fun_exists_linter-34.R Saving _problems/test-box_mod_fun_exists_linter-52.R Saving _problems/test-box_mod_fun_exists_linter-70.R Saving _problems/test-box_module_usage_halper_functions-26.R Saving _problems/test-box_module_usage_halper_functions-45.R Saving _problems/test-box_module_usage_halper_functions-69.R Saving _problems/test-box_module_usage_halper_functions-87.R Saving _problems/test-box_module_usage_halper_functions-123.R Saving _problems/test-box_module_usage_halper_functions-146.R Saving _problems/test-box_module_usage_halper_functions-167.R Saving _problems/test-box_module_usage_halper_functions-185.R Saving _problems/test-box_module_usage_halper_functions-221.R Saving _problems/test-box_module_usage_halper_functions-246.R Saving _problems/test-box_module_usage_halper_functions-266.R Saving _problems/test-box_module_usage_halper_functions-285.R Saving _problems/test-box_module_usage_halper_functions-307.R Saving _problems/test-box_module_usage_halper_functions-325.R Saving _problems/test-box_module_usage_halper_functions-347.R Saving _problems/test-box_unused_attached_mod_linter-50.R Saving _problems/test-box_unused_attached_mod_linter-170.R Saving _problems/test-box_unused_attached_mod_linter-187.R Saving _problems/test-box_unused_attached_mod_linter-242.R Saving _problems/test-box_unused_attached_mod_linter-259.R Saving _problems/test-box_usage_linter_modules-41.R Saving _problems/test-box_usage_linter_modules-56.R Saving _problems/test-box_usage_linter_modules-71.R Saving _problems/test-box_usage_linter_modules-88.R Saving _problems/test-box_usage_linter-252.R Saving _problems/test-box_usage_linter_r6_modules-43.R Saving _problems/test-box_usage_linter_r6_modules-97.R Saving _problems/test-box_usage_linter_r6_modules-155.R Saving _problems/test-box_usage_linter_r6_modules-209.R Saving _problems/test-box_usage_linter_r6_modules-237.R Saving _problems/test-get_box_module_exports-5.R Saving _problems/test-get_box_module_exports-12.R Saving _problems/test-general-13.R Saving _problems/test-general-44.R Saving _problems/test-general-56.R Saving _problems/test-general-69.R Saving _problems/test-non-syntactic-names-35.R Saving _problems/test-non-syntactic-names-48.R Saving _problems/test-non-syntactic-names-61.R Saving _problems/test-non-syntactic-names-74.R Saving _problems/test-non-syntactic-names-132.R Saving _problems/test-non-syntactic-names-149.R Saving _problems/test-non-syntactic-names-166.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: 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: 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: 0 File/s unchanged. > test-style_box_use.R: 2 File/s changed. > test-style_box_use.R: -------------------------------------------------------------------------------- [ FAIL 47 | WARN 2 | SKIP 3 | PASS 377 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • !file.exists(linters_csv_location) is TRUE (2): 'test-linter_tags.R:15:3', 'test-linter_tags.R:25:3' • On Windows (1): 'test-style_box_use.R:1508:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-box_mod_fun_exists_linter.R:17:3'): box_mod_fun_exists_linter skips valid moduke-function attachements ── got 4 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec043697482", line_number = 7, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, a_fun_b],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec043697482", line_number = 7, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, a_fun_b],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec043697482", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec043697482", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:34:3'): box_mod_fun_exists_linter is not affected by aliases ── got 4 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec07f49232e", line_number = 7, column_number = 34, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, a_fun_b],", ranges = list(c(34, 40)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec07f49232e", line_number = 7, column_number = 43, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, a_fun_b],", ranges = list(c(43, 49)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec07f49232e", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec07f49232e", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:52:3'): box_mod_fun_exists_linter blocks functions that do not exist in module ── got 4 lints instead of 1 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec05bb76a59", line_number = 7, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, not_exist],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec05bb76a59", line_number = 7, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, not_exist],", ranges = list(c(31, 39)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec05bb76a59", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec05bb76a59", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:70:3'): box_mod_fun_exists_linter blocks aliased functions that do not exist in module ── got 4 lints instead of 1 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec06ec1544", line_number = 7, column_number = 34, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, not_exist],", ranges = list(c(34, 40)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec06ec1544", line_number = 7, column_number = 43, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, not_exist],", ranges = list(c(43, 51)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec06ec1544", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec06ec1544", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Error ('test-box_module_usage_halper_functions.R:26:3'): get_attached_modules returns correct list of imported whole modules ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:26:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:45:3'): get_attached_modules returns correct list of imported whole modules in separate calls ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:45:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:69:3'): get_attached_modules does not return modules imported with '...' ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:69:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:87:3'): get_attached_modules does not return modules imported with functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:87:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:123:3'): get_attached_modules does not return aliased functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:123:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:146:7'): get_attached_modules returns correct list of imported whole modules ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:146:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:167:7'): get_attached_modules does not return modules imported with '...' ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:167:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:185:7'): get_attached_modules does not return modules imported with functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:185:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:221:7'): get_attached_modules does not return aliased functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:221:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:246:3'): get_attached_modules does not return imported packages ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:246:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:266:3'): get_attached_mod_three_dots returns correct list of imported functions ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:266:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:285:5'): get_attached_mod_three_dots returns correct list of imported functions in separate calls ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:285:5 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:307:3'): get_attached_mod_three_dots does not return whole imported modules ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:307:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:325:3'): get_attached_mod_three_dots does not return modules with imported functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:325:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:347:3'): get_attached_mod_three_dots does not return imported packages with three dots ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:347:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Failure ('test-box_unused_attached_mod_linter.R:50:3'): box_unused_mod_linter skips allowed three-dots attached packages ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpYPxMSY/file16e4c745e4f07", line_number = 3, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:170:3'): box_unused_attached_mod_linter skips objects used in glue string templates ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpYPxMSY/file16e4c632e71ef", line_number = 6, column_number = 5, type = "warning", message = "Attached module unused.", line = " path/to/module_b,", ranges = list(c(5, 20)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:187:3'): box_unused_attached_mod_linter skips functions used in glue string templates ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpYPxMSY/file16e4c1257794d", line_number = 6, column_number = 5, type = "warning", message = "Attached module unused.", line = " path/to/module_b,", ranges = list(c(5, 20)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:242:3'): box_unused_attached_mod_linter skips objects used in glue string templates ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpYPxMSY/file16e4c6f3262", line_number = 6, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:259:3'): box_unused_attached_mod_linter skips functions used in glue string templates ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpYPxMSY/file16e4c22c1664f", line_number = 6, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_usage_linter_modules.R:41:3'): box_usage_linter skips allowed module attachment ── got 2 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpYPxMSY/file16e4c546b2cba", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpYPxMSY/file16e4c546b2cba", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_b$b_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:56:3'): box_usage_linter skips allowed module alias attachment ── got 2 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpYPxMSY/file16e4c39fc1942", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpYPxMSY/file16e4c39fc1942", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " mod_alias$b_fun_a()", ranges = list(c(3, 19)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:71:3'): box_usage_linter skips allowed module[...] attachment ── got 2 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpYPxMSY/file16e4c5473649", line_number = 7, column_number = 3, type = "warning", message = "Function not imported nor defined.", line = " a_fun_a()", ranges = list(c(3, 9)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpYPxMSY/file16e4c5473649", line_number = 8, column_number = 3, type = "warning", message = "Function not imported nor defined.", line = " c_fun_a()", ranges = list(c(3, 9)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:88:3'): box_usage_linter blocks package functions exported by module ── got 2 lints instead of 1 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpYPxMSY/file16e4c6c3e5e83", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpYPxMSY/file16e4c6c3e5e83", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_b$not_exist()", ranges = list(c(3, 20)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter.R:252:3'): box_usage_linter skips function lists declared in function signature ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec04077648c", line_number = 7, column_number = 7, type = "warning", message = "<package/module>$function does not exist.", line = " module_e$summary(data$summary())", ranges = list(c(7, 22)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:43:3'): box_usage_linter skips allowed whole-module-imported R6 object instantiation ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec023c9392c", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:97:5'): box_usage_linter skips allowed dynamically added data members to whole-module-imported R6 class ── got 2 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec0740352d", line_number = 5, column_number = 5, type = "warning", message = "<package/module>$function does not exist.", line = " module_r6$some_class$set(\"public\", \"x\", 10)", ranges = list(c(5, 28)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec0740352d", line_number = 6, column_number = 10, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(10, 33)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:155:5'): box_usage_linter skips allowed dynamically added data members to whole-module-imported R6 class ── got 2 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec010007ccd", line_number = 5, column_number = 5, type = "warning", message = "<package/module>$function does not exist.", line = " module_r6$some_class$set(\"public\", \"x\", function() {", ranges = list(c(5, 28)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec010007ccd", line_number = 8, column_number = 10, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(10, 33)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:209:3'): box_usage_linter skips allowed whole-module-imported R6 object cloning ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec039cb17bf", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:237:3'): box_usage_linter skips allowed whole-module-imported aliased R6 object instantiation ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec049b172eb", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- mod_alias$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Error ('test-get_box_module_exports.R:5:3'): get_box_module_exports returns correct list of exported functions ── Error in `get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default)`: use of NULL environment is defunct Backtrace: ▆ 1. └─box.linters:::get_box_module_exports(module) at test-get_box_module_exports.R:5:3 2. └─box:::namespace_info(mod_ns, "exports") 3. └─base::get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default) ── Error ('test-get_box_module_exports.R:12:3'): get_box_module_exports returns correct list of exported data objects ── Error in `get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default)`: use of NULL environment is defunct Backtrace: ▆ 1. └─box.linters:::get_box_module_exports(module) at test-get_box_module_exports.R:12:3 2. └─box:::namespace_info(mod_ns, "exports") 3. └─base::get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default) ── Failure ('test-general.R:13:3'): Should skip columns in dplyr commands ────── got 2 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpYPxMSY/file16e4c6dfa10f5", 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 = "D:/temp/2025_12_07_01_50_00_14651/RtmpYPxMSY/file16e4c6dfa10f5", 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-general.R:44:3'): Should allow modules with nothing exported, and assume all exported - namespaced. ── got 2 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpYPxMSY/file16e4c1e7779d0", line_number = 5, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "module_all$all_fun_a()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpYPxMSY/file16e4c1e7779d0", line_number = 6, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "module_all$all_fun_c()", ranges = list(c(1, 20)), linter = "box_usage_linter") ── Failure ('test-general.R:56:3'): Should allow modules with nothing exported, and assume all exported - function ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpYPxMSY/file16e4c17103ee0", line_number = 2, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_all[all_fun_a]", ranges = list(c(22, 30)), linter = "box_mod_fun_exists_linter") ── Failure ('test-general.R:69:3'): Should allow modules with nothing exported, and assume all exported - dots. ── got 3 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpYPxMSY/file16e4c163815ed", line_number = 2, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_all[...]", ranges = list(c(3, 25)), linter = "box_unused_attached_mod_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpYPxMSY/file16e4c163815ed", line_number = 5, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "all_fun_a()", ranges = list(c(1, 9)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpYPxMSY/file16e4c163815ed", line_number = 6, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "all_fun_c()", ranges = list(c(1, 9)), linter = "box_usage_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 = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec0209a1260", 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") ── Failure ('test-non-syntactic-names.R:48:3'): Should skip allowed non-syntactic names: module special ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec0324290c", line_number = 3, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_nonsyntactic[`%--%`],", ranges = list(c(31, 36)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:61:3'): Should skip allowed non-syntactic names: module function ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec0de67c57", line_number = 3, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_nonsyntactic[`01_function`],", ranges = list(c(31, 43)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:74:3'): Should skip allowed non-syntactic names: module function three dots ── got 2 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec07fad51f3", line_number = 3, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_nonsyntactic[...],", ranges = list(c(3, 34)), linter = "box_unused_attached_mod_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec07fad51f3", line_number = 6, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`01_function`()", ranges = list(c(1, 13)), linter = "box_usage_linter") ── Failure ('test-non-syntactic-names.R:132:3'): Should skip allowed non-syntactic names: modules three-dots ── got 6 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec0391e391e", line_number = 3, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/`01_module`[...],", ranges = list(c(3, 26)), linter = "box_unused_attached_mod_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec0391e391e", line_number = 4, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/`__module__`[...],", ranges = list(c(3, 27)), linter = "box_unused_attached_mod_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec0391e391e", line_number = 7, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "a_fun_a()", ranges = list(c(1, 7)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec0391e391e", line_number = 8, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`01_fun`()", ranges = list(c(1, 8)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec0391e391e", line_number = 9, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "b_fun_a()", ranges = list(c(1, 7)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec0391e391e", line_number = 10, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`02_fun`()", ranges = list(c(1, 8)), linter = "box_usage_linter") ── Failure ('test-non-syntactic-names.R:149:3'): Should skip allowed non-syntactic names: modules functions ── got 4 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec013b044a2", line_number = 3, column_number = 23, type = "warning", message = "Function not exported by module.", line = " path/to/`01_module`[a_fun_a, `01_fun`],", ranges = list(c(23, 29)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec013b044a2", line_number = 3, column_number = 32, type = "warning", message = "Function not exported by module.", line = " path/to/`01_module`[a_fun_a, `01_fun`],", ranges = list(c(32, 39)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec013b044a2", line_number = 4, column_number = 24, type = "warning", message = "Function not exported by module.", line = " path/to/`__module__`[b_fun_a, `02_fun`],", ranges = list(c(24, 30)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec013b044a2", line_number = 4, column_number = 33, type = "warning", message = "Function not exported by module.", line = " path/to/`__module__`[b_fun_a, `02_fun`],", ranges = list(c(33, 40)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:166:3'): Should skip allowed non-syntactic names: modules ── got 4 lints instead of 0 list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec061d8256a", line_number = 7, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`01_module`$a_fun_a()", ranges = list(c(1, 19)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec061d8256a", line_number = 8, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`01_module`$`01_fun`()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec061d8256a", line_number = 9, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`__module__`$b_fun_a()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_07_01_50_00_14651/RtmpAlxWSP/file4ec061d8256a", line_number = 10, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`__module__`$`02_fun`()", ranges = list(c(1, 21)), linter = "box_usage_linter") [ FAIL 47 | WARN 2 | SKIP 3 | PASS 377 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64

Version: 0.10.6
Check: tests
Result: ERROR Running ‘testthat.R’ [29s/19s] 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_mod_fun_exists_linter-17.R Saving _problems/test-box_mod_fun_exists_linter-34.R Saving _problems/test-box_mod_fun_exists_linter-52.R Saving _problems/test-box_mod_fun_exists_linter-70.R Saving _problems/test-box_module_usage_halper_functions-26.R Saving _problems/test-box_module_usage_halper_functions-45.R Saving _problems/test-box_module_usage_halper_functions-69.R Saving _problems/test-box_module_usage_halper_functions-87.R Saving _problems/test-box_module_usage_halper_functions-123.R Saving _problems/test-box_module_usage_halper_functions-146.R Saving _problems/test-box_module_usage_halper_functions-167.R Saving _problems/test-box_module_usage_halper_functions-185.R Saving _problems/test-box_module_usage_halper_functions-221.R Saving _problems/test-box_module_usage_halper_functions-246.R Saving _problems/test-box_module_usage_halper_functions-266.R Saving _problems/test-box_module_usage_halper_functions-285.R Saving _problems/test-box_module_usage_halper_functions-307.R Saving _problems/test-box_module_usage_halper_functions-325.R Saving _problems/test-box_module_usage_halper_functions-347.R Saving _problems/test-box_unused_attached_mod_linter-50.R Saving _problems/test-box_unused_attached_mod_linter-170.R Saving _problems/test-box_unused_attached_mod_linter-187.R Saving _problems/test-box_unused_attached_mod_linter-242.R Saving _problems/test-box_unused_attached_mod_linter-259.R Saving _problems/test-box_usage_linter_modules-41.R Saving _problems/test-box_usage_linter_modules-56.R Saving _problems/test-box_usage_linter_modules-71.R Saving _problems/test-box_usage_linter_modules-88.R Saving _problems/test-box_usage_linter-252.R Saving _problems/test-box_usage_linter_r6_modules-43.R Saving _problems/test-box_usage_linter_r6_modules-97.R Saving _problems/test-box_usage_linter_r6_modules-155.R Saving _problems/test-box_usage_linter_r6_modules-209.R Saving _problems/test-box_usage_linter_r6_modules-237.R Saving _problems/test-get_box_module_exports-5.R Saving _problems/test-get_box_module_exports-12.R Saving _problems/test-general-13.R Saving _problems/test-general-44.R Saving _problems/test-general-56.R Saving _problems/test-general-69.R Saving _problems/test-non-syntactic-names-35.R Saving _problems/test-non-syntactic-names-48.R Saving _problems/test-non-syntactic-names-61.R Saving _problems/test-non-syntactic-names-74.R Saving _problems/test-non-syntactic-names-132.R Saving _problems/test-non-syntactic-names-149.R Saving _problems/test-non-syntactic-names-166.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: -------------------------------------------------------------------------------- > 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: app/app_1.R > test-style_box_use.R: main.R > test-style_box_use.R: Modified the following files: > 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: app/app_1.R > test-style_box_use.R: main.R > test-style_box_use.R: Modified the following files: > test-style_box_use.R: app/app_1.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: main.R > test-style_box_use.R: Modified the following files: > 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: app/app_1.R > test-style_box_use.R: main.R > test-style_box_use.R: -------------------------------------------------------------------------------- > test-style_box_use.R: Modified the following files: > 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: -------------------------------------------------------------------------------- > test-style_box_use.R: app/app_1.R > test-style_box_use.R: main.R [ FAIL 47 | WARN 2 | SKIP 2 | PASS 378 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • !file.exists(linters_csv_location) is TRUE (2): 'test-linter_tags.R:15:3', 'test-linter_tags.R:25:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-box_mod_fun_exists_linter.R:17:3'): box_mod_fun_exists_linter skips valid moduke-function attachements ── got 4 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c827f5b9e7", line_number = 7, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, a_fun_b],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c827f5b9e7", line_number = 7, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, a_fun_b],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c827f5b9e7", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c827f5b9e7", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:34:3'): box_mod_fun_exists_linter is not affected by aliases ── got 4 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c82a1ffe2a", line_number = 7, column_number = 34, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, a_fun_b],", ranges = list(c(34, 40)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c82a1ffe2a", line_number = 7, column_number = 43, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, a_fun_b],", ranges = list(c(43, 49)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c82a1ffe2a", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c82a1ffe2a", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:52:3'): box_mod_fun_exists_linter blocks functions that do not exist in module ── got 4 lints instead of 1 list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c8157d362d", line_number = 7, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, not_exist],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c8157d362d", line_number = 7, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, not_exist],", ranges = list(c(31, 39)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c8157d362d", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c8157d362d", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:70:3'): box_mod_fun_exists_linter blocks aliased functions that do not exist in module ── got 4 lints instead of 1 list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c82d5bc27c", line_number = 7, column_number = 34, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, not_exist],", ranges = list(c(34, 40)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c82d5bc27c", line_number = 7, column_number = 43, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, not_exist],", ranges = list(c(43, 51)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c82d5bc27c", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c82d5bc27c", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Error ('test-box_module_usage_halper_functions.R:26:3'): get_attached_modules returns correct list of imported whole modules ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:26:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:45:3'): get_attached_modules returns correct list of imported whole modules in separate calls ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:45:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:69:3'): get_attached_modules does not return modules imported with '...' ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:69:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:87:3'): get_attached_modules does not return modules imported with functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:87:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:123:3'): get_attached_modules does not return aliased functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:123:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:146:7'): get_attached_modules returns correct list of imported whole modules ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:146:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:167:7'): get_attached_modules does not return modules imported with '...' ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:167:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:185:7'): get_attached_modules does not return modules imported with functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:185:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:221:7'): get_attached_modules does not return aliased functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:221:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:246:3'): get_attached_modules does not return imported packages ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:246:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:266:3'): get_attached_mod_three_dots returns correct list of imported functions ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:266:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:285:5'): get_attached_mod_three_dots returns correct list of imported functions in separate calls ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:285:5 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:307:3'): get_attached_mod_three_dots does not return whole imported modules ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:307:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:325:3'): get_attached_mod_three_dots does not return modules with imported functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:325:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:347:3'): get_attached_mod_three_dots does not return imported packages with three dots ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:347:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Failure ('test-box_unused_attached_mod_linter.R:50:3'): box_unused_mod_linter skips allowed three-dots attached packages ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpdIUDXn/file3a131223d3a08a", line_number = 3, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:170:3'): box_unused_attached_mod_linter skips objects used in glue string templates ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpdIUDXn/file3a131243900cd", line_number = 6, column_number = 5, type = "warning", message = "Attached module unused.", line = " path/to/module_b,", ranges = list(c(5, 20)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:187:3'): box_unused_attached_mod_linter skips functions used in glue string templates ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpdIUDXn/file3a13121bb3fc1d", line_number = 6, column_number = 5, type = "warning", message = "Attached module unused.", line = " path/to/module_b,", ranges = list(c(5, 20)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:242:3'): box_unused_attached_mod_linter skips objects used in glue string templates ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpdIUDXn/file3a1312755d0a27", line_number = 6, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:259:3'): box_unused_attached_mod_linter skips functions used in glue string templates ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpdIUDXn/file3a131268482675", line_number = 6, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_usage_linter_modules.R:41:3'): box_usage_linter skips allowed module attachment ── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c811c2c495", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c811c2c495", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_b$b_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:56:3'): box_usage_linter skips allowed module alias attachment ── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c86e8ab940", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c86e8ab940", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " mod_alias$b_fun_a()", ranges = list(c(3, 19)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:71:3'): box_usage_linter skips allowed module[...] attachment ── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c865d79958", line_number = 7, column_number = 3, type = "warning", message = "Function not imported nor defined.", line = " a_fun_a()", ranges = list(c(3, 9)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c865d79958", line_number = 8, column_number = 3, type = "warning", message = "Function not imported nor defined.", line = " c_fun_a()", ranges = list(c(3, 9)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:88:3'): box_usage_linter blocks package functions exported by module ── got 2 lints instead of 1 list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c81196413f", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c81196413f", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_b$not_exist()", ranges = list(c(3, 20)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter.R:252:3'): box_usage_linter skips function lists declared in function signature ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpdIUDXn/file3a1312734cba1f", line_number = 7, column_number = 7, type = "warning", message = "<package/module>$function does not exist.", line = " module_e$summary(data$summary())", ranges = list(c(7, 22)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:43:3'): box_usage_linter skips allowed whole-module-imported R6 object instantiation ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpdIUDXn/file3a13122a97475b", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:97:5'): box_usage_linter skips allowed dynamically added data members to whole-module-imported R6 class ── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpdIUDXn/file3a131267aec11", line_number = 5, column_number = 5, type = "warning", message = "<package/module>$function does not exist.", line = " module_r6$some_class$set(\"public\", \"x\", 10)", ranges = list(c(5, 28)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpdIUDXn/file3a131267aec11", line_number = 6, column_number = 10, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(10, 33)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:155:5'): box_usage_linter skips allowed dynamically added data members to whole-module-imported R6 class ── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpdIUDXn/file3a131265d05884", line_number = 5, column_number = 5, type = "warning", message = "<package/module>$function does not exist.", line = " module_r6$some_class$set(\"public\", \"x\", function() {", ranges = list(c(5, 28)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpdIUDXn/file3a131265d05884", line_number = 8, column_number = 10, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(10, 33)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:209:3'): box_usage_linter skips allowed whole-module-imported R6 object cloning ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpdIUDXn/file3a131222566588", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:237:3'): box_usage_linter skips allowed whole-module-imported aliased R6 object instantiation ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpdIUDXn/file3a1312c8ae815", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- mod_alias$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Error ('test-get_box_module_exports.R:5:3'): get_box_module_exports returns correct list of exported functions ── Error in `get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default)`: use of NULL environment is defunct Backtrace: ▆ 1. └─box.linters:::get_box_module_exports(module) at test-get_box_module_exports.R:5:3 2. └─box:::namespace_info(mod_ns, "exports") 3. └─base::get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default) ── Error ('test-get_box_module_exports.R:12:3'): get_box_module_exports returns correct list of exported data objects ── Error in `get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default)`: use of NULL environment is defunct Backtrace: ▆ 1. └─box.linters:::get_box_module_exports(module) at test-get_box_module_exports.R:12:3 2. └─box:::namespace_info(mod_ns, "exports") 3. └─base::get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default) ── Failure ('test-general.R:13:3'): Should skip columns in dplyr commands ────── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c86f593de6", 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/RtmpH6f4ZV/file3a12c86f593de6", 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-general.R:44:3'): Should allow modules with nothing exported, and assume all exported - namespaced. ── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c86821f020", line_number = 5, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "module_all$all_fun_a()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c86821f020", line_number = 6, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "module_all$all_fun_c()", ranges = list(c(1, 20)), linter = "box_usage_linter") ── Failure ('test-general.R:56:3'): Should allow modules with nothing exported, and assume all exported - function ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c83e7bd2e3", line_number = 2, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_all[all_fun_a]", ranges = list(c(22, 30)), linter = "box_mod_fun_exists_linter") ── Failure ('test-general.R:69:3'): Should allow modules with nothing exported, and assume all exported - dots. ── got 3 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c82e1c266c", line_number = 2, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_all[...]", ranges = list(c(3, 25)), linter = "box_unused_attached_mod_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c82e1c266c", line_number = 5, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "all_fun_a()", ranges = list(c(1, 9)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c82e1c266c", line_number = 6, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "all_fun_c()", ranges = list(c(1, 9)), linter = "box_usage_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/RtmpH6f4ZV/file3a12c861df1e2c", 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") ── Failure ('test-non-syntactic-names.R:48:3'): Should skip allowed non-syntactic names: module special ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c812d804c6", line_number = 3, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_nonsyntactic[`%--%`],", ranges = list(c(31, 36)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:61:3'): Should skip allowed non-syntactic names: module function ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c82512c901", line_number = 3, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_nonsyntactic[`01_function`],", ranges = list(c(31, 43)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:74:3'): Should skip allowed non-syntactic names: module function three dots ── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c865f47a8e", line_number = 3, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_nonsyntactic[...],", ranges = list(c(3, 34)), linter = "box_unused_attached_mod_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c865f47a8e", line_number = 6, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`01_function`()", ranges = list(c(1, 13)), linter = "box_usage_linter") ── Failure ('test-non-syntactic-names.R:132:3'): Should skip allowed non-syntactic names: modules three-dots ── got 6 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c86569ffd8", line_number = 3, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/`01_module`[...],", ranges = list(c(3, 26)), linter = "box_unused_attached_mod_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c86569ffd8", line_number = 4, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/`__module__`[...],", ranges = list(c(3, 27)), linter = "box_unused_attached_mod_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c86569ffd8", line_number = 7, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "a_fun_a()", ranges = list(c(1, 7)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c86569ffd8", line_number = 8, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`01_fun`()", ranges = list(c(1, 8)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c86569ffd8", line_number = 9, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "b_fun_a()", ranges = list(c(1, 7)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c86569ffd8", line_number = 10, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`02_fun`()", ranges = list(c(1, 8)), linter = "box_usage_linter") ── Failure ('test-non-syntactic-names.R:149:3'): Should skip allowed non-syntactic names: modules functions ── got 4 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c8bc406ec", line_number = 3, column_number = 23, type = "warning", message = "Function not exported by module.", line = " path/to/`01_module`[a_fun_a, `01_fun`],", ranges = list(c(23, 29)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c8bc406ec", line_number = 3, column_number = 32, type = "warning", message = "Function not exported by module.", line = " path/to/`01_module`[a_fun_a, `01_fun`],", ranges = list(c(32, 39)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c8bc406ec", line_number = 4, column_number = 24, type = "warning", message = "Function not exported by module.", line = " path/to/`__module__`[b_fun_a, `02_fun`],", ranges = list(c(24, 30)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c8bc406ec", line_number = 4, column_number = 33, type = "warning", message = "Function not exported by module.", line = " path/to/`__module__`[b_fun_a, `02_fun`],", ranges = list(c(33, 40)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:166:3'): Should skip allowed non-syntactic names: modules ── got 4 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c85d473795", line_number = 7, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`01_module`$a_fun_a()", ranges = list(c(1, 19)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c85d473795", line_number = 8, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`01_module`$`01_fun`()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c85d473795", line_number = 9, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`__module__`$b_fun_a()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/RtmpH6f4ZV/file3a12c85d473795", line_number = 10, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`__module__`$`02_fun`()", ranges = list(c(1, 21)), linter = "box_usage_linter") [ FAIL 47 | WARN 2 | SKIP 2 | PASS 378 ] Error: ! Test failures. Execution halted Flavor: r-patched-linux-x86_64

Version: 0.10.6
Check: tests
Result: ERROR Running ‘testthat.R’ [28s/19s] 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_mod_fun_exists_linter-17.R Saving _problems/test-box_mod_fun_exists_linter-34.R Saving _problems/test-box_mod_fun_exists_linter-52.R Saving _problems/test-box_mod_fun_exists_linter-70.R Saving _problems/test-box_module_usage_halper_functions-26.R Saving _problems/test-box_module_usage_halper_functions-45.R Saving _problems/test-box_module_usage_halper_functions-69.R Saving _problems/test-box_module_usage_halper_functions-87.R Saving _problems/test-box_module_usage_halper_functions-123.R Saving _problems/test-box_module_usage_halper_functions-146.R Saving _problems/test-box_module_usage_halper_functions-167.R Saving _problems/test-box_module_usage_halper_functions-185.R Saving _problems/test-box_module_usage_halper_functions-221.R Saving _problems/test-box_module_usage_halper_functions-246.R Saving _problems/test-box_module_usage_halper_functions-266.R Saving _problems/test-box_module_usage_halper_functions-285.R Saving _problems/test-box_module_usage_halper_functions-307.R Saving _problems/test-box_module_usage_halper_functions-325.R Saving _problems/test-box_module_usage_halper_functions-347.R Saving _problems/test-box_unused_attached_mod_linter-50.R Saving _problems/test-box_unused_attached_mod_linter-170.R Saving _problems/test-box_unused_attached_mod_linter-187.R Saving _problems/test-box_unused_attached_mod_linter-242.R Saving _problems/test-box_unused_attached_mod_linter-259.R Saving _problems/test-box_usage_linter-252.R Saving _problems/test-box_usage_linter_modules-41.R Saving _problems/test-box_usage_linter_modules-56.R Saving _problems/test-box_usage_linter_modules-71.R Saving _problems/test-box_usage_linter_modules-88.R Saving _problems/test-box_usage_linter_r6_modules-43.R Saving _problems/test-box_usage_linter_r6_modules-97.R Saving _problems/test-box_usage_linter_r6_modules-155.R Saving _problems/test-box_usage_linter_r6_modules-209.R Saving _problems/test-box_usage_linter_r6_modules-237.R Saving _problems/test-general-13.R Saving _problems/test-general-44.R Saving _problems/test-general-56.R Saving _problems/test-general-69.R Saving _problems/test-get_box_module_exports-5.R Saving _problems/test-get_box_module_exports-12.R Saving _problems/test-non-syntactic-names-35.R Saving _problems/test-non-syntactic-names-48.R Saving _problems/test-non-syntactic-names-61.R Saving _problems/test-non-syntactic-names-74.R Saving _problems/test-non-syntactic-names-132.R Saving _problems/test-non-syntactic-names-149.R Saving _problems/test-non-syntactic-names-166.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: -------------------------------------------------------------------------------- > 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: app/app_1.R > test-style_box_use.R: main.R > test-style_box_use.R: Modified the following files: > 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: app/app_1.R > test-style_box_use.R: main.R > test-style_box_use.R: Modified the following files: > test-style_box_use.R: app/app_1.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: main.R > test-style_box_use.R: Modified the following files: > test-style_box_use.R: app/app_1.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: main.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: 0 File/s unchanged. > test-style_box_use.R: 2 File/s changed. > test-style_box_use.R: -------------------------------------------------------------------------------- [ FAIL 47 | WARN 2 | SKIP 2 | PASS 378 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • !file.exists(linters_csv_location) is TRUE (2): 'test-linter_tags.R:15:3', 'test-linter_tags.R:25:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-box_mod_fun_exists_linter.R:17:3'): box_mod_fun_exists_linter skips valid moduke-function attachements ── got 4 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da3f3b9d2c", line_number = 7, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, a_fun_b],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da3f3b9d2c", line_number = 7, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, a_fun_b],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da3f3b9d2c", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da3f3b9d2c", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:34:3'): box_mod_fun_exists_linter is not affected by aliases ── got 4 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da4a018f53", line_number = 7, column_number = 34, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, a_fun_b],", ranges = list(c(34, 40)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da4a018f53", line_number = 7, column_number = 43, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, a_fun_b],", ranges = list(c(43, 49)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da4a018f53", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da4a018f53", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:52:3'): box_mod_fun_exists_linter blocks functions that do not exist in module ── got 4 lints instead of 1 list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da4a9fe0d3", line_number = 7, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, not_exist],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da4a9fe0d3", line_number = 7, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, not_exist],", ranges = list(c(31, 39)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da4a9fe0d3", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da4a9fe0d3", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:70:3'): box_mod_fun_exists_linter blocks aliased functions that do not exist in module ── got 4 lints instead of 1 list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da7a1b8b0f", line_number = 7, column_number = 34, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, not_exist],", ranges = list(c(34, 40)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da7a1b8b0f", line_number = 7, column_number = 43, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, not_exist],", ranges = list(c(43, 51)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da7a1b8b0f", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da7a1b8b0f", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Error ('test-box_module_usage_halper_functions.R:26:3'): get_attached_modules returns correct list of imported whole modules ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:26:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:45:3'): get_attached_modules returns correct list of imported whole modules in separate calls ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:45:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:69:3'): get_attached_modules does not return modules imported with '...' ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:69:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:87:3'): get_attached_modules does not return modules imported with functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:87:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:123:3'): get_attached_modules does not return aliased functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:123:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:146:7'): get_attached_modules returns correct list of imported whole modules ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:146:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:167:7'): get_attached_modules does not return modules imported with '...' ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:167:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:185:7'): get_attached_modules does not return modules imported with functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:185:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:221:7'): get_attached_modules does not return aliased functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:221:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:246:3'): get_attached_modules does not return imported packages ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:246:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:266:3'): get_attached_mod_three_dots returns correct list of imported functions ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:266:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:285:5'): get_attached_mod_three_dots returns correct list of imported functions in separate calls ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:285:5 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:307:3'): get_attached_mod_three_dots does not return whole imported modules ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:307:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:325:3'): get_attached_mod_three_dots does not return modules with imported functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:325:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:347:3'): get_attached_mod_three_dots does not return imported packages with three dots ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:347:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Failure ('test-box_unused_attached_mod_linter.R:50:3'): box_unused_mod_linter skips allowed three-dots attached packages ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpza8JOy/file17c10134b91bf5", line_number = 3, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:170:3'): box_unused_attached_mod_linter skips objects used in glue string templates ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpza8JOy/file17c10148d23855", line_number = 6, column_number = 5, type = "warning", message = "Attached module unused.", line = " path/to/module_b,", ranges = list(c(5, 20)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:187:3'): box_unused_attached_mod_linter skips functions used in glue string templates ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpza8JOy/file17c1017bc31d83", line_number = 6, column_number = 5, type = "warning", message = "Attached module unused.", line = " path/to/module_b,", ranges = list(c(5, 20)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:242:3'): box_unused_attached_mod_linter skips objects used in glue string templates ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpza8JOy/file17c101138cc2fd", line_number = 6, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:259:3'): box_unused_attached_mod_linter skips functions used in glue string templates ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpza8JOy/file17c1014c41acd3", line_number = 6, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_usage_linter.R:252:3'): box_usage_linter skips function lists declared in function signature ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da54420d0f", line_number = 7, column_number = 7, type = "warning", message = "<package/module>$function does not exist.", line = " module_e$summary(data$summary())", ranges = list(c(7, 22)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:41:3'): box_usage_linter skips allowed module attachment ── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpza8JOy/file17c1012cc35339", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpza8JOy/file17c1012cc35339", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_b$b_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:56:3'): box_usage_linter skips allowed module alias attachment ── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpza8JOy/file17c1016b884cff", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpza8JOy/file17c1016b884cff", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " mod_alias$b_fun_a()", ranges = list(c(3, 19)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:71:3'): box_usage_linter skips allowed module[...] attachment ── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpza8JOy/file17c10173b2a57e", line_number = 7, column_number = 3, type = "warning", message = "Function not imported nor defined.", line = " a_fun_a()", ranges = list(c(3, 9)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpza8JOy/file17c10173b2a57e", line_number = 8, column_number = 3, type = "warning", message = "Function not imported nor defined.", line = " c_fun_a()", ranges = list(c(3, 9)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:88:3'): box_usage_linter blocks package functions exported by module ── got 2 lints instead of 1 list(filename = "/home/hornik/tmp/scratch/Rtmpza8JOy/file17c10171a6ddd8", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpza8JOy/file17c10171a6ddd8", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_b$not_exist()", ranges = list(c(3, 20)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:43:3'): box_usage_linter skips allowed whole-module-imported R6 object instantiation ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpza8JOy/file17c1016473beb", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:97:5'): box_usage_linter skips allowed dynamically added data members to whole-module-imported R6 class ── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpza8JOy/file17c1013fc3bfa5", line_number = 5, column_number = 5, type = "warning", message = "<package/module>$function does not exist.", line = " module_r6$some_class$set(\"public\", \"x\", 10)", ranges = list(c(5, 28)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpza8JOy/file17c1013fc3bfa5", line_number = 6, column_number = 10, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(10, 33)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:155:5'): box_usage_linter skips allowed dynamically added data members to whole-module-imported R6 class ── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpza8JOy/file17c10137f17936", line_number = 5, column_number = 5, type = "warning", message = "<package/module>$function does not exist.", line = " module_r6$some_class$set(\"public\", \"x\", function() {", ranges = list(c(5, 28)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpza8JOy/file17c10137f17936", line_number = 8, column_number = 10, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(10, 33)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:209:3'): box_usage_linter skips allowed whole-module-imported R6 object cloning ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpza8JOy/file17c101544369fd", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:237:3'): box_usage_linter skips allowed whole-module-imported aliased R6 object instantiation ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpza8JOy/file17c101571e9702", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- mod_alias$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Failure ('test-general.R:13:3'): Should skip columns in dplyr commands ────── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da5a0f5206", 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/Rtmpao831x/file17c0da5a0f5206", 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-general.R:44:3'): Should allow modules with nothing exported, and assume all exported - namespaced. ── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da1de8d1bf", line_number = 5, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "module_all$all_fun_a()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da1de8d1bf", line_number = 6, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "module_all$all_fun_c()", ranges = list(c(1, 20)), linter = "box_usage_linter") ── Failure ('test-general.R:56:3'): Should allow modules with nothing exported, and assume all exported - function ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da76ba6a06", line_number = 2, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_all[all_fun_a]", ranges = list(c(22, 30)), linter = "box_mod_fun_exists_linter") ── Failure ('test-general.R:69:3'): Should allow modules with nothing exported, and assume all exported - dots. ── got 3 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da68f49e1f", line_number = 2, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_all[...]", ranges = list(c(3, 25)), linter = "box_unused_attached_mod_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da68f49e1f", line_number = 5, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "all_fun_a()", ranges = list(c(1, 9)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da68f49e1f", line_number = 6, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "all_fun_c()", ranges = list(c(1, 9)), linter = "box_usage_linter") ── Error ('test-get_box_module_exports.R:5:3'): get_box_module_exports returns correct list of exported functions ── Error in `get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default)`: use of NULL environment is defunct Backtrace: ▆ 1. └─box.linters:::get_box_module_exports(module) at test-get_box_module_exports.R:5:3 2. └─box:::namespace_info(mod_ns, "exports") 3. └─base::get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default) ── Error ('test-get_box_module_exports.R:12:3'): get_box_module_exports returns correct list of exported data objects ── Error in `get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default)`: use of NULL environment is defunct Backtrace: ▆ 1. └─box.linters:::get_box_module_exports(module) at test-get_box_module_exports.R:12:3 2. └─box:::namespace_info(mod_ns, "exports") 3. └─base::get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default) ── 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/Rtmpao831x/file17c0da76478a7d", 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") ── Failure ('test-non-syntactic-names.R:48:3'): Should skip allowed non-syntactic names: module special ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da1451c4b4", line_number = 3, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_nonsyntactic[`%--%`],", ranges = list(c(31, 36)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:61:3'): Should skip allowed non-syntactic names: module function ── got 1 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0daaa2f695", line_number = 3, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_nonsyntactic[`01_function`],", ranges = list(c(31, 43)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:74:3'): Should skip allowed non-syntactic names: module function three dots ── got 2 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da9c3e052", line_number = 3, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_nonsyntactic[...],", ranges = list(c(3, 34)), linter = "box_unused_attached_mod_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da9c3e052", line_number = 6, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`01_function`()", ranges = list(c(1, 13)), linter = "box_usage_linter") ── Failure ('test-non-syntactic-names.R:132:3'): Should skip allowed non-syntactic names: modules three-dots ── got 6 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da16666565", line_number = 3, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/`01_module`[...],", ranges = list(c(3, 26)), linter = "box_unused_attached_mod_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da16666565", line_number = 4, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/`__module__`[...],", ranges = list(c(3, 27)), linter = "box_unused_attached_mod_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da16666565", line_number = 7, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "a_fun_a()", ranges = list(c(1, 7)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da16666565", line_number = 8, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`01_fun`()", ranges = list(c(1, 8)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da16666565", line_number = 9, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "b_fun_a()", ranges = list(c(1, 7)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da16666565", line_number = 10, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`02_fun`()", ranges = list(c(1, 8)), linter = "box_usage_linter") ── Failure ('test-non-syntactic-names.R:149:3'): Should skip allowed non-syntactic names: modules functions ── got 4 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da3d357083", line_number = 3, column_number = 23, type = "warning", message = "Function not exported by module.", line = " path/to/`01_module`[a_fun_a, `01_fun`],", ranges = list(c(23, 29)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da3d357083", line_number = 3, column_number = 32, type = "warning", message = "Function not exported by module.", line = " path/to/`01_module`[a_fun_a, `01_fun`],", ranges = list(c(32, 39)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da3d357083", line_number = 4, column_number = 24, type = "warning", message = "Function not exported by module.", line = " path/to/`__module__`[b_fun_a, `02_fun`],", ranges = list(c(24, 30)), linter = "box_mod_fun_exists_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da3d357083", line_number = 4, column_number = 33, type = "warning", message = "Function not exported by module.", line = " path/to/`__module__`[b_fun_a, `02_fun`],", ranges = list(c(33, 40)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:166:3'): Should skip allowed non-syntactic names: modules ── got 4 lints instead of 0 list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da57a1ad7e", line_number = 7, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`01_module`$a_fun_a()", ranges = list(c(1, 19)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da57a1ad7e", line_number = 8, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`01_module`$`01_fun`()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da57a1ad7e", line_number = 9, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`__module__`$b_fun_a()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "/home/hornik/tmp/scratch/Rtmpao831x/file17c0da57a1ad7e", line_number = 10, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`__module__`$`02_fun`()", ranges = list(c(1, 21)), linter = "box_usage_linter") [ FAIL 47 | WARN 2 | SKIP 2 | PASS 378 ] Error: ! Test failures. Execution halted Flavor: r-release-linux-x86_64

Version: 0.10.6
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(box.linters) > > test_check("box.linters") Starting 2 test processes. Saving _problems/test-box_mod_fun_exists_linter-17.R Saving _problems/test-box_mod_fun_exists_linter-34.R Saving _problems/test-box_mod_fun_exists_linter-52.R Saving _problems/test-box_mod_fun_exists_linter-70.R Saving _problems/test-box_module_usage_halper_functions-26.R Saving _problems/test-box_module_usage_halper_functions-45.R Saving _problems/test-box_module_usage_halper_functions-69.R Saving _problems/test-box_module_usage_halper_functions-87.R Saving _problems/test-box_module_usage_halper_functions-123.R Saving _problems/test-box_module_usage_halper_functions-146.R Saving _problems/test-box_module_usage_halper_functions-167.R Saving _problems/test-box_module_usage_halper_functions-185.R Saving _problems/test-box_module_usage_halper_functions-221.R Saving _problems/test-box_module_usage_halper_functions-246.R Saving _problems/test-box_module_usage_halper_functions-266.R Saving _problems/test-box_module_usage_halper_functions-285.R Saving _problems/test-box_module_usage_halper_functions-307.R Saving _problems/test-box_module_usage_halper_functions-325.R Saving _problems/test-box_module_usage_halper_functions-347.R Saving _problems/test-box_unused_attached_mod_linter-50.R Saving _problems/test-box_unused_attached_mod_linter-170.R Saving _problems/test-box_unused_attached_mod_linter-187.R Saving _problems/test-box_unused_attached_mod_linter-242.R Saving _problems/test-box_unused_attached_mod_linter-259.R Saving _problems/test-box_usage_linter_modules-41.R Saving _problems/test-box_usage_linter_modules-56.R Saving _problems/test-box_usage_linter_modules-71.R Saving _problems/test-box_usage_linter_modules-88.R Saving _problems/test-box_usage_linter-252.R Saving _problems/test-box_usage_linter_r6_modules-43.R Saving _problems/test-box_usage_linter_r6_modules-97.R Saving _problems/test-box_usage_linter_r6_modules-155.R Saving _problems/test-box_usage_linter_r6_modules-209.R Saving _problems/test-box_usage_linter_r6_modules-237.R Saving _problems/test-get_box_module_exports-5.R Saving _problems/test-get_box_module_exports-12.R Saving _problems/test-general-13.R Saving _problems/test-general-44.R Saving _problems/test-general-56.R Saving _problems/test-general-69.R Saving _problems/test-non-syntactic-names-35.R Saving _problems/test-non-syntactic-names-48.R Saving _problems/test-non-syntactic-names-61.R Saving _problems/test-non-syntactic-names-74.R Saving _problems/test-non-syntactic-names-132.R Saving _problems/test-non-syntactic-names-149.R Saving _problems/test-non-syntactic-names-166.R > test-style_box_use.R: i No `box::use()` calls found. No changes were made to the text. > 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: 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: 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: 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: 0 File/s unchanged. > test-style_box_use.R: 2 File/s changed. > test-style_box_use.R: -------------------------------------------------------------------------------- [ FAIL 47 | WARN 2 | SKIP 3 | PASS 377 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • !file.exists(linters_csv_location) is TRUE (2): 'test-linter_tags.R:15:3', 'test-linter_tags.R:25:3' • On Windows (1): 'test-style_box_use.R:1508:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-box_mod_fun_exists_linter.R:17:3'): box_mod_fun_exists_linter skips valid moduke-function attachements ── got 4 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c3ea953a8", line_number = 7, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, a_fun_b],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c3ea953a8", line_number = 7, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, a_fun_b],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c3ea953a8", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c3ea953a8", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:34:3'): box_mod_fun_exists_linter is not affected by aliases ── got 4 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c67c43b49", line_number = 7, column_number = 34, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, a_fun_b],", ranges = list(c(34, 40)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c67c43b49", line_number = 7, column_number = 43, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, a_fun_b],", ranges = list(c(43, 49)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c67c43b49", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c67c43b49", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:52:3'): box_mod_fun_exists_linter blocks functions that do not exist in module ── got 4 lints instead of 1 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c6dea6de7", line_number = 7, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, not_exist],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c6dea6de7", line_number = 7, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, not_exist],", ranges = list(c(31, 39)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c6dea6de7", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c6dea6de7", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:70:3'): box_mod_fun_exists_linter blocks aliased functions that do not exist in module ── got 4 lints instead of 1 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c4850493b", line_number = 7, column_number = 34, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, not_exist],", ranges = list(c(34, 40)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c4850493b", line_number = 7, column_number = 43, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, not_exist],", ranges = list(c(43, 51)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c4850493b", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c4850493b", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Error ('test-box_module_usage_halper_functions.R:26:3'): get_attached_modules returns correct list of imported whole modules ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:26:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:45:3'): get_attached_modules returns correct list of imported whole modules in separate calls ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:45:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:69:3'): get_attached_modules does not return modules imported with '...' ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:69:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:87:3'): get_attached_modules does not return modules imported with functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:87:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:123:3'): get_attached_modules does not return aliased functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:123:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:146:7'): get_attached_modules returns correct list of imported whole modules ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:146:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:167:7'): get_attached_modules does not return modules imported with '...' ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:167:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:185:7'): get_attached_modules does not return modules imported with functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:185:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:221:7'): get_attached_modules does not return aliased functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:221:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:246:3'): get_attached_modules does not return imported packages ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:246:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:266:3'): get_attached_mod_three_dots returns correct list of imported functions ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:266:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:285:5'): get_attached_mod_three_dots returns correct list of imported functions in separate calls ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:285:5 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:307:3'): get_attached_mod_three_dots does not return whole imported modules ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:307:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:325:3'): get_attached_mod_three_dots does not return modules with imported functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:325:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:347:3'): get_attached_mod_three_dots does not return imported packages with three dots ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:347:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Failure ('test-box_unused_attached_mod_linter.R:50:3'): box_unused_mod_linter skips allowed three-dots attached packages ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpwLjg7E/file15330f981c0a", line_number = 3, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:170:3'): box_unused_attached_mod_linter skips objects used in glue string templates ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpwLjg7E/file153309263dd1", line_number = 6, column_number = 5, type = "warning", message = "Attached module unused.", line = " path/to/module_b,", ranges = list(c(5, 20)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:187:3'): box_unused_attached_mod_linter skips functions used in glue string templates ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpwLjg7E/file153304dad4b1", line_number = 6, column_number = 5, type = "warning", message = "Attached module unused.", line = " path/to/module_b,", ranges = list(c(5, 20)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:242:3'): box_unused_attached_mod_linter skips objects used in glue string templates ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpwLjg7E/file153303fa86400", line_number = 6, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:259:3'): box_unused_attached_mod_linter skips functions used in glue string templates ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpwLjg7E/file1533071f91576", line_number = 6, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_usage_linter_modules.R:41:3'): box_usage_linter skips allowed module attachment ── got 2 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpwLjg7E/file1533070ee261", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpwLjg7E/file1533070ee261", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_b$b_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:56:3'): box_usage_linter skips allowed module alias attachment ── got 2 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpwLjg7E/file153304fe61895", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpwLjg7E/file153304fe61895", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " mod_alias$b_fun_a()", ranges = list(c(3, 19)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:71:3'): box_usage_linter skips allowed module[...] attachment ── got 2 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpwLjg7E/file1533037db14d3", line_number = 7, column_number = 3, type = "warning", message = "Function not imported nor defined.", line = " a_fun_a()", ranges = list(c(3, 9)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpwLjg7E/file1533037db14d3", line_number = 8, column_number = 3, type = "warning", message = "Function not imported nor defined.", line = " c_fun_a()", ranges = list(c(3, 9)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:88:3'): box_usage_linter blocks package functions exported by module ── got 2 lints instead of 1 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpwLjg7E/file1533047b61b5b", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpwLjg7E/file1533047b61b5b", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_b$not_exist()", ranges = list(c(3, 20)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter.R:252:3'): box_usage_linter skips function lists declared in function signature ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c32d94887", line_number = 7, column_number = 7, type = "warning", message = "<package/module>$function does not exist.", line = " module_e$summary(data$summary())", ranges = list(c(7, 22)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:43:3'): box_usage_linter skips allowed whole-module-imported R6 object instantiation ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c290d2c8", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:97:5'): box_usage_linter skips allowed dynamically added data members to whole-module-imported R6 class ── got 2 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c1e5577bf", line_number = 5, column_number = 5, type = "warning", message = "<package/module>$function does not exist.", line = " module_r6$some_class$set(\"public\", \"x\", 10)", ranges = list(c(5, 28)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c1e5577bf", line_number = 6, column_number = 10, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(10, 33)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:155:5'): box_usage_linter skips allowed dynamically added data members to whole-module-imported R6 class ── got 2 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c37195e84", line_number = 5, column_number = 5, type = "warning", message = "<package/module>$function does not exist.", line = " module_r6$some_class$set(\"public\", \"x\", function() {", ranges = list(c(5, 28)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c37195e84", line_number = 8, column_number = 10, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(10, 33)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:209:3'): box_usage_linter skips allowed whole-module-imported R6 object cloning ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c4853732", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:237:3'): box_usage_linter skips allowed whole-module-imported aliased R6 object instantiation ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c50413f", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- mod_alias$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Error ('test-get_box_module_exports.R:5:3'): get_box_module_exports returns correct list of exported functions ── Error in `get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default)`: use of NULL environment is defunct Backtrace: ▆ 1. └─box.linters:::get_box_module_exports(module) at test-get_box_module_exports.R:5:3 2. └─box:::namespace_info(mod_ns, "exports") 3. └─base::get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default) ── Error ('test-get_box_module_exports.R:12:3'): get_box_module_exports returns correct list of exported data objects ── Error in `get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default)`: use of NULL environment is defunct Backtrace: ▆ 1. └─box.linters:::get_box_module_exports(module) at test-get_box_module_exports.R:12:3 2. └─box:::namespace_info(mod_ns, "exports") 3. └─base::get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default) ── Failure ('test-general.R:13:3'): Should skip columns in dplyr commands ────── got 2 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpwLjg7E/file153303bb5ad4", 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 = "D:/temp/2025_12_03_01_50_00_178/RtmpwLjg7E/file153303bb5ad4", 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-general.R:44:3'): Should allow modules with nothing exported, and assume all exported - namespaced. ── got 2 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpwLjg7E/file153301fb43f8b", line_number = 5, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "module_all$all_fun_a()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpwLjg7E/file153301fb43f8b", line_number = 6, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "module_all$all_fun_c()", ranges = list(c(1, 20)), linter = "box_usage_linter") ── Failure ('test-general.R:56:3'): Should allow modules with nothing exported, and assume all exported - function ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpwLjg7E/file1533034bc66d2", line_number = 2, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_all[all_fun_a]", ranges = list(c(22, 30)), linter = "box_mod_fun_exists_linter") ── Failure ('test-general.R:69:3'): Should allow modules with nothing exported, and assume all exported - dots. ── got 3 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpwLjg7E/file153305ece424a", line_number = 2, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_all[...]", ranges = list(c(3, 25)), linter = "box_unused_attached_mod_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpwLjg7E/file153305ece424a", line_number = 5, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "all_fun_a()", ranges = list(c(1, 9)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpwLjg7E/file153305ece424a", line_number = 6, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "all_fun_c()", ranges = list(c(1, 9)), linter = "box_usage_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 = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65cc8f3bbd", 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") ── Failure ('test-non-syntactic-names.R:48:3'): Should skip allowed non-syntactic names: module special ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c1e662d9a", line_number = 3, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_nonsyntactic[`%--%`],", ranges = list(c(31, 36)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:61:3'): Should skip allowed non-syntactic names: module function ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c689850ac", line_number = 3, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_nonsyntactic[`01_function`],", ranges = list(c(31, 43)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:74:3'): Should skip allowed non-syntactic names: module function three dots ── got 2 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c8581af3", line_number = 3, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_nonsyntactic[...],", ranges = list(c(3, 34)), linter = "box_unused_attached_mod_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c8581af3", line_number = 6, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`01_function`()", ranges = list(c(1, 13)), linter = "box_usage_linter") ── Failure ('test-non-syntactic-names.R:132:3'): Should skip allowed non-syntactic names: modules three-dots ── got 6 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c2d13e24", line_number = 3, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/`01_module`[...],", ranges = list(c(3, 26)), linter = "box_unused_attached_mod_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c2d13e24", line_number = 4, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/`__module__`[...],", ranges = list(c(3, 27)), linter = "box_unused_attached_mod_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c2d13e24", line_number = 7, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "a_fun_a()", ranges = list(c(1, 7)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c2d13e24", line_number = 8, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`01_fun`()", ranges = list(c(1, 8)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c2d13e24", line_number = 9, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "b_fun_a()", ranges = list(c(1, 7)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c2d13e24", line_number = 10, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`02_fun`()", ranges = list(c(1, 8)), linter = "box_usage_linter") ── Failure ('test-non-syntactic-names.R:149:3'): Should skip allowed non-syntactic names: modules functions ── got 4 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c2759562c", line_number = 3, column_number = 23, type = "warning", message = "Function not exported by module.", line = " path/to/`01_module`[a_fun_a, `01_fun`],", ranges = list(c(23, 29)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c2759562c", line_number = 3, column_number = 32, type = "warning", message = "Function not exported by module.", line = " path/to/`01_module`[a_fun_a, `01_fun`],", ranges = list(c(32, 39)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c2759562c", line_number = 4, column_number = 24, type = "warning", message = "Function not exported by module.", line = " path/to/`__module__`[b_fun_a, `02_fun`],", ranges = list(c(24, 30)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c2759562c", line_number = 4, column_number = 33, type = "warning", message = "Function not exported by module.", line = " path/to/`__module__`[b_fun_a, `02_fun`],", ranges = list(c(33, 40)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:166:3'): Should skip allowed non-syntactic names: modules ── got 4 lints instead of 0 list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c56c1cdd", line_number = 7, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`01_module`$a_fun_a()", ranges = list(c(1, 19)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c56c1cdd", line_number = 8, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`01_module`$`01_fun`()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c56c1cdd", line_number = 9, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`__module__`$b_fun_a()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_03_01_50_00_178/RtmpYVKzGa/fileb65c56c1cdd", line_number = 10, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`__module__`$`02_fun`()", ranges = list(c(1, 21)), linter = "box_usage_linter") [ FAIL 47 | WARN 2 | SKIP 3 | PASS 377 ] Error: ! Test failures. Execution halted Flavor: r-release-windows-x86_64

Version: 0.10.6
Check: tests
Result: ERROR Running 'testthat.R' [23s] 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_mod_fun_exists_linter-17.R Saving _problems/test-box_mod_fun_exists_linter-34.R Saving _problems/test-box_mod_fun_exists_linter-52.R Saving _problems/test-box_mod_fun_exists_linter-70.R Saving _problems/test-box_module_usage_halper_functions-26.R Saving _problems/test-box_module_usage_halper_functions-45.R Saving _problems/test-box_module_usage_halper_functions-69.R Saving _problems/test-box_module_usage_halper_functions-87.R Saving _problems/test-box_module_usage_halper_functions-123.R Saving _problems/test-box_module_usage_halper_functions-146.R Saving _problems/test-box_module_usage_halper_functions-167.R Saving _problems/test-box_module_usage_halper_functions-185.R Saving _problems/test-box_module_usage_halper_functions-221.R Saving _problems/test-box_module_usage_halper_functions-246.R Saving _problems/test-box_module_usage_halper_functions-266.R Saving _problems/test-box_module_usage_halper_functions-285.R Saving _problems/test-box_module_usage_halper_functions-307.R Saving _problems/test-box_module_usage_halper_functions-325.R Saving _problems/test-box_module_usage_halper_functions-347.R Saving _problems/test-box_unused_attached_mod_linter-50.R Saving _problems/test-box_unused_attached_mod_linter-170.R Saving _problems/test-box_unused_attached_mod_linter-187.R Saving _problems/test-box_unused_attached_mod_linter-242.R Saving _problems/test-box_unused_attached_mod_linter-259.R Saving _problems/test-box_usage_linter-252.R Saving _problems/test-box_usage_linter_modules-41.R Saving _problems/test-box_usage_linter_modules-56.R Saving _problems/test-box_usage_linter_modules-71.R Saving _problems/test-box_usage_linter_modules-88.R Saving _problems/test-box_usage_linter_r6_modules-43.R Saving _problems/test-box_usage_linter_r6_modules-97.R Saving _problems/test-box_usage_linter_r6_modules-155.R Saving _problems/test-box_usage_linter_r6_modules-209.R Saving _problems/test-box_usage_linter_r6_modules-237.R Saving _problems/test-get_box_module_exports-5.R Saving _problems/test-get_box_module_exports-12.R Saving _problems/test-general-13.R Saving _problems/test-general-44.R Saving _problems/test-general-56.R Saving _problems/test-general-69.R Saving _problems/test-non-syntactic-names-35.R Saving _problems/test-non-syntactic-names-48.R Saving _problems/test-non-syntactic-names-61.R Saving _problems/test-non-syntactic-names-74.R Saving _problems/test-non-syntactic-names-132.R Saving _problems/test-non-syntactic-names-149.R Saving _problems/test-non-syntactic-names-166.R > test-style_box_use.R: i No `box::use()` calls found. No changes were made to the text. > 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: 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: 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: 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: 0 File/s unchanged. > test-style_box_use.R: 2 File/s changed. > test-style_box_use.R: -------------------------------------------------------------------------------- [ FAIL 47 | WARN 2 | SKIP 3 | PASS 377 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • !file.exists(linters_csv_location) is TRUE (2): 'test-linter_tags.R:15:3', 'test-linter_tags.R:25:3' • On Windows (1): 'test-style_box_use.R:1508:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-box_mod_fun_exists_linter.R:17:3'): box_mod_fun_exists_linter skips valid moduke-function attachements ── got 4 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc830066dea", line_number = 7, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, a_fun_b],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc830066dea", line_number = 7, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, a_fun_b],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc830066dea", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc830066dea", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:34:3'): box_mod_fun_exists_linter is not affected by aliases ── got 4 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc81b7b5770", line_number = 7, column_number = 34, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, a_fun_b],", ranges = list(c(34, 40)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc81b7b5770", line_number = 7, column_number = 43, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, a_fun_b],", ranges = list(c(43, 49)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc81b7b5770", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc81b7b5770", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:52:3'): box_mod_fun_exists_linter blocks functions that do not exist in module ── got 4 lints instead of 1 list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc822481ed8", line_number = 7, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, not_exist],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc822481ed8", line_number = 7, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[a_fun_a, not_exist],", ranges = list(c(31, 39)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc822481ed8", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc822481ed8", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Failure ('test-box_mod_fun_exists_linter.R:70:3'): box_mod_fun_exists_linter blocks aliased functions that do not exist in module ── got 4 lints instead of 1 list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc8444e1b0c", line_number = 7, column_number = 34, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, not_exist],", ranges = list(c(34, 40)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc8444e1b0c", line_number = 7, column_number = 43, type = "warning", message = "Function not exported by module.", line = " path/to/module_a[fun_alias = a_fun_a, not_exist],", ranges = list(c(43, 51)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc8444e1b0c", line_number = 8, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(22, 28)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc8444e1b0c", line_number = 8, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_b[b_fun_b, b_obj_a],", ranges = list(c(31, 37)), linter = "box_mod_fun_exists_linter") ── Error ('test-box_module_usage_halper_functions.R:26:3'): get_attached_modules returns correct list of imported whole modules ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:26:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:45:3'): get_attached_modules returns correct list of imported whole modules in separate calls ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:45:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:69:3'): get_attached_modules does not return modules imported with '...' ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:69:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:87:3'): get_attached_modules does not return modules imported with functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:87:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:123:3'): get_attached_modules does not return aliased functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:123:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:146:7'): get_attached_modules returns correct list of imported whole modules ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:146:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:167:7'): get_attached_modules does not return modules imported with '...' ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:167:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:185:7'): get_attached_modules does not return modules imported with functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:185:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:221:7'): get_attached_modules does not return aliased functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:221:7 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:246:3'): get_attached_modules does not return imported packages ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:246:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:266:3'): get_attached_mod_three_dots returns correct list of imported functions ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:266:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:285:5'): get_attached_mod_three_dots returns correct list of imported functions in separate calls ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:285:5 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:307:3'): get_attached_mod_three_dots does not return whole imported modules ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:307:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:325:3'): get_attached_mod_three_dots does not return modules with imported functions ── Error in `expect_setequal(results$nested$module_b, module_b_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_b) at test-box_module_usage_halper_functions.R:325:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Error ('test-box_module_usage_halper_functions.R:347:3'): get_attached_mod_three_dots does not return imported packages with three dots ── Error in `expect_setequal(results$nested$module_a, module_a_objects)`: `object` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_setequal(object = results$nested$module_a) at test-box_module_usage_halper_functions.R:347:3 2. └─testthat:::check_vector(act$val, error_arg = "object") 3. └─testthat:::stop_input_type(x, "a vector", arg = error_arg, call = error_call) 4. └─rlang::abort(message, ..., call = call, arg = arg) ── Failure ('test-box_unused_attached_mod_linter.R:50:3'): box_unused_mod_linter skips allowed three-dots attached packages ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc8f5361d0", line_number = 3, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:170:3'): box_unused_attached_mod_linter skips objects used in glue string templates ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc83436317", line_number = 6, column_number = 5, type = "warning", message = "Attached module unused.", line = " path/to/module_b,", ranges = list(c(5, 20)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:187:3'): box_unused_attached_mod_linter skips functions used in glue string templates ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc85a47f27", line_number = 6, column_number = 5, type = "warning", message = "Attached module unused.", line = " path/to/module_b,", ranges = list(c(5, 20)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:242:3'): box_unused_attached_mod_linter skips objects used in glue string templates ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc817f5124", line_number = 6, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_unused_attached_mod_linter.R:259:3'): box_unused_attached_mod_linter skips functions used in glue string templates ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc840e96e7d", line_number = 6, column_number = 5, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_b[...],", ranges = list(c(5, 25)), linter = "box_unused_attached_mod_linter") ── Failure ('test-box_usage_linter.R:252:3'): box_usage_linter skips function lists declared in function signature ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc87aeb6fef", line_number = 7, column_number = 7, type = "warning", message = "<package/module>$function does not exist.", line = " module_e$summary(data$summary())", ranges = list(c(7, 22)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:41:3'): box_usage_linter skips allowed module attachment ── got 2 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f8660d79a9", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f8660d79a9", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_b$b_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:56:3'): box_usage_linter skips allowed module alias attachment ── got 2 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f8310f5e49", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f8310f5e49", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " mod_alias$b_fun_a()", ranges = list(c(3, 19)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:71:3'): box_usage_linter skips allowed module[...] attachment ── got 2 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f832e8d48", line_number = 7, column_number = 3, type = "warning", message = "Function not imported nor defined.", line = " a_fun_a()", ranges = list(c(3, 9)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f832e8d48", line_number = 8, column_number = 3, type = "warning", message = "Function not imported nor defined.", line = " c_fun_a()", ranges = list(c(3, 9)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_modules.R:88:3'): box_usage_linter blocks package functions exported by module ── got 2 lints instead of 1 list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f826cb6bad", line_number = 6, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_a$a_fun_a()", ranges = list(c(3, 18)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f826cb6bad", line_number = 7, column_number = 3, type = "warning", message = "<package/module>$function does not exist.", line = " module_b$not_exist()", ranges = list(c(3, 20)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:43:3'): box_usage_linter skips allowed whole-module-imported R6 object instantiation ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f85191ba", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:97:5'): box_usage_linter skips allowed dynamically added data members to whole-module-imported R6 class ── got 2 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f8207711e", line_number = 5, column_number = 5, type = "warning", message = "<package/module>$function does not exist.", line = " module_r6$some_class$set(\"public\", \"x\", 10)", ranges = list(c(5, 28)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f8207711e", line_number = 6, column_number = 10, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(10, 33)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:155:5'): box_usage_linter skips allowed dynamically added data members to whole-module-imported R6 class ── got 2 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f83b2f1929", line_number = 5, column_number = 5, type = "warning", message = "<package/module>$function does not exist.", line = " module_r6$some_class$set(\"public\", \"x\", function() {", ranges = list(c(5, 28)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f83b2f1929", line_number = 8, column_number = 10, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(10, 33)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:209:3'): box_usage_linter skips allowed whole-module-imported R6 object cloning ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f8e10422", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- module_r6$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Failure ('test-box_usage_linter_r6_modules.R:237:3'): box_usage_linter skips allowed whole-module-imported aliased R6 object instantiation ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f87b255a8f", line_number = 5, column_number = 8, type = "warning", message = "<package/module>$function does not exist.", line = " s <- mod_alias$some_class$new()", ranges = list(c(8, 31)), linter = "box_usage_linter") ── Error ('test-get_box_module_exports.R:5:3'): get_box_module_exports returns correct list of exported functions ── Error in `get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default)`: use of NULL environment is defunct Backtrace: ▆ 1. └─box.linters:::get_box_module_exports(module) at test-get_box_module_exports.R:5:3 2. └─box:::namespace_info(mod_ns, "exports") 3. └─base::get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default) ── Error ('test-get_box_module_exports.R:12:3'): get_box_module_exports returns correct list of exported data objects ── Error in `get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default)`: use of NULL environment is defunct Backtrace: ▆ 1. └─box.linters:::get_box_module_exports(module) at test-get_box_module_exports.R:12:3 2. └─box:::namespace_info(mod_ns, "exports") 3. └─base::get0(which, ns$.__module__., inherits = FALSE, ifnotfound = default) ── Failure ('test-general.R:13:3'): Should skip columns in dplyr commands ────── got 2 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc8478162a9", 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 = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc8478162a9", 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-general.R:44:3'): Should allow modules with nothing exported, and assume all exported - namespaced. ── got 2 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc82f4f5d86", line_number = 5, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "module_all$all_fun_a()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc82f4f5d86", line_number = 6, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "module_all$all_fun_c()", ranges = list(c(1, 20)), linter = "box_usage_linter") ── Failure ('test-general.R:56:3'): Should allow modules with nothing exported, and assume all exported - function ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc864e27f2a", line_number = 2, column_number = 22, type = "warning", message = "Function not exported by module.", line = " path/to/module_all[all_fun_a]", ranges = list(c(22, 30)), linter = "box_mod_fun_exists_linter") ── Failure ('test-general.R:69:3'): Should allow modules with nothing exported, and assume all exported - dots. ── got 3 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc8566a6fee", line_number = 2, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_all[...]", ranges = list(c(3, 25)), linter = "box_unused_attached_mod_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc8566a6fee", line_number = 5, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "all_fun_a()", ranges = list(c(1, 9)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/RtmpczS380/file8bc8566a6fee", line_number = 6, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "all_fun_c()", ranges = list(c(1, 9)), linter = "box_usage_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 = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f832d84c26", 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") ── Failure ('test-non-syntactic-names.R:48:3'): Should skip allowed non-syntactic names: module special ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f84d524cae", line_number = 3, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_nonsyntactic[`%--%`],", ranges = list(c(31, 36)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:61:3'): Should skip allowed non-syntactic names: module function ── got 1 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f85f9217a1", line_number = 3, column_number = 31, type = "warning", message = "Function not exported by module.", line = " path/to/module_nonsyntactic[`01_function`],", ranges = list(c(31, 43)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:74:3'): Should skip allowed non-syntactic names: module function three dots ── got 2 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f83ad25b01", line_number = 3, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/module_nonsyntactic[...],", ranges = list(c(3, 34)), linter = "box_unused_attached_mod_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f83ad25b01", line_number = 6, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`01_function`()", ranges = list(c(1, 13)), linter = "box_usage_linter") ── Failure ('test-non-syntactic-names.R:132:3'): Should skip allowed non-syntactic names: modules three-dots ── got 6 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f85344f2", line_number = 3, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/`01_module`[...],", ranges = list(c(3, 26)), linter = "box_unused_attached_mod_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f85344f2", line_number = 4, column_number = 3, type = "warning", message = "Three-dots attached module unused.", line = " path/to/`__module__`[...],", ranges = list(c(3, 27)), linter = "box_unused_attached_mod_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f85344f2", line_number = 7, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "a_fun_a()", ranges = list(c(1, 7)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f85344f2", line_number = 8, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`01_fun`()", ranges = list(c(1, 8)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f85344f2", line_number = 9, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "b_fun_a()", ranges = list(c(1, 7)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f85344f2", line_number = 10, column_number = 1, type = "warning", message = "Function not imported nor defined.", line = "`02_fun`()", ranges = list(c(1, 8)), linter = "box_usage_linter") ── Failure ('test-non-syntactic-names.R:149:3'): Should skip allowed non-syntactic names: modules functions ── got 4 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f852415122", line_number = 3, column_number = 23, type = "warning", message = "Function not exported by module.", line = " path/to/`01_module`[a_fun_a, `01_fun`],", ranges = list(c(23, 29)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f852415122", line_number = 3, column_number = 32, type = "warning", message = "Function not exported by module.", line = " path/to/`01_module`[a_fun_a, `01_fun`],", ranges = list(c(32, 39)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f852415122", line_number = 4, column_number = 24, type = "warning", message = "Function not exported by module.", line = " path/to/`__module__`[b_fun_a, `02_fun`],", ranges = list(c(24, 30)), linter = "box_mod_fun_exists_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f852415122", line_number = 4, column_number = 33, type = "warning", message = "Function not exported by module.", line = " path/to/`__module__`[b_fun_a, `02_fun`],", ranges = list(c(33, 40)), linter = "box_mod_fun_exists_linter") ── Failure ('test-non-syntactic-names.R:166:3'): Should skip allowed non-syntactic names: modules ── got 4 lints instead of 0 list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f8480eac8", line_number = 7, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`01_module`$a_fun_a()", ranges = list(c(1, 19)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f8480eac8", line_number = 8, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`01_module`$`01_fun`()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f8480eac8", line_number = 9, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`__module__`$b_fun_a()", ranges = list(c(1, 20)), linter = "box_usage_linter") list(filename = "D:/temp/2025_12_08_01_50_00_1885/Rtmpkp9NtR/file1b8f8480eac8", line_number = 10, column_number = 1, type = "warning", message = "<package/module>$function does not exist.", line = "`__module__`$`02_fun`()", ranges = list(c(1, 21)), linter = "box_usage_linter") [ FAIL 47 | WARN 2 | SKIP 3 | PASS 377 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64