Last updated on 2025-05-15 07:50:09 CEST.
Package | ERROR | OK |
---|---|---|
gtExtras | 8 | 5 |
Current CRAN status: ERROR: 8, OK: 5
Version: 0.5.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [60s/32s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(gtExtras)
Loading required package: gt
Attaching package: 'gt'
The following object is masked from 'package:testthat':
matches
Attaching package: 'gtExtras'
The following object is masked from 'package:testthat':
matches
>
> test_check("gtExtras")
Starting 2 test processes
[ FAIL 22 | WARN 15 | SKIP 23 | PASS 94 ]
══ Skipped tests (23) ══════════════════════════════════════════════════════════
• On CRAN (23): 'test-fmt_pad_num.R:3:3', 'test-fmt_symbol_first.R:56:3',
'test-fmt_symbol_first.R:61:3', 'test-fmt_symbol_first.R:66:3',
'test-fmt_symbol_first.R:71:3', 'test-fmt_pct_extra.R:3:3',
'test-fontawesome-icons.R:3:3', 'test-fontawesome-icons.R:30:3',
'test-fontawesome-icons.R:60:3', 'test-fontawesome-icons.R:100:3',
'test-fontawesome-icons.R:130:3', 'test-fontawesome-icons.R:157:3',
'test-gt_image_multi_rows.R:3:3', 'test-gt_image_rows.R:3:3',
'test-gt_img_circle.R:3:3', 'test-gt_text_img.R:3:3',
'test-gt_summary_table.R:25:3', 'test-gtsave_extra.R:4:3',
'test-html-helpers.R:24:3', 'test-icon_fun.R:3:3', 'test-img_header.R:3:3',
'test-two-column-layouts.R:4:3', 'test-two-column-layouts.R:27:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-gt_pct_bar.R:36:3'): gt_pct_bar SVG is created and has specific values ──
`bar_vals` (`actual`) not equal to c(...) (`expected`).
`actual`: NA NA NA NA and 2 more...
`expected`: 0 59.53 99.21 0 59.53 119.06 0 59.53 138.9 0 ...
── Failure ('test-gt_pct_bar.R:38:3'): gt_pct_bar SVG is created and has specific values ──
`bar_colors` (`actual`) not equal to c(...) (`expected`).
actual vs expected
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
+ "FF4343;"
+ "BFBFBF;"
+ "0A1C2B;"
+ "FF4343;"
+ "BFBFBF;"
+ "0A1C2B;"
+ "FF4343;"
+ "BFBFBF;"
+ "0A1C2B;"
+ "FF4343;"
and 2 more ...
── Failure ('test-gt_pct_bar.R:80:3'): gt_pct_bar SVG is created and has specific palette ──
`bar_vals` (`actual`) not equal to c(0, 119.06, 0, 124.02, 0, 85.04, 0, 85.04) (`expected`).
`actual`: NA NA NA NA
`expected`: 0 119.06 0 124.02 0 85.04 0 85.04
── Failure ('test-gt_pct_bar.R:81:3'): gt_pct_bar SVG is created and has specific palette ──
`bar_colors` (`actual`) not equal to c(...) (`expected`).
actual vs expected
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
+ "FF4343;"
+ "BFBFBF;"
+ "FF4343;"
+ "BFBFBF;"
+ "FF4343;"
+ "BFBFBF;"
+ "FF4343;"
+ "BFBFBF;"
── Failure ('test-gt_plt_bar.R:43:3'): gt_plt_bar svg is created and has specific values ──
`bar_vals` (`actual`) not equal to c("90.61", "90.61", "98.37", "92.33", "80.68", "78.10") (`expected`).
`actual`: "100%" "100%" "100%" "100%" "100%" "100%"
`expected`: "90.61" "90.61" "98.37" "92.33" "80.68" "78.10"
── Failure ('test-gt_plt_bar.R:44:3'): gt_plt_bar svg is created and has specific values ──
`bar_neg_vals` (`actual`) not equal to c("49.19", "32.79", "16.40", "16.40", "32.79", "49.19") (`expected`).
`actual`: "100%" "100%" "100%" "100%" "100%" "100%"
`expected`: "49.19" "32.79" "16.40" "16.40" "32.79" "49.19"
── Failure ('test-gt_plt_conf_int.R:25:3'): gt_plt_conf_int generates correct points/text ──
`lab_text` (`actual`) not equal to c("11", "7", "17", "14", "21", "16") (`expected`).
`actual`:
`expected`: "11" "7" "17" "14" "21" "16"
── Failure ('test-gt_plt_conf_int.R:37:3'): gt_plt_conf_int generates correct points/text ──
`ci_tab_style` (`actual`) not equal to rep(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; stroke: #FFFFFF; fill: #000000;', 'stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; stroke: #FFFFFF; fill: #000000;', 'stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; stroke: #FFFFFF; fill: #000000;')
── Failure ('test-gt_plt_conf_int.R:44:3'): gt_plt_conf_int generates correct points/text ──
`ci_tab_svg` (`actual`) not equal to c("29.48", "72.84", "95.20") (`expected`).
`actual` is NULL
`expected` is a character vector ('29.48', '72.84', '95.20')
── Failure ('test-gt_plt_conf_int.R:71:3'): gt_plt_conf_int uses correct points/text/colors ──
`lab_text_pre` (`actual`) not equal to c("16", "8", "15", "5") (`expected`).
`actual`:
`expected`: "16" "8" "15" "5"
── Failure ('test-gt_plt_conf_int.R:83:3'): gt_plt_conf_int uses correct points/text/colors ──
`pre_tab_style` (`actual`) not equal to rep(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; fill: #FF0000;', 'stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; fill: #FF0000;')
── Failure ('test-gt_plt_conf_int.R:90:3'): gt_plt_conf_int uses correct points/text/colors ──
`pre_tab_svg` (`actual`) not equal to c("76.96", "59.39") (`expected`).
`actual` is NULL
`expected` is a character vector ('76.96', '59.39')
── Failure ('test-gt_plt_percentile_dot.R:12:3'): add_pcttile_plot creates a plot ──
`plt15_text` (`actual`) not equal to c("0", "100", "5", "0") (`expected`).
`actual`:
`expected`: "0" "100" "5" "0"
── Failure ('test-gt_plt_percentile_dot.R:61:3'): gt_plt_percentile works as intended ──
`dot_txt` (`actual`) not equal to rep(c("0", "100", "5", "0"), 2) (`expected`).
`actual`:
`expected`: "0" "100" "5" "0" "0" "100" "5" "0"
── Failure ('test-gt_plt_percentile_dot.R:77:3'): gt_plt_percentile works as intended ──
`dot_pts` (`actual`) not equal to `exp_pts` (`expected`).
`actual` is NULL
`expected` is a character vector ('9.66', '#F72E2E', '22.55', '#FF9C8B', '35.43', ...)
── Failure ('test-gt_plt_point.R:11:3'): add_point_plot creates a plot ─────────
`plt15_text` (`actual`) not equal to c("2.0", "90.0") (`expected`).
`actual`:
`expected`: "2.0" "90.0"
── Failure ('test-gt_plt_point.R:59:3'): gt_plt_point works as intended ────────
`dot_txt` (`actual`) not equal to rep(c("1.1M", "2.1M"), 2) (`expected`).
`actual`:
`expected`: "1.1M" "2.1M" "1.1M" "2.1M"
── Failure ('test-gt_plt_point.R:86:3'): gt_plt_point works as intended ────────
`dot_pts` (`actual`) not equal to `exp_pts` (`expected`).
`actual` is NULL
`expected` is a character vector ('8.59', '#F72E2E', '22.01', '#FF9C8B', '35.43', ...)
── Failure ('test-gt_win_loss.R:53:3'): SVG exists and has expected values ─────
`pill_vals` (`actual`) not equal to c(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('8.91', '8.91', '1.89', '8.91', '1.89', ...)
── Failure ('test-gt_win_loss.R:55:3'): SVG exists and has expected values ─────
`square_vals` (`actual`) not equal to c(...) (`expected`).
actual | expected
- "3.26" [1]
- "6.72" [2]
- "10.1" [3]
- "13.6" [4]
- "17.1" [5]
- "20.5" [6]
- "24.0" [7]
- "27.5" [8]
- "30.9" [9]
- "34.4" [10]
── Failure ('test-gt_win_loss.R:127:3'): SVG exists and has expected colors ────
`box_colors` (`actual`) not equal to `exp_box_colors` (`expected`).
`actual` is NULL
`expected` is a character vector ('000000;', '000000;', 'A020F0;', 'A020F0;', '00FF00;', ...)
── Failure ('test-gt_win_loss.R:128:3'): SVG exists and has expected colors ────
`pill_colors` (`actual`) not equal to `exp_pill_colors` (`expected`).
`actual` is NULL
`expected` is a character vector (NA, NA, 'A020F0;', 'A020F0;', '00FF00;', ...)
[ FAIL 22 | WARN 15 | SKIP 23 | PASS 94 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.5.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [38s/20s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(gtExtras)
Loading required package: gt
Attaching package: 'gt'
The following object is masked from 'package:testthat':
matches
Attaching package: 'gtExtras'
The following object is masked from 'package:testthat':
matches
>
> test_check("gtExtras")
Starting 2 test processes
[ FAIL 22 | WARN 15 | SKIP 23 | PASS 94 ]
══ Skipped tests (23) ══════════════════════════════════════════════════════════
• On CRAN (23): 'test-fmt_pad_num.R:3:3', 'test-fmt_pct_extra.R:3:3',
'test-fmt_symbol_first.R:56:3', 'test-fmt_symbol_first.R:61:3',
'test-fmt_symbol_first.R:66:3', 'test-fmt_symbol_first.R:71:3',
'test-fontawesome-icons.R:3:3', 'test-fontawesome-icons.R:30:3',
'test-fontawesome-icons.R:60:3', 'test-fontawesome-icons.R:100:3',
'test-fontawesome-icons.R:130:3', 'test-fontawesome-icons.R:157:3',
'test-gt_image_multi_rows.R:3:3', 'test-gt_image_rows.R:3:3',
'test-gt_img_circle.R:3:3', 'test-gt_summary_table.R:25:3',
'test-gt_text_img.R:3:3', 'test-gtsave_extra.R:4:3',
'test-html-helpers.R:24:3', 'test-icon_fun.R:3:3', 'test-img_header.R:3:3',
'test-two-column-layouts.R:4:3', 'test-two-column-layouts.R:27:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-gt_pct_bar.R:36:3'): gt_pct_bar SVG is created and has specific values ──
`bar_vals` (`actual`) not equal to c(...) (`expected`).
`actual`: NA NA NA NA and 2 more...
`expected`: 0 59.53 99.21 0 59.53 119.06 0 59.53 138.9 0 ...
── Failure ('test-gt_pct_bar.R:38:3'): gt_pct_bar SVG is created and has specific values ──
`bar_colors` (`actual`) not equal to c(...) (`expected`).
actual vs expected
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
+ "FF4343;"
+ "BFBFBF;"
+ "0A1C2B;"
+ "FF4343;"
+ "BFBFBF;"
+ "0A1C2B;"
+ "FF4343;"
+ "BFBFBF;"
+ "0A1C2B;"
+ "FF4343;"
and 2 more ...
── Failure ('test-gt_pct_bar.R:80:3'): gt_pct_bar SVG is created and has specific palette ──
`bar_vals` (`actual`) not equal to c(0, 119.06, 0, 124.02, 0, 85.04, 0, 85.04) (`expected`).
`actual`: NA NA NA NA
`expected`: 0 119.06 0 124.02 0 85.04 0 85.04
── Failure ('test-gt_pct_bar.R:81:3'): gt_pct_bar SVG is created and has specific palette ──
`bar_colors` (`actual`) not equal to c(...) (`expected`).
actual vs expected
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
+ "FF4343;"
+ "BFBFBF;"
+ "FF4343;"
+ "BFBFBF;"
+ "FF4343;"
+ "BFBFBF;"
+ "FF4343;"
+ "BFBFBF;"
── Failure ('test-gt_plt_bar.R:43:3'): gt_plt_bar svg is created and has specific values ──
`bar_vals` (`actual`) not equal to c("90.61", "90.61", "98.37", "92.33", "80.68", "78.10") (`expected`).
`actual`: "100%" "100%" "100%" "100%" "100%" "100%"
`expected`: "90.61" "90.61" "98.37" "92.33" "80.68" "78.10"
── Failure ('test-gt_plt_bar.R:44:3'): gt_plt_bar svg is created and has specific values ──
`bar_neg_vals` (`actual`) not equal to c("49.19", "32.79", "16.40", "16.40", "32.79", "49.19") (`expected`).
`actual`: "100%" "100%" "100%" "100%" "100%" "100%"
`expected`: "49.19" "32.79" "16.40" "16.40" "32.79" "49.19"
── Failure ('test-gt_plt_conf_int.R:25:3'): gt_plt_conf_int generates correct points/text ──
`lab_text` (`actual`) not equal to c("11", "7", "17", "14", "21", "16") (`expected`).
`actual`:
`expected`: "11" "7" "17" "14" "21" "16"
── Failure ('test-gt_plt_conf_int.R:37:3'): gt_plt_conf_int generates correct points/text ──
`ci_tab_style` (`actual`) not equal to rep(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; stroke: #FFFFFF; fill: #000000;', 'stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; stroke: #FFFFFF; fill: #000000;', 'stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; stroke: #FFFFFF; fill: #000000;')
── Failure ('test-gt_plt_conf_int.R:44:3'): gt_plt_conf_int generates correct points/text ──
`ci_tab_svg` (`actual`) not equal to c("29.48", "72.84", "95.20") (`expected`).
`actual` is NULL
`expected` is a character vector ('29.48', '72.84', '95.20')
── Failure ('test-gt_plt_conf_int.R:71:3'): gt_plt_conf_int uses correct points/text/colors ──
`lab_text_pre` (`actual`) not equal to c("16", "8", "15", "5") (`expected`).
`actual`:
`expected`: "16" "8" "15" "5"
── Failure ('test-gt_plt_conf_int.R:83:3'): gt_plt_conf_int uses correct points/text/colors ──
`pre_tab_style` (`actual`) not equal to rep(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; fill: #FF0000;', 'stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; fill: #FF0000;')
── Failure ('test-gt_plt_conf_int.R:90:3'): gt_plt_conf_int uses correct points/text/colors ──
`pre_tab_svg` (`actual`) not equal to c("76.96", "59.39") (`expected`).
`actual` is NULL
`expected` is a character vector ('76.96', '59.39')
── Failure ('test-gt_plt_percentile_dot.R:12:3'): add_pcttile_plot creates a plot ──
`plt15_text` (`actual`) not equal to c("0", "100", "5", "0") (`expected`).
`actual`:
`expected`: "0" "100" "5" "0"
── Failure ('test-gt_plt_percentile_dot.R:61:3'): gt_plt_percentile works as intended ──
`dot_txt` (`actual`) not equal to rep(c("0", "100", "5", "0"), 2) (`expected`).
`actual`:
`expected`: "0" "100" "5" "0" "0" "100" "5" "0"
── Failure ('test-gt_plt_percentile_dot.R:77:3'): gt_plt_percentile works as intended ──
`dot_pts` (`actual`) not equal to `exp_pts` (`expected`).
`actual` is NULL
`expected` is a character vector ('9.66', '#F72E2E', '22.55', '#FF9C8B', '35.43', ...)
── Failure ('test-gt_plt_point.R:11:3'): add_point_plot creates a plot ─────────
`plt15_text` (`actual`) not equal to c("2.0", "90.0") (`expected`).
`actual`:
`expected`: "2.0" "90.0"
── Failure ('test-gt_plt_point.R:59:3'): gt_plt_point works as intended ────────
`dot_txt` (`actual`) not equal to rep(c("1.1M", "2.1M"), 2) (`expected`).
`actual`:
`expected`: "1.1M" "2.1M" "1.1M" "2.1M"
── Failure ('test-gt_plt_point.R:86:3'): gt_plt_point works as intended ────────
`dot_pts` (`actual`) not equal to `exp_pts` (`expected`).
`actual` is NULL
`expected` is a character vector ('8.59', '#F72E2E', '22.01', '#FF9C8B', '35.43', ...)
── Failure ('test-gt_win_loss.R:53:3'): SVG exists and has expected values ─────
`pill_vals` (`actual`) not equal to c(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('8.91', '8.91', '1.89', '8.91', '1.89', ...)
── Failure ('test-gt_win_loss.R:55:3'): SVG exists and has expected values ─────
`square_vals` (`actual`) not equal to c(...) (`expected`).
actual | expected
- "3.26" [1]
- "6.72" [2]
- "10.1" [3]
- "13.6" [4]
- "17.1" [5]
- "20.5" [6]
- "24.0" [7]
- "27.5" [8]
- "30.9" [9]
- "34.4" [10]
── Failure ('test-gt_win_loss.R:127:3'): SVG exists and has expected colors ────
`box_colors` (`actual`) not equal to `exp_box_colors` (`expected`).
`actual` is NULL
`expected` is a character vector ('000000;', '000000;', 'A020F0;', 'A020F0;', '00FF00;', ...)
── Failure ('test-gt_win_loss.R:128:3'): SVG exists and has expected colors ────
`pill_colors` (`actual`) not equal to `exp_pill_colors` (`expected`).
`actual` is NULL
`expected` is a character vector (NA, NA, 'A020F0;', 'A020F0;', '00FF00;', ...)
[ FAIL 22 | WARN 15 | SKIP 23 | PASS 94 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.5.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [102s/113s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(gtExtras)
Loading required package: gt
Attaching package: 'gt'
The following object is masked from 'package:testthat':
matches
Attaching package: 'gtExtras'
The following object is masked from 'package:testthat':
matches
>
> test_check("gtExtras")
Starting 2 test processes
[ FAIL 22 | WARN 15 | SKIP 23 | PASS 94 ]
══ Skipped tests (23) ══════════════════════════════════════════════════════════
• On CRAN (23): 'test-fmt_pad_num.R:3:3', 'test-fmt_pct_extra.R:3:3',
'test-fontawesome-icons.R:3:3', 'test-fontawesome-icons.R:30:3',
'test-fontawesome-icons.R:60:3', 'test-fontawesome-icons.R:100:3',
'test-fontawesome-icons.R:130:3', 'test-fontawesome-icons.R:157:3',
'test-fmt_symbol_first.R:56:3', 'test-fmt_symbol_first.R:61:3',
'test-fmt_symbol_first.R:66:3', 'test-fmt_symbol_first.R:71:3',
'test-gt_image_multi_rows.R:3:3', 'test-gt_image_rows.R:3:3',
'test-gt_img_circle.R:3:3', 'test-gt_summary_table.R:25:3',
'test-gt_text_img.R:3:3', 'test-gtsave_extra.R:4:3',
'test-html-helpers.R:24:3', 'test-icon_fun.R:3:3', 'test-img_header.R:3:3',
'test-two-column-layouts.R:4:3', 'test-two-column-layouts.R:27:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-gt_pct_bar.R:36:3'): gt_pct_bar SVG is created and has specific values ──
`bar_vals` (`actual`) not equal to c(...) (`expected`).
`actual`: NA NA NA NA and 2 more...
`expected`: 0 59.53 99.21 0 59.53 119.06 0 59.53 138.9 0 ...
── Failure ('test-gt_pct_bar.R:38:3'): gt_pct_bar SVG is created and has specific values ──
`bar_colors` (`actual`) not equal to c(...) (`expected`).
actual vs expected
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
+ "FF4343;"
+ "BFBFBF;"
+ "0A1C2B;"
+ "FF4343;"
+ "BFBFBF;"
+ "0A1C2B;"
+ "FF4343;"
+ "BFBFBF;"
+ "0A1C2B;"
+ "FF4343;"
and 2 more ...
── Failure ('test-gt_pct_bar.R:80:3'): gt_pct_bar SVG is created and has specific palette ──
`bar_vals` (`actual`) not equal to c(0, 119.06, 0, 124.02, 0, 85.04, 0, 85.04) (`expected`).
`actual`: NA NA NA NA
`expected`: 0 119.06 0 124.02 0 85.04 0 85.04
── Failure ('test-gt_pct_bar.R:81:3'): gt_pct_bar SVG is created and has specific palette ──
`bar_colors` (`actual`) not equal to c(...) (`expected`).
actual vs expected
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
+ "FF4343;"
+ "BFBFBF;"
+ "FF4343;"
+ "BFBFBF;"
+ "FF4343;"
+ "BFBFBF;"
+ "FF4343;"
+ "BFBFBF;"
── Failure ('test-gt_plt_bar.R:43:3'): gt_plt_bar svg is created and has specific values ──
`bar_vals` (`actual`) not equal to c("90.61", "90.61", "98.37", "92.33", "80.68", "78.10") (`expected`).
`actual`: "100%" "100%" "100%" "100%" "100%" "100%"
`expected`: "90.61" "90.61" "98.37" "92.33" "80.68" "78.10"
── Failure ('test-gt_plt_bar.R:44:3'): gt_plt_bar svg is created and has specific values ──
`bar_neg_vals` (`actual`) not equal to c("49.19", "32.79", "16.40", "16.40", "32.79", "49.19") (`expected`).
`actual`: "100%" "100%" "100%" "100%" "100%" "100%"
`expected`: "49.19" "32.79" "16.40" "16.40" "32.79" "49.19"
── Failure ('test-gt_plt_conf_int.R:25:3'): gt_plt_conf_int generates correct points/text ──
`lab_text` (`actual`) not equal to c("11", "7", "17", "14", "21", "16") (`expected`).
`actual`:
`expected`: "11" "7" "17" "14" "21" "16"
── Failure ('test-gt_plt_conf_int.R:37:3'): gt_plt_conf_int generates correct points/text ──
`ci_tab_style` (`actual`) not equal to rep(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; stroke: #FFFFFF; fill: #000000;', 'stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; stroke: #FFFFFF; fill: #000000;', 'stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; stroke: #FFFFFF; fill: #000000;')
── Failure ('test-gt_plt_conf_int.R:44:3'): gt_plt_conf_int generates correct points/text ──
`ci_tab_svg` (`actual`) not equal to c("29.48", "72.84", "95.20") (`expected`).
`actual` is NULL
`expected` is a character vector ('29.48', '72.84', '95.20')
── Failure ('test-gt_plt_conf_int.R:71:3'): gt_plt_conf_int uses correct points/text/colors ──
`lab_text_pre` (`actual`) not equal to c("16", "8", "15", "5") (`expected`).
`actual`:
`expected`: "16" "8" "15" "5"
── Failure ('test-gt_plt_conf_int.R:83:3'): gt_plt_conf_int uses correct points/text/colors ──
`pre_tab_style` (`actual`) not equal to rep(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; fill: #FF0000;', 'stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; fill: #FF0000;')
── Failure ('test-gt_plt_conf_int.R:90:3'): gt_plt_conf_int uses correct points/text/colors ──
`pre_tab_svg` (`actual`) not equal to c("76.96", "59.39") (`expected`).
`actual` is NULL
`expected` is a character vector ('76.96', '59.39')
── Failure ('test-gt_plt_percentile_dot.R:12:3'): add_pcttile_plot creates a plot ──
`plt15_text` (`actual`) not equal to c("0", "100", "5", "0") (`expected`).
`actual`:
`expected`: "0" "100" "5" "0"
── Failure ('test-gt_plt_percentile_dot.R:61:3'): gt_plt_percentile works as intended ──
`dot_txt` (`actual`) not equal to rep(c("0", "100", "5", "0"), 2) (`expected`).
`actual`:
`expected`: "0" "100" "5" "0" "0" "100" "5" "0"
── Failure ('test-gt_plt_percentile_dot.R:77:3'): gt_plt_percentile works as intended ──
`dot_pts` (`actual`) not equal to `exp_pts` (`expected`).
`actual` is NULL
`expected` is a character vector ('9.66', '#F72E2E', '22.55', '#FF9C8B', '35.43', ...)
── Failure ('test-gt_plt_point.R:11:3'): add_point_plot creates a plot ─────────
`plt15_text` (`actual`) not equal to c("2.0", "90.0") (`expected`).
`actual`:
`expected`: "2.0" "90.0"
── Failure ('test-gt_plt_point.R:59:3'): gt_plt_point works as intended ────────
`dot_txt` (`actual`) not equal to rep(c("1.1M", "2.1M"), 2) (`expected`).
`actual`:
`expected`: "1.1M" "2.1M" "1.1M" "2.1M"
── Failure ('test-gt_plt_point.R:86:3'): gt_plt_point works as intended ────────
`dot_pts` (`actual`) not equal to `exp_pts` (`expected`).
`actual` is NULL
`expected` is a character vector ('8.59', '#F72E2E', '22.01', '#FF9C8B', '35.43', ...)
── Failure ('test-gt_win_loss.R:53:3'): SVG exists and has expected values ─────
`pill_vals` (`actual`) not equal to c(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('8.91', '8.91', '1.89', '8.91', '1.89', ...)
── Failure ('test-gt_win_loss.R:55:3'): SVG exists and has expected values ─────
`square_vals` (`actual`) not equal to c(...) (`expected`).
actual | expected
- "3.26" [1]
- "6.72" [2]
- "10.1" [3]
- "13.6" [4]
- "17.1" [5]
- "20.5" [6]
- "24.0" [7]
- "27.5" [8]
- "30.9" [9]
- "34.4" [10]
── Failure ('test-gt_win_loss.R:127:3'): SVG exists and has expected colors ────
`box_colors` (`actual`) not equal to `exp_box_colors` (`expected`).
`actual` is NULL
`expected` is a character vector ('000000;', '000000;', 'A020F0;', 'A020F0;', '00FF00;', ...)
── Failure ('test-gt_win_loss.R:128:3'): SVG exists and has expected colors ────
`pill_colors` (`actual`) not equal to `exp_pill_colors` (`expected`).
`actual` is NULL
`expected` is a character vector (NA, NA, 'A020F0;', 'A020F0;', '00FF00;', ...)
[ FAIL 22 | WARN 15 | SKIP 23 | PASS 94 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.5.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [91s/63s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(gtExtras)
Loading required package: gt
Attaching package: 'gt'
The following object is masked from 'package:testthat':
matches
Attaching package: 'gtExtras'
The following object is masked from 'package:testthat':
matches
>
> test_check("gtExtras")
Starting 2 test processes
[ FAIL 22 | WARN 15 | SKIP 23 | PASS 94 ]
══ Skipped tests (23) ══════════════════════════════════════════════════════════
• On CRAN (23): 'test-fmt_pad_num.R:3:3', 'test-fmt_symbol_first.R:56:3',
'test-fmt_symbol_first.R:61:3', 'test-fmt_symbol_first.R:66:3',
'test-fmt_symbol_first.R:71:3', 'test-fmt_pct_extra.R:3:3',
'test-fontawesome-icons.R:3:3', 'test-fontawesome-icons.R:30:3',
'test-fontawesome-icons.R:60:3', 'test-fontawesome-icons.R:100:3',
'test-fontawesome-icons.R:130:3', 'test-fontawesome-icons.R:157:3',
'test-gt_image_multi_rows.R:3:3', 'test-gt_image_rows.R:3:3',
'test-gt_img_circle.R:3:3', 'test-gt_summary_table.R:25:3',
'test-gt_text_img.R:3:3', 'test-gtsave_extra.R:4:3',
'test-html-helpers.R:24:3', 'test-icon_fun.R:3:3', 'test-img_header.R:3:3',
'test-two-column-layouts.R:4:3', 'test-two-column-layouts.R:27:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-gt_pct_bar.R:36:3'): gt_pct_bar SVG is created and has specific values ──
`bar_vals` (`actual`) not equal to c(...) (`expected`).
`actual`: NA NA NA NA and 2 more...
`expected`: 0 59.53 99.21 0 59.53 119.06 0 59.53 138.9 0 ...
── Failure ('test-gt_pct_bar.R:38:3'): gt_pct_bar SVG is created and has specific values ──
`bar_colors` (`actual`) not equal to c(...) (`expected`).
actual vs expected
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
+ "FF4343;"
+ "BFBFBF;"
+ "0A1C2B;"
+ "FF4343;"
+ "BFBFBF;"
+ "0A1C2B;"
+ "FF4343;"
+ "BFBFBF;"
+ "0A1C2B;"
+ "FF4343;"
and 2 more ...
── Failure ('test-gt_pct_bar.R:80:3'): gt_pct_bar SVG is created and has specific palette ──
`bar_vals` (`actual`) not equal to c(0, 119.06, 0, 124.02, 0, 85.04, 0, 85.04) (`expected`).
`actual`: NA NA NA NA
`expected`: 0 119.06 0 124.02 0 85.04 0 85.04
── Failure ('test-gt_pct_bar.R:81:3'): gt_pct_bar SVG is created and has specific palette ──
`bar_colors` (`actual`) not equal to c(...) (`expected`).
actual vs expected
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
+ "FF4343;"
+ "BFBFBF;"
+ "FF4343;"
+ "BFBFBF;"
+ "FF4343;"
+ "BFBFBF;"
+ "FF4343;"
+ "BFBFBF;"
── Failure ('test-gt_plt_bar.R:43:3'): gt_plt_bar svg is created and has specific values ──
`bar_vals` (`actual`) not equal to c("90.61", "90.61", "98.37", "92.33", "80.68", "78.10") (`expected`).
`actual`: "100%" "100%" "100%" "100%" "100%" "100%"
`expected`: "90.61" "90.61" "98.37" "92.33" "80.68" "78.10"
── Failure ('test-gt_plt_bar.R:44:3'): gt_plt_bar svg is created and has specific values ──
`bar_neg_vals` (`actual`) not equal to c("49.19", "32.79", "16.40", "16.40", "32.79", "49.19") (`expected`).
`actual`: "100%" "100%" "100%" "100%" "100%" "100%"
`expected`: "49.19" "32.79" "16.40" "16.40" "32.79" "49.19"
── Failure ('test-gt_plt_conf_int.R:25:3'): gt_plt_conf_int generates correct points/text ──
`lab_text` (`actual`) not equal to c("11", "7", "17", "14", "21", "16") (`expected`).
`actual`:
`expected`: "11" "7" "17" "14" "21" "16"
── Failure ('test-gt_plt_conf_int.R:37:3'): gt_plt_conf_int generates correct points/text ──
`ci_tab_style` (`actual`) not equal to rep(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; stroke: #FFFFFF; fill: #000000;', 'stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; stroke: #FFFFFF; fill: #000000;', 'stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; stroke: #FFFFFF; fill: #000000;')
── Failure ('test-gt_plt_conf_int.R:44:3'): gt_plt_conf_int generates correct points/text ──
`ci_tab_svg` (`actual`) not equal to c("29.48", "72.84", "95.20") (`expected`).
`actual` is NULL
`expected` is a character vector ('29.48', '72.84', '95.20')
── Failure ('test-gt_plt_conf_int.R:71:3'): gt_plt_conf_int uses correct points/text/colors ──
`lab_text_pre` (`actual`) not equal to c("16", "8", "15", "5") (`expected`).
`actual`:
`expected`: "16" "8" "15" "5"
── Failure ('test-gt_plt_conf_int.R:83:3'): gt_plt_conf_int uses correct points/text/colors ──
`pre_tab_style` (`actual`) not equal to rep(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; fill: #FF0000;', 'stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; fill: #FF0000;')
── Failure ('test-gt_plt_conf_int.R:90:3'): gt_plt_conf_int uses correct points/text/colors ──
`pre_tab_svg` (`actual`) not equal to c("76.96", "59.39") (`expected`).
`actual` is NULL
`expected` is a character vector ('76.96', '59.39')
── Failure ('test-gt_plt_percentile_dot.R:12:3'): add_pcttile_plot creates a plot ──
`plt15_text` (`actual`) not equal to c("0", "100", "5", "0") (`expected`).
`actual`:
`expected`: "0" "100" "5" "0"
── Failure ('test-gt_plt_percentile_dot.R:61:3'): gt_plt_percentile works as intended ──
`dot_txt` (`actual`) not equal to rep(c("0", "100", "5", "0"), 2) (`expected`).
`actual`:
`expected`: "0" "100" "5" "0" "0" "100" "5" "0"
── Failure ('test-gt_plt_percentile_dot.R:77:3'): gt_plt_percentile works as intended ──
`dot_pts` (`actual`) not equal to `exp_pts` (`expected`).
`actual` is NULL
`expected` is a character vector ('9.66', '#F72E2E', '22.55', '#FF9C8B', '35.43', ...)
── Failure ('test-gt_plt_point.R:11:3'): add_point_plot creates a plot ─────────
`plt15_text` (`actual`) not equal to c("2.0", "90.0") (`expected`).
`actual`:
`expected`: "2.0" "90.0"
── Failure ('test-gt_plt_point.R:59:3'): gt_plt_point works as intended ────────
`dot_txt` (`actual`) not equal to rep(c("1.1M", "2.1M"), 2) (`expected`).
`actual`:
`expected`: "1.1M" "2.1M" "1.1M" "2.1M"
── Failure ('test-gt_plt_point.R:86:3'): gt_plt_point works as intended ────────
`dot_pts` (`actual`) not equal to `exp_pts` (`expected`).
`actual` is NULL
`expected` is a character vector ('8.59', '#F72E2E', '22.01', '#FF9C8B', '35.43', ...)
── Failure ('test-gt_win_loss.R:53:3'): SVG exists and has expected values ─────
`pill_vals` (`actual`) not equal to c(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('8.91', '8.91', '1.89', '8.91', '1.89', ...)
── Failure ('test-gt_win_loss.R:55:3'): SVG exists and has expected values ─────
`square_vals` (`actual`) not equal to c(...) (`expected`).
actual | expected
- "3.26" [1]
- "6.72" [2]
- "10.1" [3]
- "13.6" [4]
- "17.1" [5]
- "20.5" [6]
- "24.0" [7]
- "27.5" [8]
- "30.9" [9]
- "34.4" [10]
── Failure ('test-gt_win_loss.R:127:3'): SVG exists and has expected colors ────
`box_colors` (`actual`) not equal to `exp_box_colors` (`expected`).
`actual` is NULL
`expected` is a character vector ('000000;', '000000;', 'A020F0;', 'A020F0;', '00FF00;', ...)
── Failure ('test-gt_win_loss.R:128:3'): SVG exists and has expected colors ────
`pill_colors` (`actual`) not equal to `exp_pill_colors` (`expected`).
`actual` is NULL
`expected` is a character vector (NA, NA, 'A020F0;', 'A020F0;', '00FF00;', ...)
[ FAIL 22 | WARN 15 | SKIP 23 | PASS 94 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.5.0
Check: tests
Result: ERROR
Running 'testthat.R' [26s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(gtExtras)
Loading required package: gt
Attaching package: 'gt'
The following object is masked from 'package:testthat':
matches
Attaching package: 'gtExtras'
The following object is masked from 'package:testthat':
matches
>
> test_check("gtExtras")
Starting 2 test processes
[ FAIL 22 | WARN 29 | SKIP 23 | PASS 94 ]
══ Skipped tests (23) ══════════════════════════════════════════════════════════
• On CRAN (23): 'test-fmt_pct_extra.R:3:3', 'test-fmt_pad_num.R:3:3',
'test-fmt_symbol_first.R:56:3', 'test-fmt_symbol_first.R:61:3',
'test-fmt_symbol_first.R:66:3', 'test-fmt_symbol_first.R:71:3',
'test-fontawesome-icons.R:3:3', 'test-fontawesome-icons.R:30:3',
'test-fontawesome-icons.R:60:3', 'test-fontawesome-icons.R:100:3',
'test-fontawesome-icons.R:130:3', 'test-fontawesome-icons.R:157:3',
'test-gt_image_multi_rows.R:3:3', 'test-gt_img_circle.R:3:3',
'test-gt_image_rows.R:3:3', 'test-gt_summary_table.R:25:3',
'test-gt_text_img.R:3:3', 'test-gtsave_extra.R:4:3',
'test-html-helpers.R:24:3', 'test-icon_fun.R:3:3', 'test-img_header.R:3:3',
'test-two-column-layouts.R:4:3', 'test-two-column-layouts.R:27:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-gt_pct_bar.R:36:3'): gt_pct_bar SVG is created and has specific values ──
`bar_vals` (`actual`) not equal to c(...) (`expected`).
`actual`: NA NA NA NA and 2 more...
`expected`: 0 59.53 99.21 0 59.53 119.06 0 59.53 138.9 0 ...
── Failure ('test-gt_pct_bar.R:38:3'): gt_pct_bar SVG is created and has specific values ──
`bar_colors` (`actual`) not equal to c(...) (`expected`).
actual vs expected
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
+ "FF4343;"
+ "BFBFBF;"
+ "0A1C2B;"
+ "FF4343;"
+ "BFBFBF;"
+ "0A1C2B;"
+ "FF4343;"
+ "BFBFBF;"
+ "0A1C2B;"
+ "FF4343;"
and 2 more ...
── Failure ('test-gt_pct_bar.R:80:3'): gt_pct_bar SVG is created and has specific palette ──
`bar_vals` (`actual`) not equal to c(0, 119.06, 0, 124.02, 0, 85.04, 0, 85.04) (`expected`).
`actual`: NA NA NA NA
`expected`: 0 119.06 0 124.02 0 85.04 0 85.04
── Failure ('test-gt_pct_bar.R:81:3'): gt_pct_bar SVG is created and has specific palette ──
`bar_colors` (`actual`) not equal to c(...) (`expected`).
actual vs expected
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
+ "FF4343;"
+ "BFBFBF;"
+ "FF4343;"
+ "BFBFBF;"
+ "FF4343;"
+ "BFBFBF;"
+ "FF4343;"
+ "BFBFBF;"
── Failure ('test-gt_plt_bar.R:43:3'): gt_plt_bar svg is created and has specific values ──
`bar_vals` (`actual`) not equal to c("90.61", "90.61", "98.37", "92.33", "80.68", "78.10") (`expected`).
`actual`: "100%" "100%" "100%" "100%" "100%" "100%"
`expected`: "90.61" "90.61" "98.37" "92.33" "80.68" "78.10"
── Failure ('test-gt_plt_bar.R:44:3'): gt_plt_bar svg is created and has specific values ──
`bar_neg_vals` (`actual`) not equal to c("49.19", "32.79", "16.40", "16.40", "32.79", "49.19") (`expected`).
`actual`: "100%" "100%" "100%" "100%" "100%" "100%"
`expected`: "49.19" "32.79" "16.40" "16.40" "32.79" "49.19"
── Failure ('test-gt_plt_conf_int.R:25:3'): gt_plt_conf_int generates correct points/text ──
`lab_text` (`actual`) not equal to c("11", "7", "17", "14", "21", "16") (`expected`).
`actual`:
`expected`: "11" "7" "17" "14" "21" "16"
── Failure ('test-gt_plt_conf_int.R:37:3'): gt_plt_conf_int generates correct points/text ──
`ci_tab_style` (`actual`) not equal to rep(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; stroke: #FFFFFF; fill: #000000;', 'stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; stroke: #FFFFFF; fill: #000000;', 'stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; stroke: #FFFFFF; fill: #000000;')
── Failure ('test-gt_plt_conf_int.R:44:3'): gt_plt_conf_int generates correct points/text ──
`ci_tab_svg` (`actual`) not equal to c("29.48", "72.84", "95.20") (`expected`).
`actual` is NULL
`expected` is a character vector ('29.48', '72.84', '95.20')
── Failure ('test-gt_plt_conf_int.R:71:3'): gt_plt_conf_int uses correct points/text/colors ──
`lab_text_pre` (`actual`) not equal to c("16", "8", "15", "5") (`expected`).
`actual`:
`expected`: "16" "8" "15" "5"
── Failure ('test-gt_plt_conf_int.R:83:3'): gt_plt_conf_int uses correct points/text/colors ──
`pre_tab_style` (`actual`) not equal to rep(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; fill: #FF0000;', 'stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; fill: #FF0000;')
── Failure ('test-gt_plt_conf_int.R:90:3'): gt_plt_conf_int uses correct points/text/colors ──
`pre_tab_svg` (`actual`) not equal to c("76.96", "59.39") (`expected`).
`actual` is NULL
`expected` is a character vector ('76.96', '59.39')
── Failure ('test-gt_plt_percentile_dot.R:12:3'): add_pcttile_plot creates a plot ──
`plt15_text` (`actual`) not equal to c("0", "100", "5", "0") (`expected`).
`actual`:
`expected`: "0" "100" "5" "0"
── Failure ('test-gt_plt_percentile_dot.R:61:3'): gt_plt_percentile works as intended ──
`dot_txt` (`actual`) not equal to rep(c("0", "100", "5", "0"), 2) (`expected`).
`actual`:
`expected`: "0" "100" "5" "0" "0" "100" "5" "0"
── Failure ('test-gt_plt_percentile_dot.R:77:3'): gt_plt_percentile works as intended ──
`dot_pts` (`actual`) not equal to `exp_pts` (`expected`).
`actual` is NULL
`expected` is a character vector ('9.66', '#F72E2E', '22.55', '#FF9C8B', '35.43', ...)
── Failure ('test-gt_plt_point.R:11:3'): add_point_plot creates a plot ─────────
`plt15_text` (`actual`) not equal to c("2.0", "90.0") (`expected`).
`actual`:
`expected`: "2.0" "90.0"
── Failure ('test-gt_plt_point.R:59:3'): gt_plt_point works as intended ────────
`dot_txt` (`actual`) not equal to rep(c("1.1M", "2.1M"), 2) (`expected`).
`actual`:
`expected`: "1.1M" "2.1M" "1.1M" "2.1M"
── Failure ('test-gt_plt_point.R:86:3'): gt_plt_point works as intended ────────
`dot_pts` (`actual`) not equal to `exp_pts` (`expected`).
`actual` is NULL
`expected` is a character vector ('8.59', '#F72E2E', '22.01', '#FF9C8B', '35.43', ...)
── Failure ('test-gt_win_loss.R:53:3'): SVG exists and has expected values ─────
`pill_vals` (`actual`) not equal to c(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('8.91', '8.91', '1.89', '8.91', '1.89', ...)
── Failure ('test-gt_win_loss.R:55:3'): SVG exists and has expected values ─────
`square_vals` (`actual`) not equal to c(...) (`expected`).
actual | expected
- "3.26" [1]
- "6.72" [2]
- "10.1" [3]
- "13.6" [4]
- "17.1" [5]
- "20.5" [6]
- "24.0" [7]
- "27.5" [8]
- "30.9" [9]
- "34.4" [10]
── Failure ('test-gt_win_loss.R:127:3'): SVG exists and has expected colors ────
`box_colors` (`actual`) not equal to `exp_box_colors` (`expected`).
`actual` is NULL
`expected` is a character vector ('000000;', '000000;', 'A020F0;', 'A020F0;', '00FF00;', ...)
── Failure ('test-gt_win_loss.R:128:3'): SVG exists and has expected colors ────
`pill_colors` (`actual`) not equal to `exp_pill_colors` (`expected`).
`actual` is NULL
`expected` is a character vector (NA, NA, 'A020F0;', 'A020F0;', '00FF00;', ...)
[ FAIL 22 | WARN 29 | SKIP 23 | PASS 94 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.5.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [56s/29s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(gtExtras)
Loading required package: gt
Attaching package: 'gt'
The following object is masked from 'package:testthat':
matches
Attaching package: 'gtExtras'
The following object is masked from 'package:testthat':
matches
>
> test_check("gtExtras")
Starting 2 test processes
[ FAIL 22 | WARN 15 | SKIP 23 | PASS 94 ]
══ Skipped tests (23) ══════════════════════════════════════════════════════════
• On CRAN (23): 'test-fmt_pad_num.R:3:3', 'test-fmt_pct_extra.R:3:3',
'test-fmt_symbol_first.R:56:3', 'test-fmt_symbol_first.R:61:3',
'test-fmt_symbol_first.R:66:3', 'test-fmt_symbol_first.R:71:3',
'test-fontawesome-icons.R:3:3', 'test-fontawesome-icons.R:30:3',
'test-fontawesome-icons.R:60:3', 'test-fontawesome-icons.R:100:3',
'test-fontawesome-icons.R:130:3', 'test-fontawesome-icons.R:157:3',
'test-gt_image_multi_rows.R:3:3', 'test-gt_image_rows.R:3:3',
'test-gt_img_circle.R:3:3', 'test-gt_text_img.R:3:3',
'test-gt_summary_table.R:25:3', 'test-gtsave_extra.R:4:3',
'test-html-helpers.R:24:3', 'test-icon_fun.R:3:3', 'test-img_header.R:3:3',
'test-two-column-layouts.R:4:3', 'test-two-column-layouts.R:27:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-gt_pct_bar.R:36:3'): gt_pct_bar SVG is created and has specific values ──
`bar_vals` (`actual`) not equal to c(...) (`expected`).
`actual`: NA NA NA NA and 2 more...
`expected`: 0 59.53 99.21 0 59.53 119.06 0 59.53 138.9 0 ...
── Failure ('test-gt_pct_bar.R:38:3'): gt_pct_bar SVG is created and has specific values ──
`bar_colors` (`actual`) not equal to c(...) (`expected`).
actual vs expected
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
+ "FF4343;"
+ "BFBFBF;"
+ "0A1C2B;"
+ "FF4343;"
+ "BFBFBF;"
+ "0A1C2B;"
+ "FF4343;"
+ "BFBFBF;"
+ "0A1C2B;"
+ "FF4343;"
and 2 more ...
── Failure ('test-gt_pct_bar.R:80:3'): gt_pct_bar SVG is created and has specific palette ──
`bar_vals` (`actual`) not equal to c(0, 119.06, 0, 124.02, 0, 85.04, 0, 85.04) (`expected`).
`actual`: NA NA NA NA
`expected`: 0 119.06 0 124.02 0 85.04 0 85.04
── Failure ('test-gt_pct_bar.R:81:3'): gt_pct_bar SVG is created and has specific palette ──
`bar_colors` (`actual`) not equal to c(...) (`expected`).
actual vs expected
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
+ "FF4343;"
+ "BFBFBF;"
+ "FF4343;"
+ "BFBFBF;"
+ "FF4343;"
+ "BFBFBF;"
+ "FF4343;"
+ "BFBFBF;"
── Failure ('test-gt_plt_bar.R:43:3'): gt_plt_bar svg is created and has specific values ──
`bar_vals` (`actual`) not equal to c("90.61", "90.61", "98.37", "92.33", "80.68", "78.10") (`expected`).
`actual`: "100%" "100%" "100%" "100%" "100%" "100%"
`expected`: "90.61" "90.61" "98.37" "92.33" "80.68" "78.10"
── Failure ('test-gt_plt_bar.R:44:3'): gt_plt_bar svg is created and has specific values ──
`bar_neg_vals` (`actual`) not equal to c("49.19", "32.79", "16.40", "16.40", "32.79", "49.19") (`expected`).
`actual`: "100%" "100%" "100%" "100%" "100%" "100%"
`expected`: "49.19" "32.79" "16.40" "16.40" "32.79" "49.19"
── Failure ('test-gt_plt_conf_int.R:25:3'): gt_plt_conf_int generates correct points/text ──
`lab_text` (`actual`) not equal to c("11", "7", "17", "14", "21", "16") (`expected`).
`actual`:
`expected`: "11" "7" "17" "14" "21" "16"
── Failure ('test-gt_plt_conf_int.R:37:3'): gt_plt_conf_int generates correct points/text ──
`ci_tab_style` (`actual`) not equal to rep(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; stroke: #FFFFFF; fill: #000000;', 'stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; stroke: #FFFFFF; fill: #000000;', 'stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; stroke: #FFFFFF; fill: #000000;')
── Failure ('test-gt_plt_conf_int.R:44:3'): gt_plt_conf_int generates correct points/text ──
`ci_tab_svg` (`actual`) not equal to c("29.48", "72.84", "95.20") (`expected`).
`actual` is NULL
`expected` is a character vector ('29.48', '72.84', '95.20')
── Failure ('test-gt_plt_conf_int.R:71:3'): gt_plt_conf_int uses correct points/text/colors ──
`lab_text_pre` (`actual`) not equal to c("16", "8", "15", "5") (`expected`).
`actual`:
`expected`: "16" "8" "15" "5"
── Failure ('test-gt_plt_conf_int.R:83:3'): gt_plt_conf_int uses correct points/text/colors ──
`pre_tab_style` (`actual`) not equal to rep(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; fill: #FF0000;', 'stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; fill: #FF0000;')
── Failure ('test-gt_plt_conf_int.R:90:3'): gt_plt_conf_int uses correct points/text/colors ──
`pre_tab_svg` (`actual`) not equal to c("76.96", "59.39") (`expected`).
`actual` is NULL
`expected` is a character vector ('76.96', '59.39')
── Failure ('test-gt_plt_percentile_dot.R:12:3'): add_pcttile_plot creates a plot ──
`plt15_text` (`actual`) not equal to c("0", "100", "5", "0") (`expected`).
`actual`:
`expected`: "0" "100" "5" "0"
── Failure ('test-gt_plt_percentile_dot.R:61:3'): gt_plt_percentile works as intended ──
`dot_txt` (`actual`) not equal to rep(c("0", "100", "5", "0"), 2) (`expected`).
`actual`:
`expected`: "0" "100" "5" "0" "0" "100" "5" "0"
── Failure ('test-gt_plt_percentile_dot.R:77:3'): gt_plt_percentile works as intended ──
`dot_pts` (`actual`) not equal to `exp_pts` (`expected`).
`actual` is NULL
`expected` is a character vector ('9.66', '#F72E2E', '22.55', '#FF9C8B', '35.43', ...)
── Failure ('test-gt_plt_point.R:11:3'): add_point_plot creates a plot ─────────
`plt15_text` (`actual`) not equal to c("2.0", "90.0") (`expected`).
`actual`:
`expected`: "2.0" "90.0"
── Failure ('test-gt_plt_point.R:59:3'): gt_plt_point works as intended ────────
`dot_txt` (`actual`) not equal to rep(c("1.1M", "2.1M"), 2) (`expected`).
`actual`:
`expected`: "1.1M" "2.1M" "1.1M" "2.1M"
── Failure ('test-gt_plt_point.R:86:3'): gt_plt_point works as intended ────────
`dot_pts` (`actual`) not equal to `exp_pts` (`expected`).
`actual` is NULL
`expected` is a character vector ('8.59', '#F72E2E', '22.01', '#FF9C8B', '35.43', ...)
── Failure ('test-gt_win_loss.R:53:3'): SVG exists and has expected values ─────
`pill_vals` (`actual`) not equal to c(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('8.91', '8.91', '1.89', '8.91', '1.89', ...)
── Failure ('test-gt_win_loss.R:55:3'): SVG exists and has expected values ─────
`square_vals` (`actual`) not equal to c(...) (`expected`).
actual | expected
- "3.26" [1]
- "6.72" [2]
- "10.1" [3]
- "13.6" [4]
- "17.1" [5]
- "20.5" [6]
- "24.0" [7]
- "27.5" [8]
- "30.9" [9]
- "34.4" [10]
── Failure ('test-gt_win_loss.R:127:3'): SVG exists and has expected colors ────
`box_colors` (`actual`) not equal to `exp_box_colors` (`expected`).
`actual` is NULL
`expected` is a character vector ('000000;', '000000;', 'A020F0;', 'A020F0;', '00FF00;', ...)
── Failure ('test-gt_win_loss.R:128:3'): SVG exists and has expected colors ────
`pill_colors` (`actual`) not equal to `exp_pill_colors` (`expected`).
`actual` is NULL
`expected` is a character vector (NA, NA, 'A020F0;', 'A020F0;', '00FF00;', ...)
[ FAIL 22 | WARN 15 | SKIP 23 | PASS 94 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.5.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [56s/30s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(gtExtras)
Loading required package: gt
Attaching package: 'gt'
The following object is masked from 'package:testthat':
matches
Attaching package: 'gtExtras'
The following object is masked from 'package:testthat':
matches
>
> test_check("gtExtras")
Starting 2 test processes
[ FAIL 22 | WARN 15 | SKIP 23 | PASS 94 ]
══ Skipped tests (23) ══════════════════════════════════════════════════════════
• On CRAN (23): 'test-fmt_pad_num.R:3:3', 'test-fmt_pct_extra.R:3:3',
'test-fmt_symbol_first.R:56:3', 'test-fmt_symbol_first.R:61:3',
'test-fmt_symbol_first.R:66:3', 'test-fmt_symbol_first.R:71:3',
'test-fontawesome-icons.R:3:3', 'test-fontawesome-icons.R:30:3',
'test-fontawesome-icons.R:60:3', 'test-fontawesome-icons.R:100:3',
'test-fontawesome-icons.R:130:3', 'test-fontawesome-icons.R:157:3',
'test-gt_image_multi_rows.R:3:3', 'test-gt_image_rows.R:3:3',
'test-gt_img_circle.R:3:3', 'test-gt_summary_table.R:25:3',
'test-gt_text_img.R:3:3', 'test-gtsave_extra.R:4:3',
'test-html-helpers.R:24:3', 'test-icon_fun.R:3:3', 'test-img_header.R:3:3',
'test-two-column-layouts.R:4:3', 'test-two-column-layouts.R:27:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-gt_pct_bar.R:36:3'): gt_pct_bar SVG is created and has specific values ──
`bar_vals` (`actual`) not equal to c(...) (`expected`).
`actual`: NA NA NA NA and 2 more...
`expected`: 0 59.53 99.21 0 59.53 119.06 0 59.53 138.9 0 ...
── Failure ('test-gt_pct_bar.R:38:3'): gt_pct_bar SVG is created and has specific values ──
`bar_colors` (`actual`) not equal to c(...) (`expected`).
actual vs expected
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
+ "FF4343;"
+ "BFBFBF;"
+ "0A1C2B;"
+ "FF4343;"
+ "BFBFBF;"
+ "0A1C2B;"
+ "FF4343;"
+ "BFBFBF;"
+ "0A1C2B;"
+ "FF4343;"
and 2 more ...
── Failure ('test-gt_pct_bar.R:80:3'): gt_pct_bar SVG is created and has specific palette ──
`bar_vals` (`actual`) not equal to c(0, 119.06, 0, 124.02, 0, 85.04, 0, 85.04) (`expected`).
`actual`: NA NA NA NA
`expected`: 0 119.06 0 124.02 0 85.04 0 85.04
── Failure ('test-gt_pct_bar.R:81:3'): gt_pct_bar SVG is created and has specific palette ──
`bar_colors` (`actual`) not equal to c(...) (`expected`).
actual vs expected
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
+ "FF4343;"
+ "BFBFBF;"
+ "FF4343;"
+ "BFBFBF;"
+ "FF4343;"
+ "BFBFBF;"
+ "FF4343;"
+ "BFBFBF;"
── Failure ('test-gt_plt_bar.R:43:3'): gt_plt_bar svg is created and has specific values ──
`bar_vals` (`actual`) not equal to c("90.61", "90.61", "98.37", "92.33", "80.68", "78.10") (`expected`).
`actual`: "100%" "100%" "100%" "100%" "100%" "100%"
`expected`: "90.61" "90.61" "98.37" "92.33" "80.68" "78.10"
── Failure ('test-gt_plt_bar.R:44:3'): gt_plt_bar svg is created and has specific values ──
`bar_neg_vals` (`actual`) not equal to c("49.19", "32.79", "16.40", "16.40", "32.79", "49.19") (`expected`).
`actual`: "100%" "100%" "100%" "100%" "100%" "100%"
`expected`: "49.19" "32.79" "16.40" "16.40" "32.79" "49.19"
── Failure ('test-gt_plt_conf_int.R:25:3'): gt_plt_conf_int generates correct points/text ──
`lab_text` (`actual`) not equal to c("11", "7", "17", "14", "21", "16") (`expected`).
`actual`:
`expected`: "11" "7" "17" "14" "21" "16"
── Failure ('test-gt_plt_conf_int.R:37:3'): gt_plt_conf_int generates correct points/text ──
`ci_tab_style` (`actual`) not equal to rep(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; stroke: #FFFFFF; fill: #000000;', 'stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; stroke: #FFFFFF; fill: #000000;', 'stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; stroke: #FFFFFF; fill: #000000;')
── Failure ('test-gt_plt_conf_int.R:44:3'): gt_plt_conf_int generates correct points/text ──
`ci_tab_svg` (`actual`) not equal to c("29.48", "72.84", "95.20") (`expected`).
`actual` is NULL
`expected` is a character vector ('29.48', '72.84', '95.20')
── Failure ('test-gt_plt_conf_int.R:71:3'): gt_plt_conf_int uses correct points/text/colors ──
`lab_text_pre` (`actual`) not equal to c("16", "8", "15", "5") (`expected`).
`actual`:
`expected`: "16" "8" "15" "5"
── Failure ('test-gt_plt_conf_int.R:83:3'): gt_plt_conf_int uses correct points/text/colors ──
`pre_tab_style` (`actual`) not equal to rep(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; fill: #FF0000;', 'stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; fill: #FF0000;')
── Failure ('test-gt_plt_conf_int.R:90:3'): gt_plt_conf_int uses correct points/text/colors ──
`pre_tab_svg` (`actual`) not equal to c("76.96", "59.39") (`expected`).
`actual` is NULL
`expected` is a character vector ('76.96', '59.39')
── Failure ('test-gt_plt_percentile_dot.R:12:3'): add_pcttile_plot creates a plot ──
`plt15_text` (`actual`) not equal to c("0", "100", "5", "0") (`expected`).
`actual`:
`expected`: "0" "100" "5" "0"
── Failure ('test-gt_plt_percentile_dot.R:61:3'): gt_plt_percentile works as intended ──
`dot_txt` (`actual`) not equal to rep(c("0", "100", "5", "0"), 2) (`expected`).
`actual`:
`expected`: "0" "100" "5" "0" "0" "100" "5" "0"
── Failure ('test-gt_plt_percentile_dot.R:77:3'): gt_plt_percentile works as intended ──
`dot_pts` (`actual`) not equal to `exp_pts` (`expected`).
`actual` is NULL
`expected` is a character vector ('9.66', '#F72E2E', '22.55', '#FF9C8B', '35.43', ...)
── Failure ('test-gt_plt_point.R:11:3'): add_point_plot creates a plot ─────────
`plt15_text` (`actual`) not equal to c("2.0", "90.0") (`expected`).
`actual`:
`expected`: "2.0" "90.0"
── Failure ('test-gt_plt_point.R:59:3'): gt_plt_point works as intended ────────
`dot_txt` (`actual`) not equal to rep(c("1.1M", "2.1M"), 2) (`expected`).
`actual`:
`expected`: "1.1M" "2.1M" "1.1M" "2.1M"
── Failure ('test-gt_plt_point.R:86:3'): gt_plt_point works as intended ────────
`dot_pts` (`actual`) not equal to `exp_pts` (`expected`).
`actual` is NULL
`expected` is a character vector ('8.59', '#F72E2E', '22.01', '#FF9C8B', '35.43', ...)
── Failure ('test-gt_win_loss.R:53:3'): SVG exists and has expected values ─────
`pill_vals` (`actual`) not equal to c(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('8.91', '8.91', '1.89', '8.91', '1.89', ...)
── Failure ('test-gt_win_loss.R:55:3'): SVG exists and has expected values ─────
`square_vals` (`actual`) not equal to c(...) (`expected`).
actual | expected
- "3.26" [1]
- "6.72" [2]
- "10.1" [3]
- "13.6" [4]
- "17.1" [5]
- "20.5" [6]
- "24.0" [7]
- "27.5" [8]
- "30.9" [9]
- "34.4" [10]
── Failure ('test-gt_win_loss.R:127:3'): SVG exists and has expected colors ────
`box_colors` (`actual`) not equal to `exp_box_colors` (`expected`).
`actual` is NULL
`expected` is a character vector ('000000;', '000000;', 'A020F0;', 'A020F0;', '00FF00;', ...)
── Failure ('test-gt_win_loss.R:128:3'): SVG exists and has expected colors ────
`pill_colors` (`actual`) not equal to `exp_pill_colors` (`expected`).
`actual` is NULL
`expected` is a character vector (NA, NA, 'A020F0;', 'A020F0;', '00FF00;', ...)
[ FAIL 22 | WARN 15 | SKIP 23 | PASS 94 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.5.0
Check: tests
Result: ERROR
Running 'testthat.R' [26s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(gtExtras)
Loading required package: gt
Attaching package: 'gt'
The following object is masked from 'package:testthat':
matches
Attaching package: 'gtExtras'
The following object is masked from 'package:testthat':
matches
>
> test_check("gtExtras")
Starting 2 test processes
[ FAIL 22 | WARN 15 | SKIP 23 | PASS 94 ]
══ Skipped tests (23) ══════════════════════════════════════════════════════════
• On CRAN (23): 'test-fmt_pad_num.R:3:3', 'test-fmt_pct_extra.R:3:3',
'test-fmt_symbol_first.R:56:3', 'test-fmt_symbol_first.R:61:3',
'test-fmt_symbol_first.R:66:3', 'test-fmt_symbol_first.R:71:3',
'test-fontawesome-icons.R:3:3', 'test-fontawesome-icons.R:30:3',
'test-fontawesome-icons.R:60:3', 'test-fontawesome-icons.R:100:3',
'test-fontawesome-icons.R:130:3', 'test-fontawesome-icons.R:157:3',
'test-gt_image_multi_rows.R:3:3', 'test-gt_image_rows.R:3:3',
'test-gt_img_circle.R:3:3', 'test-gt_text_img.R:3:3',
'test-gt_summary_table.R:25:3', 'test-gtsave_extra.R:4:3',
'test-html-helpers.R:24:3', 'test-icon_fun.R:3:3', 'test-img_header.R:3:3',
'test-two-column-layouts.R:4:3', 'test-two-column-layouts.R:27:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-gt_pct_bar.R:36:3'): gt_pct_bar SVG is created and has specific values ──
`bar_vals` (`actual`) not equal to c(...) (`expected`).
`actual`: NA NA NA NA and 2 more...
`expected`: 0 59.53 99.21 0 59.53 119.06 0 59.53 138.9 0 ...
── Failure ('test-gt_pct_bar.R:38:3'): gt_pct_bar SVG is created and has specific values ──
`bar_colors` (`actual`) not equal to c(...) (`expected`).
actual vs expected
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
+ "FF4343;"
+ "BFBFBF;"
+ "0A1C2B;"
+ "FF4343;"
+ "BFBFBF;"
+ "0A1C2B;"
+ "FF4343;"
+ "BFBFBF;"
+ "0A1C2B;"
+ "FF4343;"
and 2 more ...
── Failure ('test-gt_pct_bar.R:80:3'): gt_pct_bar SVG is created and has specific palette ──
`bar_vals` (`actual`) not equal to c(0, 119.06, 0, 124.02, 0, 85.04, 0, 85.04) (`expected`).
`actual`: NA NA NA NA
`expected`: 0 119.06 0 124.02 0 85.04 0 85.04
── Failure ('test-gt_pct_bar.R:81:3'): gt_pct_bar SVG is created and has specific palette ──
`bar_colors` (`actual`) not equal to c(...) (`expected`).
actual vs expected
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
- "stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke: none; fill: none;"
+ "FF4343;"
+ "BFBFBF;"
+ "FF4343;"
+ "BFBFBF;"
+ "FF4343;"
+ "BFBFBF;"
+ "FF4343;"
+ "BFBFBF;"
── Failure ('test-gt_plt_bar.R:43:3'): gt_plt_bar svg is created and has specific values ──
`bar_vals` (`actual`) not equal to c("90.61", "90.61", "98.37", "92.33", "80.68", "78.10") (`expected`).
`actual`: "100%" "100%" "100%" "100%" "100%" "100%"
`expected`: "90.61" "90.61" "98.37" "92.33" "80.68" "78.10"
── Failure ('test-gt_plt_bar.R:44:3'): gt_plt_bar svg is created and has specific values ──
`bar_neg_vals` (`actual`) not equal to c("49.19", "32.79", "16.40", "16.40", "32.79", "49.19") (`expected`).
`actual`: "100%" "100%" "100%" "100%" "100%" "100%"
`expected`: "49.19" "32.79" "16.40" "16.40" "32.79" "49.19"
── Failure ('test-gt_plt_conf_int.R:25:3'): gt_plt_conf_int generates correct points/text ──
`lab_text` (`actual`) not equal to c("11", "7", "17", "14", "21", "16") (`expected`).
`actual`:
`expected`: "11" "7" "17" "14" "21" "16"
── Failure ('test-gt_plt_conf_int.R:37:3'): gt_plt_conf_int generates correct points/text ──
`ci_tab_style` (`actual`) not equal to rep(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; stroke: #FFFFFF; fill: #000000;', 'stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; stroke: #FFFFFF; fill: #000000;', 'stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; stroke: #FFFFFF; fill: #000000;')
── Failure ('test-gt_plt_conf_int.R:44:3'): gt_plt_conf_int generates correct points/text ──
`ci_tab_svg` (`actual`) not equal to c("29.48", "72.84", "95.20") (`expected`).
`actual` is NULL
`expected` is a character vector ('29.48', '72.84', '95.20')
── Failure ('test-gt_plt_conf_int.R:71:3'): gt_plt_conf_int uses correct points/text/colors ──
`lab_text_pre` (`actual`) not equal to c("16", "8", "15", "5") (`expected`).
`actual`:
`expected`: "16" "8" "15" "5"
── Failure ('test-gt_plt_conf_int.R:83:3'): gt_plt_conf_int uses correct points/text/colors ──
`pre_tab_style` (`actual`) not equal to rep(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; fill: #FF0000;', 'stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 10.00; stroke-width: 1.06; fill: #FF0000;')
── Failure ('test-gt_plt_conf_int.R:90:3'): gt_plt_conf_int uses correct points/text/colors ──
`pre_tab_svg` (`actual`) not equal to c("76.96", "59.39") (`expected`).
`actual` is NULL
`expected` is a character vector ('76.96', '59.39')
── Failure ('test-gt_plt_percentile_dot.R:12:3'): add_pcttile_plot creates a plot ──
`plt15_text` (`actual`) not equal to c("0", "100", "5", "0") (`expected`).
`actual`:
`expected`: "0" "100" "5" "0"
── Failure ('test-gt_plt_percentile_dot.R:61:3'): gt_plt_percentile works as intended ──
`dot_txt` (`actual`) not equal to rep(c("0", "100", "5", "0"), 2) (`expected`).
`actual`:
`expected`: "0" "100" "5" "0" "0" "100" "5" "0"
── Failure ('test-gt_plt_percentile_dot.R:77:3'): gt_plt_percentile works as intended ──
`dot_pts` (`actual`) not equal to `exp_pts` (`expected`).
`actual` is NULL
`expected` is a character vector ('9.66', '#F72E2E', '22.55', '#FF9C8B', '35.43', ...)
── Failure ('test-gt_plt_point.R:11:3'): add_point_plot creates a plot ─────────
`plt15_text` (`actual`) not equal to c("2.0", "90.0") (`expected`).
`actual`:
`expected`: "2.0" "90.0"
── Failure ('test-gt_plt_point.R:59:3'): gt_plt_point works as intended ────────
`dot_txt` (`actual`) not equal to rep(c("1.1M", "2.1M"), 2) (`expected`).
`actual`:
`expected`: "1.1M" "2.1M" "1.1M" "2.1M"
── Failure ('test-gt_plt_point.R:86:3'): gt_plt_point works as intended ────────
`dot_pts` (`actual`) not equal to `exp_pts` (`expected`).
`actual` is NULL
`expected` is a character vector ('8.59', '#F72E2E', '22.01', '#FF9C8B', '35.43', ...)
── Failure ('test-gt_win_loss.R:53:3'): SVG exists and has expected values ─────
`pill_vals` (`actual`) not equal to c(...) (`expected`).
`actual` is NULL
`expected` is a character vector ('8.91', '8.91', '1.89', '8.91', '1.89', ...)
── Failure ('test-gt_win_loss.R:55:3'): SVG exists and has expected values ─────
`square_vals` (`actual`) not equal to c(...) (`expected`).
actual | expected
- "3.26" [1]
- "6.72" [2]
- "10.1" [3]
- "13.6" [4]
- "17.1" [5]
- "20.5" [6]
- "24.0" [7]
- "27.5" [8]
- "30.9" [9]
- "34.4" [10]
── Failure ('test-gt_win_loss.R:127:3'): SVG exists and has expected colors ────
`box_colors` (`actual`) not equal to `exp_box_colors` (`expected`).
`actual` is NULL
`expected` is a character vector ('000000;', '000000;', 'A020F0;', 'A020F0;', '00FF00;', ...)
── Failure ('test-gt_win_loss.R:128:3'): SVG exists and has expected colors ────
`pill_colors` (`actual`) not equal to `exp_pill_colors` (`expected`).
`actual` is NULL
`expected` is a character vector (NA, NA, 'A020F0;', 'A020F0;', '00FF00;', ...)
[ FAIL 22 | WARN 15 | SKIP 23 | PASS 94 ]
Error: Test failures
Execution halted
Flavor: r-release-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.