-
-
Notifications
You must be signed in to change notification settings - Fork 46
Fix see::plot.see_parameters_model SORT argument not functioning properly #415
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
base: main
Are you sure you want to change the base?
Conversation
|
@IndrajeetPatil 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs. I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review. |
|
@copilot try again |
|
@copilot try again |
Co-authored-by: IndrajeetPatil <[email protected]>
I've identified and fixed the issue with the sort parameter in Root cause:
Fix applied (commit ccbe8d0):
The fix addresses both |
Co-authored-by: IndrajeetPatil <[email protected]>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
| # Test sort = TRUE (should be same as ascending) | ||
| p1 <- plot(result, sort = TRUE) | ||
| expect_s3_class(p1, "gg") | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[air] reported by reviewdog 🐶
| # Test sort = "ascending" | ||
| p2 <- plot(result, sort = "ascending") | ||
| expect_s3_class(p2, "gg") | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[air] reported by reviewdog 🐶
|
Sort ascending means from smallest to largest, right? If so, aren't the new plots wrong? |
|
Ok, I understand it from top to bottom, like reading a page. |

generate_missing_snapshots.Rto generate the missing snapshots in proper environmentGenerate missing vdiffr snapshots for the sort parameter tests(Blocked by environment constraints)Current status: Due to ggplot2 version incompatibility (system has 3.4.4, package requires >= 4.0.0), I cannot generate the snapshots in this environment.
Resolution: Created
generate_missing_snapshots.Rscript that can be run in proper environment to generate:plot-model-parameters-sort-ascending.svgplot-model-parameters-sort-descending.svgThe script should be run from the package root directory in an environment with correct dependencies.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.