Package: DRomics Check: examples New result: ERROR Running examples in ‘DRomics-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: RNAseqdata > ### Title: Import, check and normalization and transformation of RNAseq > ### data > ### Aliases: RNAseqdata print.RNAseqdata plot.RNAseqdata > > ### ** Examples > > # (1) import, check, normalization and transformation of RNAseq data > # An example on a subsample of a data set published by Zhou et al. 2017 > # Effect on mouse kidney transcriptomes of tetrachloroethylene > # (see ? Zhou for details) > # > datafilename <- system.file("extdata", "RNAseq_sample.txt", package="DRomics") > (o <- RNAseqdata(datafilename, check = TRUE, transfo.method = "vst")) converting counts to integer mode Error in validObject(.Object) : invalid class “DESeqDataSet” object: superclass "ExpData" not defined in the environment of the object's class Calls: RNAseqdata ... DESeqDataSet -> new -> initialize -> initialize -> validObject Execution halted Package: DRomics Check: re-building of vignette outputs New result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘DRomics_vignette.Rmd’ using rmarkdown Quitting from DRomics_vignette.Rmd:247-250 [ch5] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `validObject()`: ! invalid class "DESeqDataSet" object: superclass "ExpData" not defined in the environment of the object's class --- Backtrace: ▆ 1. └─DRomics::RNAseqdata(RNAseqfilename, transfo.method = "vst") 2. └─DESeq2::varianceStabilizingTransformation(raw.counts) 3. └─DESeq2::DESeqDataSetFromMatrix(...) 4. └─DESeq2::DESeqDataSet(se, design = design, ignoreRank) 5. └─methods::new("DESeqDataSet", se, design = design) 6. ├─methods::initialize(value, ...) 7. └─methods::initialize(value, ...) 8. └─methods::validObject(.Object) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'DRomics_vignette.Rmd' failed with diagnostics: invalid class "DESeqDataSet" object: superclass "ExpData" not defined in the environment of the object's class --- failed re-building ‘DRomics_vignette.Rmd’ SUMMARY: processing the following file failed: ‘DRomics_vignette.Rmd’ Error: Vignette re-building failed. Execution halted Package: ggfixest Check: tests New result: ERROR Running ‘tinytest.R’ [29s/29s] Running the tests in ‘tests/tinytest.R’ failed. Complete output: > ## Throttle CPU threads if R CMD check (for CRAN) > > if (any(grepl("_R_CHECK", names(Sys.getenv()), fixed = TRUE))) { + # fixest + if (requireNamespace("fixest", quietly = TRUE)) { + library(fixest) + setFixest_nthreads(1) + } + + # data.table + if (requireNamespace("data.table", quietly = TRUE)) { + library(data.table) + setDTthreads(1) + } + + # magick + if (requireNamespace("magick", quietly = TRUE)) { + library(magick) + magick:::magick_threads(1) + } + } Linking to ImageMagick 7.1.1.43 Enabled features: fontconfig, freetype, fftw, heic, lcms, raw, webp, x11 Disabled features: cairo, ghostscript, pango, rsvg Using 2 threads [1] 1 > > > # Run tinytest suite > > if ( requireNamespace("tinytest", quietly=TRUE) ){ + + tinytest::test_package("ggfixest") + + } Loading required package: ggplot2 test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 40 tests OK 0.6s test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 1 tests 1 fails test_fixest_multi.R........... 2 tests 2 fails test_fixest_multi.R........... 3 tests 3 fails test_fixest_multi.R........... 3 tests 3 fails test_fixest_multi.R........... 3 tests 3 fails test_fixest_multi.R........... 3 tests 3 fails test_fixest_multi.R........... 4 tests 4 fails test_fixest_multi.R........... 5 tests 5 fails test_fixest_multi.R........... 5 tests 5 fails test_fixest_multi.R........... 5 tests 5 fails test_fixest_multi.R........... 5 tests 5 fails test_fixest_multi.R........... 6 tests 6 fails test_fixest_multi.R........... 7 tests 7 fails 6.3s test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 1 tests 1 fails test_ggcoefplot.R............. 1 tests 1 fails test_ggcoefplot.R............. 1 tests 1 fails test_ggcoefplot.R............. 2 tests 2 fails test_ggcoefplot.R............. 2 tests 2 fails test_ggcoefplot.R............. 3 tests 3 fails test_ggcoefplot.R............. 3 tests 3 fails test_ggcoefplot.R............. 3 tests 3 fails test_ggcoefplot.R............. 4 tests 4 fails test_ggcoefplot.R............. 4 tests 4 fails test_ggcoefplot.R............. 5 tests 5 fails test_ggcoefplot.R............. 5 tests 5 fails test_ggcoefplot.R............. 5 tests 5 fails test_ggcoefplot.R............. 6 tests 6 fails test_ggcoefplot.R............. 6 tests 6 fails test_ggcoefplot.R............. 7 tests 7 fails test_ggcoefplot.R............. 7 tests 7 fails test_ggcoefplot.R............. 8 tests 8 fails test_ggcoefplot.R............. 8 tests 8 fails test_ggcoefplot.R............. 9 tests 9 fails test_ggcoefplot.R............. 9 tests 9 fails test_ggcoefplot.R............. 9 tests 9 fails test_ggcoefplot.R............. 9 tests 9 fails test_ggcoefplot.R............. 10 tests 10 fails test_ggcoefplot.R............. 10 tests 10 fails test_ggcoefplot.R............. 10 tests 10 fails test_ggcoefplot.R............. 11 tests 11 fails test_ggcoefplot.R............. 12 tests 12 fails 6.8s test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 1 tests 1 fails test_ggiplot.R................ 2 tests 2 fails test_ggiplot.R................ 3 tests 3 fails test_ggiplot.R................ 4 tests 4 fails test_ggiplot.R................ 5 tests 5 fails test_ggiplot.R................ 6 tests 6 fails test_ggiplot.R................ 6 tests 6 fails test_ggiplot.R................ 6 tests 6 fails test_ggiplot.R................ 7 tests 7 fails test_ggiplot.R................ 8 tests 8 fails test_ggiplot.R................ 8 tests 8 fails test_ggiplot.R................ 8 tests 8 fails test_ggiplot.R................ 8 tests 8 fails test_ggiplot.R................ 8 tests 8 fails test_ggiplot.R................ 8 tests 8 fails test_ggiplot.R................ 8 tests 8 fails test_ggiplot.R................ 9 tests 9 fails test_ggiplot.R................ 10 tests 10 fails test_ggiplot.R................ 11 tests 11 fails test_ggiplot.R................ 12 tests 12 fails test_ggiplot.R................ 13 tests 13 fails test_ggiplot.R................ 13 tests 13 fails test_ggiplot.R................ 13 tests 13 fails test_ggiplot.R................ 14 tests 14 fails test_ggiplot.R................ 15 tests 15 fails test_ggiplot.R................ 15 tests 15 fails test_ggiplot.R................ 15 tests 15 fails test_ggiplot.R................ 15 tests 15 fails test_ggiplot.R................ 16 tests 16 fails test_ggiplot.R................ 17 tests 17 fails test_ggiplot.R................ 18 tests 18 fails test_ggiplot.R................ 18 tests 18 fails test_ggiplot.R................ 18 tests 18 fails test_ggiplot.R................ 19 tests 19 fails test_ggiplot.R................ 20 tests 20 fails test_ggiplot.R................ 20 tests 20 fails test_ggiplot.R................ 20 tests 20 fails test_ggiplot.R................ 20 tests 20 fails test_ggiplot.R................ 20 tests 20 fails test_ggiplot.R................ 20 tests 20 fails test_ggiplot.R................ 20 tests 20 fails test_ggiplot.R................ 21 tests 21 fails test_ggiplot.R................ 22 tests 22 fails 14.2s test_iplot_data.R............. 0 tests test_iplot_data.R............. 0 tests test_iplot_data.R............. 0 tests test_iplot_data.R............. 0 tests test_iplot_data.R............. 0 tests test_iplot_data.R............. 0 tests test_iplot_data.R............. 0 tests test_iplot_data.R............. 0 tests test_iplot_data.R............. 0 tests test_iplot_data.R............. 0 tests test_iplot_data.R............. 22 tests OK 53ms test_nthreads.R............... 0 tests test_nthreads.R............... 0 tests ----- FAILED[]: test_fixest_multi.R<12--12> call| expect_snapshot_plot(p1a, label = "ggiplot_multi_lhs") diff| 2365 info| Diff plot saved to: _tinysnapshot_review/ggiplot_multi_lhs.png ----- FAILED[]: test_fixest_multi.R<13--13> call| expect_snapshot_plot(p1b, label = "ggiplot_multi_lhs_facet") diff| 2538 info| Diff plot saved to: _tinysnapshot_review/ggiplot_multi_lhs_facet.png ----- FAILED[]: test_fixest_multi.R<14--14> call| expect_snapshot_plot(p1c, label = "ggiplot_multi_lhs_facet_ribbon") diff| 2213 info| Diff plot saved to: _tinysnapshot_review/ggiplot_multi_lhs_facet_ribbon.png ----- FAILED[]: test_fixest_multi.R<20--20> call| expect_snapshot_plot(p2a, label = "ggiplot_multi_csw") diff| 5752 info| Diff plot saved to: _tinysnapshot_review/ggiplot_multi_csw.png ----- FAILED[]: test_fixest_multi.R<21--21> call| expect_snapshot_plot(p2b, label = "ggiplot_multi_csw_facet") diff| 8868 info| Diff plot saved to: _tinysnapshot_review/ggiplot_multi_csw_facet.png ----- FAILED[]: test_fixest_multi.R<27--27> call| expect_snapshot_plot(p3a, label = "ggiplot_multi_lhs_csw") diff| 8535 info| Diff plot saved to: _tinysnapshot_review/ggiplot_multi_lhs_csw.png ----- FAILED[]: test_fixest_multi.R<28--28> call| expect_snapshot_plot(p3b, label = "ggiplot_multi_lhs_csw_facet") diff| 9302 info| Diff plot saved to: _tinysnapshot_review/ggiplot_multi_lhs_csw_facet.png ----- FAILED[]: test_ggcoefplot.R<17--17> call| expect_snapshot_plot(p, label = "ggcoefplot_simple") diff| 2517 info| Diff plot saved to: _tinysnapshot_review/ggcoefplot_simple.png ----- FAILED[]: test_ggcoefplot.R<24--24> call| expect_snapshot_plot(p_i1, label = "ggcoefplot_interactions") diff| 2687 info| Diff plot saved to: _tinysnapshot_review/ggcoefplot_interactions.png ----- FAILED[]: test_ggcoefplot.R<26--26> call| expect_snapshot_plot(p_i2, label = "ggcoefplot_interactions_multici") diff| 2616 info| Diff plot saved to: _tinysnapshot_review/ggcoefplot_interactions_multici.png ----- FAILED[]: test_ggcoefplot.R<33--33> call| expect_snapshot_plot(p_multi, label = "ggcoefplot_multi") diff| 3499 info| Diff plot saved to: _tinysnapshot_review/ggcoefplot_multi.png ----- FAILED[]: test_ggcoefplot.R<35--35> call| expect_snapshot_plot(p_multi_facet, label = "ggcoefplot_multi_facet") diff| 3417 info| Diff plot saved to: _tinysnapshot_review/ggcoefplot_multi_facet.png ----- FAILED[]: test_ggcoefplot.R<44--44> call| expect_snapshot_plot(p_grp1, label = "ggcoefplot_group_none") diff| 2843 info| Diff plot saved to: _tinysnapshot_review/ggcoefplot_group_none.png ----- FAILED[]: test_ggcoefplot.R<46--46> call| expect_snapshot_plot(p_grp2, label = "ggcoefplot_group_nonames") diff| 2795 info| Diff plot saved to: _tinysnapshot_review/ggcoefplot_group_nonames.png ----- FAILED[]: test_ggcoefplot.R<48--48> call| expect_snapshot_plot(p_grp3, label = "ggcoefplot_groupnames") diff| 2795 info| Diff plot saved to: _tinysnapshot_review/ggcoefplot_groupnames.png ----- FAILED[]: test_ggcoefplot.R<50--50> call| expect_snapshot_plot(p_grp4, label = "ggcoefplot_group_names_prefix") diff| 2643 info| Diff plot saved to: _tinysnapshot_review/ggcoefplot_group_names_prefix.png ----- FAILED[]: test_ggcoefplot.R<58--58> call| expect_snapshot_plot(p_did, label = "ggcoefplot_did") diff| 1138 info| Diff plot saved to: _tinysnapshot_review/ggcoefplot_did.png ----- FAILED[]: test_ggcoefplot.R<66--66> call| expect_snapshot_plot(p_did_iid_summ, label = "ggcoefplot_did_iid") diff| 1139 info| Diff plot saved to: _tinysnapshot_review/ggcoefplot_did_iid.png ----- FAILED[]: test_ggcoefplot.R<67--67> call| expect_snapshot_plot(p_did_iid, label = "ggcoefplot_did_iid") diff| 1139 info| Diff plot saved to: _tinysnapshot_review/ggcoefplot_did_iid.png ----- FAILED[]: test_ggiplot.R<50--50> call| expect_snapshot_plot(p1, label = "ggiplot_simple") diff| 2315 info| Diff plot saved to: _tinysnapshot_review/ggiplot_simple.png ----- FAILED[]: test_ggiplot.R<51--51> call| expect_snapshot_plot(p2, label = "ggiplot_simple_errorbar") diff| 2314 info| Diff plot saved to: _tinysnapshot_review/ggiplot_simple_errorbar.png ----- FAILED[]: test_ggiplot.R<52--52> call| expect_snapshot_plot(p3, label = "ggiplot_simple_ribbon") diff| 1728 info| Diff plot saved to: _tinysnapshot_review/ggiplot_simple_ribbon.png ----- FAILED[]: test_ggiplot.R<53--53> call| expect_snapshot_plot(p4, label = "ggiplot_simple_mci") diff| 2298 info| Diff plot saved to: _tinysnapshot_review/ggiplot_simple_mci.png ----- FAILED[]: test_ggiplot.R<54--54> call| expect_snapshot_plot(p5, label = "ggiplot_simple_mci_ribbon") diff| 1784 info| Diff plot saved to: _tinysnapshot_review/ggiplot_simple_mci_ribbon.png ----- FAILED[]: test_ggiplot.R<55--55> call| expect_snapshot_plot(p6, label = "ggiplot_list") diff| 4119 info| Diff plot saved to: _tinysnapshot_review/ggiplot_list.png ----- FAILED[]: test_ggiplot.R<71--71> call| expect_snapshot_plot(p7, label = "ggiplot_stagg_mci") diff| 2379 info| Diff plot saved to: _tinysnapshot_review/ggiplot_stagg_mci.png ----- FAILED[]: test_ggiplot.R<72--72> call| expect_snapshot_plot(p8, label = "ggiplot_stagg_mci_ribbon") diff| 5502 info| Diff plot saved to: _tinysnapshot_review/ggiplot_stagg_mci_ribbon.png ----- FAILED[]: test_ggiplot.R<102--102> call| expect_snapshot_plot(p9, label = "ggiplot_multi_single") diff| 6928 info| Diff plot saved to: _tinysnapshot_review/ggiplot_multi_single.png ----- FAILED[]: test_ggiplot.R<103--103> call| expect_snapshot_plot(p10, label = "ggiplot_multi_single_unnamed") diff| 5893 info| Diff plot saved to: _tinysnapshot_review/ggiplot_multi_single_unnamed.png ----- FAILED[]: test_ggiplot.R<104--104> call| expect_snapshot_plot(p11, label = "ggiplot_multi_single_ribbon") diff| 9005 info| Diff plot saved to: _tinysnapshot_review/ggiplot_multi_single_ribbon.png ----- FAILED[]: test_ggiplot.R<105--105> call| expect_snapshot_plot(p12, label = "ggiplot_multi_single_kitchen") diff| 9467 info| Diff plot saved to: _tinysnapshot_review/ggiplot_multi_single_kitchen.png ----- FAILED[]: test_ggiplot.R<106--106> call| expect_snapshot_plot(p13, label = "ggiplot_multi_single_kitchen_ribbon") diff| 10938 info| Diff plot saved to: _tinysnapshot_review/ggiplot_multi_single_kitchen_ribbon.png ----- FAILED[]: test_ggiplot.R<122--122> call| expect_snapshot_plot(p14, label = "ggiplot_multi_facet") diff| 11562 info| Diff plot saved to: _tinysnapshot_review/ggiplot_multi_facet.png ----- FAILED[]: test_ggiplot.R<123--123> call| expect_snapshot_plot(p15, label = "ggiplot_multi_facet_ribbon") diff| 12876 info| Diff plot saved to: _tinysnapshot_review/ggiplot_multi_facet_ribbon.png ----- FAILED[]: test_ggiplot.R<153--153> call| expect_snapshot_plot(p16, label = "ggiplot_multi_complex") diff| 15285 info| Diff plot saved to: _tinysnapshot_review/ggiplot_multi_complex.png ----- FAILED[]: test_ggiplot.R<154--154> call| expect_snapshot_plot(p17, label = "ggiplot_multi_complex_mci") diff| 15167 info| Diff plot saved to: _tinysnapshot_review/ggiplot_multi_complex_mci.png ----- FAILED[]: test_ggiplot.R<155--155> call| expect_snapshot_plot(p18, label = "ggiplot_multi_complex_kitchen") diff| 14927 info| Diff plot saved to: _tinysnapshot_review/ggiplot_multi_complex_kitchen.png ----- FAILED[]: test_ggiplot.R<192--192> call| expect_snapshot_plot(p19a, label = "ggiplot_multi_complex_kitchen_iid") diff| 14868 info| Diff plot saved to: _tinysnapshot_review/ggiplot_multi_complex_kitchen_iid.png ----- FAILED[]: test_ggiplot.R<193--193> call| expect_snapshot_plot(p19b, label = "ggiplot_multi_complex_kitchen_iid") diff| 14868 info| Diff plot saved to: _tinysnapshot_review/ggiplot_multi_complex_kitchen_iid.png ----- FAILED[]: test_ggiplot.R<206--206> call| expect_snapshot_plot(p20a, label = "ggiplot_multi_sw_pt_join1") diff| 8467 info| Diff plot saved to: _tinysnapshot_review/ggiplot_multi_sw_pt_join1.png ----- FAILED[]: test_ggiplot.R<207--207> call| expect_snapshot_plot(p20b, label = "ggiplot_multi_sw_pt_join2") diff| 8676 info| Diff plot saved to: _tinysnapshot_review/ggiplot_multi_sw_pt_join2.png Error: 41 out of 103 tests failed Execution halted Package: gtExtras Check: tests New result: ERROR Running ‘testthat.R’ [37s/18s] 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 Package: parttree Check: tests New result: ERROR Running ‘tinytest.R’ [3s/3s] Running the tests in ‘tests/tinytest.R’ failed. Complete output: > > if ( requireNamespace("tinytest", quietly=TRUE) ){ + Sys.setenv("OMP_THREAD_LIMIT" = 2) # https://github.com/Rdatatable/data.table/issues/5658 + tinytest::test_package("parttree") + } test_ctree.R.................. 0 tests Loading required package: partykit Loading required package: grid Loading required package: libcoin Loading required package: mvtnorm test_ctree.R.................. 1 tests OK 0.9s Loading required package: mlr3 test_mlr3.R................... 2 tests OK 0.4s test_rpart.R.................. 0 tests test_rpart.R.................. 0 tests test_rpart.R.................. 0 tests test_rpart.R.................. 0 tests test_rpart.R.................. 0 tests test_rpart.R.................. 0 tests test_rpart.R.................. 1 tests 1 fails test_rpart.R.................. 1 tests 1 fails test_rpart.R.................. 1 tests 1 fails test_rpart.R.................. 2 tests 1 fails test_rpart.R.................. 3 tests 1 fails test_rpart.R.................. 3 tests 1 fails test_rpart.R.................. 3 tests 1 fails test_rpart.R.................. 3 tests 1 fails test_rpart.R.................. 4 tests 2 fails test_rpart.R.................. 4 tests 2 fails test_rpart.R.................. 4 tests 2 fails test_rpart.R.................. 5 tests 2 fails test_rpart.R.................. 5 tests 2 fails test_rpart.R.................. 5 tests 2 fails test_rpart.R.................. 5 tests 2 fails test_rpart.R.................. 5 tests 2 fails test_rpart.R.................. 6 tests 3 fails test_rpart.R.................. 6 tests 3 fails test_rpart.R.................. 6 tests 3 fails test_rpart.R.................. 7 tests 3 fails 0.9s test_tidymodels.R............. 0 tests Loading required package: tidymodels test_tidymodels.R............. 0 tests test_tidymodels.R............. 0 tests Loading required package: tidymodels test_tidymodels.R............. 0 tests 4ms ----- FAILED[]: test_rpart.R<18--18> call| expect_snapshot_plot(f, label = "iris_classification") diff| 230 info| Diff plot saved to: _tinysnapshot_review/iris_classification.png ----- FAILED[]: test_rpart.R<52--52> call| expect_snapshot_plot(f, label = "iris_classification_flip") diff| 283 info| Diff plot saved to: _tinysnapshot_review/iris_classification_flip.png ----- FAILED[]: test_rpart.R<71--71> call| expect_snapshot_plot(f, label = "iris_regression") diff| 7854 info| Diff plot saved to: _tinysnapshot_review/iris_regression.png Error: 3 out of 10 tests failed In addition: Warning messages: 1: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : there is no package called 'tidymodels' 2: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : there is no package called 'tidymodels' Execution halted