rstudio / rstudio/ggcheck

Check a layer's parameters

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
23
Forks
3
PR merge metrics
No merged PRs in 30d

Description

We would like to be able to check the values of parameters or somehow introspect the layer's params. For e.g. the geom_hist accepts a binwidth , and we'd like to check that they are using the correct value there. Another example is checking if a geom_boxplot is using a specific outlier.alpha (e.g. 0.01).

We would also like to be able check a layer created using a stat_ function, for example the stat_bin for creating a geom_bar where we can also grade the parameters like bins.

Contributor guide

No contributing guide indexed for this repository

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 ggcheck currently inspects ggplot2 layers, focusing on geom_hist, geom_boxplot, geom_bar, and stat_bin. Determine how layer parameters and stat-created layers are represented, then define checks that can compare values such as binwidth, outlier.alpha, and bins; no files or tests are named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization, testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.