Comments (6)
I've tested a little bit and it all seems to work fine with glue 1.6.2 but not 1.7.0.
I think the issue is as follows. ggplot2 throws a special error when facetting columns are absent, like for the geom_hline()
case. This error is then caught and is given special treatment (i.e. it applies to all facets). However, glue now wraps errors (see tidyverse/glue#294) that hide the special ggplot2 error. The special error is still there, but it doesn't get caught as such.
from ggplot2.
Thanks for the report! Did this code used to work (also with geom_hline()
) and no longer does?
from ggplot2.
Yes, it worked previously -- I auto-updated some packages (not sure which ones) and now it no longer works.
from ggplot2.
Thanks that is helpful to know. I can reproduce this on my end, but can I ask you about the versions of R, ggplot2, scales and glue you're using anyway?
from ggplot2.
R version 4.3.2 (2023-10-31)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Big Sur 11.4
...
other attached packages:
[1] ... glue_1.7.0 ggplot2_3.4.4 ...
loaded via a namespace (and not attached):
[1] ... scales_1.3.0 ...
from ggplot2.
@teunbrand Thank you for investigating!
from ggplot2.
Related Issues (20)
- Could guides inherit previous guide code? HOT 1
- Feature request: expose `palette` in discrete position scales HOT 2
- `geom_blank()` should silence 1-row warning
- Could geom's that only require an x or y aesthetic be okay with the other one being NULL? HOT 2
- scale_color_identity - additional NAs in the figure legend HOT 4
- raster map to accept a mannual defined palette and breaks for a continuous variable HOT 4
- To develop a new function gg_barbs to plot wind vectors HOT 2
- Trends over time HOT 1
- Force fill of `panel.border` to be transparent
- `drop = F` works incorrectly for factors in ggplot2 v3.5.0 HOT 1
- `guide_colorsteps()` missbehaving with discrete values after 3.5.0 HOT 2
- geom_dotplot y scale does not seem to be built correctly HOT 3
- geom_ribbon() > geom_area() speed difference HOT 3
- Could a GeomBin2d ggproto object be created? HOT 3
- Update vignette for `geom_text(size.unit)` setting
- geom_violin reporting dropping weight aesthetic when it does not HOT 2
- `geom_qq` evaluated statistics not available to be used in `after_stat` HOT 3
- Cannot remove outliers HOT 2
- errorbar width does not seem able to update with `update_geom_defaults` HOT 4
- Persistent warning when using geom_point suggesting to use annotate HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ggplot2.