Closed simonpcouch closed 6 months ago
A whole lot of:
Warning: `direction` should be one of `"less"`, `"left"`, `"greater"`, `"right"`, `"two-sided"`, `"both"`, `"two_sided"`, `"two sided"`, or `"two.sided"`. --- Backtrace: x 1. +-infer:::expect_doppelganger(...) at test-shade_p_value.R:48:3 2. | \-vdiffr::expect_doppelganger(title, fig, ...) at tests/testthat/helper-data.R:5:3 3. | \-vdiffr (local) writer(fig, testcase, title) 4. | \-vdiffr:::print_plot(plot, title) 5. +-testthat::expect_warning(...) 6. | \-testthat:::expect_condition_matching(...) 7. | \-testthat:::quasi_capture(...) 8. | +-testthat (local) .capture(...) 9. | | \-base::withCallingHandlers(...) 10. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 11. \-ggplot2:::`+.gg`(gss_viz_both, shade_p_value(1, "aaa")) 12. \-ggplot2:::add_ggplot(e1, e2, e2name) 13. +-ggplot2::ggplot_add(object, p, objectname) 14. \-infer:::ggplot_add.infer_layer(object, p, objectname) 15. +-base::do.call(paste0(shade_fn, "_term"), args) at infer/R/visualize.R:715:5 16. \-infer:::shade_p_value_term(...) 17. \-cli::cli_warn("`direction` should be one of `\"less\"`, `\"left\"`, `\"greater\"`, \\\n `\"right\"`, `\"two-sided\"`, `\"both\"`, `\"two_sided\"`, `\"two sided\"`, \\\n or `\"two.sided\"`.") at infer/R/shade_p_value.R:169:8
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
A whole lot of: