goodekat / ggResidpanel

An R package for creating a panel of diagnostic plots for residuals from a model.
Other
36 stars 3 forks source link

qqbands=TRUE results in "could not find function check_linewidth" #16

Closed jarad closed 1 year ago

jarad commented 1 year ago

Recently introduced bug when using qqbands=TRUE results in "could not find function check_linewidth". MWE resulting in error is

library("ggResidpanel")
n <- 100
x <- runif(n)
y <- rnorm(n, x)
m <- lm(x~y)
resid_panel(m, qqbands = TRUE)
jarad commented 1 year ago

Looks like this is a bug in the package qqplotr.

goodekat commented 1 year ago

@jarad Hi Jarad -- Finally getting the chance to look into this. I'm not getting an error on my end when I run your example. Do you still get an error when you run the example? I tried with both the CRAN and GitHub versions of ggResidpanel.

jarad commented 1 year ago

Update to ggplot2 v3.4.0 appears to have resolved the issue.