Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locally failing tests #496

Open
Yuri05 opened this issue Jan 26, 2024 · 0 comments
Open

Locally failing tests #496

Yuri05 opened this issue Jan 26, 2024 · 0 comments
Labels
type: bug Something isn't working

Comments

@Yuri05
Copy link
Member

Yuri05 commented Jan 26, 2024

On my local windows installation, 3 snapshot tests fail (tlf 1.5.159)

Session info

> sessionInfo()
R version 4.2.2 (2022-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)

Matrix products: default

locale:
[1] LC_COLLATE=German_Germany.1252  LC_CTYPE=German_Germany.1252    LC_MONETARY=German_Germany.1252
[4] LC_NUMERIC=C                    LC_TIME=German_Germany.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] tlf_1.5.159    testthat_3.2.1

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.11           vdiffr_1.0.7          pillar_1.8.1          compiler_4.2.2        tools_4.2.2          
 [6] sysfonts_0.8.8        jsonlite_1.8.7        lifecycle_1.0.3       tibble_3.1.8          gtable_0.3.1         
[11] pkgconfig_2.0.3       rlang_1.1.1           cli_3.6.1             rstudioapi_0.14       diffobj_0.3.5        
[16] patchwork_1.1.2       commonmark_1.9.0      xfun_0.41             xml2_1.3.3            withr_2.5.0          
[21] dplyr_1.1.0           showtextdb_3.0        stringr_1.5.0         systemfonts_1.0.4     ospsuite.utils_1.5.30
[26] generics_0.1.3        desc_1.4.2            vctrs_0.6.3           cowplot_1.1.1         gridtext_0.1.5       
[31] ggtext_0.1.2          rprojroot_2.0.3       grid_4.2.2            tidyselect_1.2.0      glue_1.6.2           
[36] R6_2.5.1              textshaping_0.3.6     fansi_1.0.4           waldo_0.5.2           farver_2.1.1         
[41] ggplot2_3.4.3         magrittr_2.0.3        scales_1.2.1          showtext_0.9-6        colorspace_2.1-0     
[46] ragg_1.2.5            labeling_0.4.2        utf8_1.2.3            stringi_1.7.12        munsell_0.5.0        
[51] crayon_1.5.2          markdown_1.12         brio_1.1.3           

Failing tests
== Failed tests =========================================================================================================
-- Failure (test-plot-grid.R:47:3): plots grid is rendered correctly -----------
Snapshot of `testcase` to 'plot-grid/plotgrid-works-as-expected.svg' has changed
Run `testthat::snapshot_review('plot-grid/')` to review changes
Backtrace:
    x
 1. \-vdiffr::expect_doppelganger(...) at test-plot-grid.R:47:2
 2.   +-base::withCallingHandlers(...)
 3.   \-testthat::expect_snapshot_file(...)
-- Failure (test-plot-grid.R:104:3): Plot Grid can have very long texts and contain plots with very long titles --
Snapshot of `testcase` to 'plot-grid/long-labels-in-plotgrid.svg' has changed
Run `testthat::snapshot_review('plot-grid/')` to review changes
Backtrace:
    x
 1. \-vdiffr::expect_doppelganger("long labels in plotgrid", fig = plotGrid(plotGridObj)) at test-plot-grid.R:104:2
 2.   +-base::withCallingHandlers(...)
 3.   \-testthat::expect_snapshot_file(...)
-- Failure (test-plot-timeprofile.R:84:3): plotTimeProfile works with dual axis --
Snapshot of `testcase` to 'plot-timeprofile/double-axis-timeprofile.svg' has changed
Run `testthat::snapshot_review('plot-timeprofile/')` to review changes
Backtrace:
    x
 1. \-vdiffr::expect_doppelganger(...) at test-plot-timeprofile.R:84:2
 2.   +-base::withCallingHandlers(...)
 3.   \-testthat::expect_snapshot_file(...)

[ FAIL 3 | WARN 2719 | SKIP 0 | PASS 354 ]
@Yuri05 Yuri05 added the type: bug Something isn't working label Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant