Skip to content

Commit 13b7a78

Browse files
authored
Add missing arrow.fill argument (#2605)
Fixes revdep failures in ggdag and ggtree
1 parent 8c89138 commit 13b7a78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/geom-curve.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ geom_curve <- function(mapping = NULL, data = NULL,
4242
GeomCurve <- ggproto("GeomCurve", GeomSegment,
4343
default_aes = aes(colour = "black", size = 0.5, linetype = 1, alpha = NA),
4444
draw_panel = function(data, panel_params, coord, curvature = 0.5, angle = 90,
45-
ncp = 5, arrow = NULL, arrow.fill, lineend = "butt", na.rm = FALSE) {
45+
ncp = 5, arrow = NULL, arrow.fill = NULL, lineend = "butt", na.rm = FALSE) {
4646

4747
if (!coord$is_linear()) {
4848
warning("geom_curve is not implemented for non-linear coordinates",

0 commit comments

Comments
 (0)