tidyverse / tidyverse/ggplot2

Version info stored and can be queries in ggplot object

Open
#6,714 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

internals :mag_right:
Dominant language
R
Stars
7k
Forks
2.1k
Avg merge
59m
Merged PRs (30d)
2

Description

Similar issue to 6637 where old versions of ggplot object does not display correctly.

Please add an item to the ggplot objects with the version of ggplot2 that created them than can be queried by the user. This way, I can alert the user that the saved ggplot object may have to regenerated.

The issue is that the code that generated the data used for the object is long running MCMC program that saves the output to a directory for later usage. These include basic ggplot plots saved for the user to annotate when the program is done using quarto etc.

If the version is saved with the the ggplot object, I can query the plot object and warn the user if a breaking change has occurred.

Thanks
Carl Schwarz
cschwarz.stat.sfu.ca@gmail.com

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining how ggplot objects are created and saved, and how users currently query their contents. Determine where the creating ggplot2 version could be stored without disrupting saved objects, then verify that a saved plot exposes that version and can support warnings about incompatible changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.