This is a non-blocking issue, but one that could be considered in the next update.
When setting a few options, specifically lifecycle_verbosity = "error", we can see that qte uses the deprecated size argument of ggplot2::element_rect():
set.seed(42)
a <- rnorm(25, 1, 1)
b <- rnorm(25, 0, 1)
df <- cbind.data.frame(
measurement = c(a, b),
group = rep.int(0:1, c(length(a), length(b)))
)
res <- qte::ci.qte(formla = measurement ~ group, data = df)
withr::with_options(
list(warnPartialMatchArgs = TRUE,
warnPartialMatchDollar = TRUE,
warnPartialMatchAttr = TRUE,
warn = 2,
lifecycle_verbosity = "error"
), {
print(qte::ggqte(res))
})
Results in the following error message:
Error:
! The `size` argument of `element_rect()` is
deprecated as of ggplot2 3.4.0.
ℹ Please use the `linewidth` argument instead.
This is a non-blocking issue, but one that could be considered in the next update.
When setting a few options, specifically
lifecycle_verbosity = "error", we can see thatqteuses the deprecatedsizeargument ofggplot2::element_rect():Results in the following error message: