stefanedwards / lemon

🍋 Lemon --- Freshing up your ggplots
https://cran.r-project.org/package=lemon
GNU General Public License v3.0
180 stars 11 forks source link

Invalid line type in geom_pointpath #21

Closed stefanedwards closed 1 year ago

stefanedwards commented 4 years ago

Paul Murrel wrote 24. feb. 2020

For the record, fixing that then exposes an error in example(geom_pointpath) "invalid line type", which appears to come from NAs in the last row of 'df' within GeomPointPath$draw_panel(), which appears to come from ...

df <- within(munched[munched$length > threshold,]

... because the last value in munched$length is NA. Unfortunately, this is too deep for me to fix.

stefanedwards commented 1 year ago

Fixed with d013a187.