You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code on these lines relies on data[, "x"] returning a numeric vector, but for tibble data frames, a data.frame is returned. This could instead be written in a way that doesn't assume coercion to a vector like so:
If the
data
argument is a tibble, I get the errorThe error occurs here:
https://github.com/giscience-fsu/sperrorest/blob/b4d2a1426bfcbb2f5630c6182ff946b926f96e4a/R/sperrorest_resampling.R#L786C21-L786C38
The code on these lines relies on
data[, "x"]
returning a numeric vector, but for tibble data frames, a data.frame is returned. This could instead be written in a way that doesn't assume coercion to a vector like so:Which should work for both
The text was updated successfully, but these errors were encountered: