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
  [ FAIL 5 | WARN 0 | SKIP 2 | PASS 423 ]
  
  ══ 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_unused_attached_pkg_linter.R:23:3'): box_unused_pkg_linter skips used attached packages ──
  got 1 lints instead of 0
  list(filename = "/home/hornik/tmp/scratch/RtmpfeZP6x/file3cb5e379003c8b", line_number = 4, column_number = 5, type = "warning", message = "Three-dots attached package unused.", line = "    shiny[...]", ranges = list(c(5, 9)), linter = "box_unused_attached_pkg_linter")
  ── Failure ('test-box_unused_attached_pkg_linter.R:48:3'): box_unused_pkg_linter skips used attached aliased packages ──
  got 1 lints instead of 0
  list(filename = "/home/hornik/tmp/scratch/RtmpfeZP6x/file3cb5e348bc9cd3", line_number = 4, column_number = 5, type = "warning", message = "Three-dots attached package unused.", line = "    shiny[...]", ranges = list(c(5, 9)), linter = "box_unused_attached_pkg_linter")
  ── Failure ('test-box_unused_attached_pkg_linter.R:71:3'): box_unused_pkg_linter blocks unused attached packages ──
  got 2 lints instead of 1
  list(filename = "/home/hornik/tmp/scratch/RtmpfeZP6x/file3cb5e32fa0ea98", line_number = 3, column_number = 5, type = "warning", message = "Attached package unused.", line = "    glue,", ranges = list(c(5, 8)), linter = "box_unused_attached_pkg_linter")
  list(filename = "/home/hornik/tmp/scratch/RtmpfeZP6x/file3cb5e32fa0ea98", line_number = 4, column_number = 5, type = "warning", message = "Three-dots attached package unused.", line = "    shiny[...]", ranges = list(c(5, 9)), linter = "box_unused_attached_pkg_linter")
  ── Failure ('test-box_unused_attached_pkg_linter.R:94:3'): box_unused_pkg_linter blocks unused attached aliased packages ──
  got 2 lints instead of 1
  list(filename = "/home/hornik/tmp/scratch/RtmpfeZP6x/file3cb5e3632632b7", line_number = 3, column_number = 17, type = "warning", message = "Attached package unused.", line = "    pkg_alias = glue,", ranges = list(c(17, 20)), linter = "box_unused_attached_pkg_linter")
  list(filename = "/home/hornik/tmp/scratch/RtmpfeZP6x/file3cb5e3632632b7", line_number = 4, column_number = 5, type = "warning", message = "Three-dots attached package unused.", line = "    shiny[...]", ranges = list(c(5, 9)), linter = "box_unused_attached_pkg_linter")
  ── Error ('test-use_box_lintr.R:19:3'): use_box_lintr with type = rhino also works ──
  Error in `use_box_lintr(path = tmp, type = "rhino")`: The `rhino` package cannot be found. Please install with: install.packages("rhino").
  Backtrace:
      ▆
   1. └─box.linters::use_box_lintr(path = tmp, type = "rhino") at test-use_box_lintr.R:19:3
   2.   └─cli::cli_abort("The `rhino` package cannot be found. Please install with: install.packages(\"rhino\").")
   3.     └─rlang::abort(...)
  
  [ FAIL 5 | WARN 0 | SKIP 2 | PASS 423 ]
  Error: Test failures
  Execution halted