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
data<-ssddata::ccme_borondata$Weight<-1data$Weight[rank(data$Conc) >6] <-0
expect_error(ssd_fit_dists(data, dists="lnorm", weight="Weight"),
"^`data` has 22 rows with zero weight in 'Weight'\\.$")
data$Weight[rank(data$Conc) >6] <--1
expect_error(ssd_fit_dists(data, dists="lnorm", weight="Weight"),
"^`data\\$Weight` must have values between 0 and Inf\\.$")
data$Weight[rank(data$Conc) >6] <-Inf
expect_warning(expect_error(ssd_fit_dists(data, dists="lnorm", weight="Weight"),
"^All distributions failed to fit\\.$"))
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: