geomtextpath
geomtextpath copied to clipboard
Partial match of 'xoff' to 'xoffset'
Running the following:
withr::with_options(list(
warnPartialMatchDollar = TRUE, warn = 2
), {
plt <- attitude |>
ggplot2::ggplot(ggplot2::aes(x = rating, y = complaints)) +
ggplot2::geom_point() +
geomtextpath::geom_textsegment(
x = 80,
y = 80,
xend = 50,
yend = 50,
label = "Test"
)
print(plt)
})
...leads to the following error:
Error in label$xoff :
(converted from warning) partial match of 'xoff' to 'xoffset'