- using R Under development (unstable) (2025-05-13 r88200)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 19.1.7 (3)
Debian flang-new version 19.1.7 (3)
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘gtExtras/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘gtExtras’ version ‘0.5.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [2s/3s] OK
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘gtExtras’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [2s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the package can be unloaded cleanly ... [1s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/3s] OK
- checking loading without being on the library search path ... [2s/2s] OK
- checking whether startup messages can be suppressed ... [2s/3s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [18s/24s] OK
- checking Rd files ... [1s/2s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking R/sysdata.rda ... OK
- checking examples ... [3s/3s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [61s/32s] 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_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
- checking PDF version of manual ... [9s/12s] OK
- checking HTML version of manual ... [4s/8s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR