Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [93s/49s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(saros)
  > 
  > testthat::test_check("saros")
  Starting 2 test processes.
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots1.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots2.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots3.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots4.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots5.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots6.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots7.pdf")
  Saving _problems/test-make_content.cat_plot_docx-27.R
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots8.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots9.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots10.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots11.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots12.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots13.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots14.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots15.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots16.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots17.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots18.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots19.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots20.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots21.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots22.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots23.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots24.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots25.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots26.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots27.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots28.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots29.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots30.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots31.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots32.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots33.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots34.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots35.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots36.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots37.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots38.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots39.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots40.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots41.pdf")
  > test-makeme-int-plot-html-snapshots.R: $Target
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots42.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots43.pdf")
  > test-makeme-int-plot-html-snapshots.R: 
  > test-makeme-int-plot-html-snapshots.R: $Others
  > test-makeme-int-plot-html-snapshots.R: 
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots44.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots45.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots46.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots47.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots48.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots49.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots50.pdf")
  > test-crowd_plots_as_tabset.R: dev.new(): using pdf(file="Rplots51.pdf")
  > test-tabular-read.R: Rows: 3 Columns: 3
  > test-tabular-read.R: -- Column specification --------------------------------------------------------
  > test-tabular-read.R: Delimiter: ","
  > test-tabular-read.R: chr (1): name
  > test-tabular-read.R: dbl (2): id, value
  > test-tabular-read.R: 
  > test-tabular-read.R: i Use `spec()` to retrieve the full column specification for this data.
  > test-tabular-read.R: i Specify the column types or set `show_col_types = FALSE` to quiet this message.
  > test-tabular-read.R: Rows: 3 Columns: 3
  > test-tabular-read.R: -- Column specification --------------------------------------------------------
  > test-tabular-read.R: Delimiter: "\t"
  > test-tabular-read.R: chr (1): name
  > test-tabular-read.R: dbl (2): id, value
  > test-tabular-read.R: 
  > test-tabular-read.R: i Use `spec()` to retrieve the full column specification for this data.
  > test-tabular-read.R: i Specify the column types or set `show_col_types = FALSE` to quiet this message.
  > test-tabular-read.R: Rows: 0 Columns: 0
  > test-tabular-read.R: 
  > test-tabular-read.R: i Use `spec()` to retrieve the full column specification for this data.
  > test-tabular-read.R: i Specify the column types or set `show_col_types = FALSE` to quiet this message.
  > test-tabular-read.R: Rows: 3 Columns: 2
  > test-tabular-read.R: -- Column specification --------------------------------------------------------
  > test-tabular-read.R: Delimiter: ","
  > test-tabular-read.R: chr (1): text
  > test-tabular-read.R: dbl (1): numbers
  > test-tabular-read.R: 
  > test-tabular-read.R: i Use `spec()` to retrieve the full column specification for this data.
  > test-tabular-read.R: i Specify the column types or set `show_col_types = FALSE` to quiet this message.
  > test-txt_from_cat_mesos_plots.R: "options('saros')$makeme_defaults" has now been reset to factory defaults.
  > test-txt_from_cat_mesos_plots.R: "options('saros')$makeme_defaults" has now been reset to factory defaults.
  > test-txt_from_cat_mesos_plots.R: "options('saros')$makeme_defaults" has now been reset to factory defaults.
  > test-utils-makeme_helpers.R: i Variables `var2` were selected for both dep and indep.
  > test-utils-makeme_helpers.R: i Automatically excluding them from dep to prevent conflicts.
  > test-utils-makeme_helpers.R: i Variables `var1` and `var2` were selected for both dep and indep.
  > test-utils-makeme_helpers.R: i Automatically excluding them from dep to prevent conflicts.
  [ FAIL 1 | WARN 0 | SKIP 21 | PASS 964 ]
  
  ══ Skipped tests (21) ══════════════════════════════════════════════════════════
  • On CRAN (20): 'test-get_fig_title_suffix_from_ggplot.R:77:3',
    'test-get_fig_title_suffix_from_ggplot.R:106:3',
    'test-get_fig_title_suffix_from_ggplot.R:124:3',
    'test-get_fig_title_suffix_from_ggplot.R:144:3',
    'test-get_fig_title_suffix_from_ggplot.R:187:3',
    'test-girafe-binary-colors.R:2:3', 'test-girafe-binary-colors.R:32:3',
    'test-girafe-binary-colors.R:61:3', 'test-issue-500.R:2:3',
    'test-make_content.cat_plot_html.R:15:1',
    'test-makeme-int-plot-html-snapshots.R:16:1',
    'test-makeme-int-plot-html-snapshots.R:26:1',
    'test-makeme-int-plot-html-snapshots.R:36:1',
    'test-makeme-int-plot-html-snapshots.R:47:1',
    'test-makeme-int-plot-html-snapshots.R:58:1',
    'test-makeme-int-plot-html-snapshots.R:70:1',
    'test-makeme-int-plot-html-snapshots.R:82:1',
    'test-makeme-int-plot-html-snapshots.R:101:1',
    'test-makeme-int-plot-html-snapshots.R:117:1',
    'test-makeme-int-plot-html-snapshots.R:131:1'
  • {svglite} is not installed (1): 'test-utils-ggsaver.R:38:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-make_content.cat_plot_docx.R:8:7'): chart cat_docx ─────────────
  Error in ``[.data.table`(dataset, , `:=`(c(".fake_id."), list(seq_len(.N))), by = c(x, group))`: attempt access index 22/22 in VECTOR_ELT
  Backtrace:
       ▆
    1. ├─testthat::expect_s3_class(...) at test-make_content.cat_plot_docx.R:6:3
    2. │ └─testthat::quasi_label(enquo(object))
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─saros::makeme(...) at test-make_content.cat_plot_docx.R:8:7
    5.   └─saros:::process_all_crowds(...)
    6.     └─saros:::process_crowd_data(...)
    7.       ├─base::suppressPackageStartupMessages(...)
    8.       │ └─base::withCallingHandlers(expr, packageStartupMessage = function(c) tryInvokeRestart("muffleMessage"))
    9.       ├─rlang::exec(...)
   10.       ├─saros (local) `<fn>`(...)
   11.       └─saros:::make_content.cat_prop_plot_docx(...)
   12.         └─mschart::ms_barchart(...)
   13.           └─mschart:::ms_chart(...)
   14.             └─mschart (local) excel_data_setup(out)
   15.               └─mschart:::dcast_data(data = x$data, x = x$x, y = x$y, group = x$group)
   16.                 ├─...[]
   17.                 └─data.table:::`[.data.table`(...)
  
  [ FAIL 1 | WARN 0 | SKIP 21 | PASS 964 ]
  Error:
  ! Test failures.
  Execution halted