Hiya! I got a warning message that asked if I could raise this as an issue, so here goes:
Warning message:
The size argument of element_line() is deprecated as of
ggplot2 3.4.0.
ℹ Please use the linewidth argument instead.
ℹ The deprecated feature was likely used in the patchwork
package.
Please report the issue at
https://github.com/thomasp85/patchwork/issues.
This warning is displayed once every 8 hours.
Call lifecycle::last_lifecycle_warnings() to see where this
warning was generated.
after running the lifecycle code I get:
[[1]]
<warning/lifecycle_warning_deprecated>
Warning:
The size argument of element_line() is deprecated as of
ggplot2 3.4.0.
ℹ Please use the linewidth argument instead.
ℹ The deprecated feature was likely used in the patchwork
package.
Please report the issue at
https://github.com/thomasp85/patchwork/issues.
Backtrace:
▆
- ├─base::plot(layout)
- └─patchwork:::plot.patch_area(layout)
- ├─ggplot2::theme(...)
- │ └─ggplot2:::find_args(..., complete = NULL, validate = NULL)
- │ └─base::mget(args, envir = env)
- └─ggplot2::element_line(size = 0.5, colour = "grey")
-
└─ggplot2:::deprecate_warn0("3.4.0", "element_line(size)", "element_line(linewidth)")
This was the code I ran to generate the error:
layout<-c(
area(t=1,l=1,b=1,r=1),
area(t=2,l=1,b=2,r=1),
area(t=3,l=1,b=3,r=1),
area(t=1,l=2,b=3,r=2)
)
plot(layout)
Hiya! I got a warning message that asked if I could raise this as an issue, so here goes:
Warning message:
The
sizeargument ofelement_line()is deprecated as ofggplot2 3.4.0.
ℹ Please use the
linewidthargument instead.ℹ The deprecated feature was likely used in the patchwork
package.
Please report the issue at
https://github.com/thomasp85/patchwork/issues.
This warning is displayed once every 8 hours.
Call
lifecycle::last_lifecycle_warnings()to see where thiswarning was generated.
after running the lifecycle code I get:
[[1]]
<warning/lifecycle_warning_deprecated>
Warning:
The
sizeargument ofelement_line()is deprecated as ofggplot2 3.4.0.
ℹ Please use the
linewidthargument instead.ℹ The deprecated feature was likely used in the patchwork
package.
Please report the issue at
https://github.com/thomasp85/patchwork/issues.
Backtrace:
▆
This was the code I ran to generate the error:
layout<-c(
area(t=1,l=1,b=1,r=1),
area(t=2,l=1,b=2,r=1),
area(t=3,l=1,b=3,r=1),
area(t=1,l=2,b=3,r=2)
)
plot(layout)