Running ‘testthat.R’ [43s/47s]
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/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(RplotterPkg)
  
  Attaching package: 'RplotterPkg'
  
  The following object is masked from 'package:datasets':
  
      sleep
  
  > 
  > test_check("RplotterPkg")
  Saving _problems/test-create_box_plot-28.R
  Saving _problems/test-create_box_plot-57.R
  [ FAIL 2 | WARN 34 | SKIP 29 | PASS 120 ]
  
  ══ Skipped tests (29) ══════════════════════════════════════════════════════════
  • On CRAN (29): 'test-create_bar_plot.R:8:1', 'test-create_bar_plot.R:30:1',
    'test-create_bar_plot.R:49:1', 'test-create_box_plot.R:63:1',
    'test-create_density_plot.R:8:1', 'test-create_density_plot.R:30:1',
    'test-create_density_plot.R:50:1', 'test-create_density_plot.R:70:1',
    'test-create_density_ridge_plot.R:10:1', 'test-create_heatmap.R:9:1',
    'test-create_histogram_plot.R:7:1', 'test-create_histogram_plot.R:37:1',
    'test-create_range_plot.R:7:1', 'test-create_raster_plot.R:6:1',
    'test-create_scatter_plot.R:6:1', 'test-create_scatter_plot.R:36:1',
    'test-create_scatter_plot.R:58:1', 'test-create_sf_plot.R:7:1',
    'test-create_stick_plot.R:6:1', 'test-create_table.R:9:1',
    'test-create_table_graphic.R:8:1', 'test-create_waffle_chart.R:8:1',
    'test-create_waffle_chart.R:26:1', 'test-get_grob_component.R:7:1',
    'test-multi_panel_grid.R:9:1', 'test-percentile_table.R:7:1',
    'test-spread_level_plot.R:7:1', 'test-stem_leaf_display.R:10:1',
    'test-symmetry_plot.R:7:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-create_box_plot.R:9:3'): create_box_plot() aes_y aes_label ─────
  Error in ``[.data.table`(dt, , `:=`(outliers, check_outlier(get(aes_y))), by = aes_x)`: attempt access index 7/7 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─RplotterPkg::create_box_plot(...)
   2.   ├─dt[, `:=`(outliers, check_outlier(get(aes_y))), by = aes_x]
   3.   └─data.table:::`[.data.table`(...)
  ── Error ('test-create_box_plot.R:35:3'): create_box_plot() aes_x, aes_y aes_label ──
  Error in ``[.data.table`(dt, , `:=`(outliers, check_outlier(get(aes_y))), by = aes_x)`: attempt access index 2/2 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─RplotterPkg::create_box_plot(...)
   2.   ├─dt[, `:=`(outliers, check_outlier(get(aes_y))), by = aes_x]
   3.   └─data.table:::`[.data.table`(...)
  
  [ FAIL 2 | WARN 34 | SKIP 29 | PASS 120 ]
  Error:
  ! Test failures.
  Execution halted