Skip to content

Commit

Permalink
move unstable lnorm_lnorm with censored data to ssdtests
Browse files Browse the repository at this point in the history
  • Loading branch information
joethorley committed Sep 23, 2024
1 parent c082cee commit 9d09306
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions tests/testthat/test-lnorm-lnorm.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,3 @@ test_that("lnorm_lnorm positive q with extreme large distribution", {
meanlog2 = 100.39362, sdlog2 = 2.583824, pmix = 0.1308133
), 1.41684268426224e+46)
})

test_that("ssd_fit_dists allows for fits without standard errors lnorm_lnorm", {
data <- ssddata::ccme_boron
data$Other <- data$Conc
data$Conc <- data$Conc / max(data$Conc)

set.seed(102)
fits <- ssd_fit_dists(data, right = "Other", dists = c("lnorm_lnorm"))

tidy <- tidy(fits)
expect_s3_class(tidy, "tbl")
expect_snapshot_data(tidy, "lnorm_lnorm_no_se", digits = 3)
})

0 comments on commit 9d09306

Please sign in to comment.