Skip to content

Commit

Permalink
Trying to remove asbio suggests
Browse files Browse the repository at this point in the history
  • Loading branch information
droglenc committed Jul 25, 2019
1 parent c133f39 commit 59523a6
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 12 deletions.
1 change: 0 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ Imports:
sciplot,
withr
Suggests:
asbio,
DescTools,
fishmethods,
FSAdata,
Expand Down
2 changes: 1 addition & 1 deletion R/dunnTest.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#'
#' The results from \code{DunnTest} match the results (in a different format) from the \code{\link[dunn.test]{dunn.test}} function from \pkg{dunn.test}.
#'
#' The \code{\link[asbio]{pairw.kw}} function from the \pkg{asbio} package performs the Dunn test with the Bonferroni correction. The \code{\link[asbio]{pairw.kw}} also provides a confidence interval for the difference in mean ranks between pairs of groups. The p-value results from \code{DunnTest} match the results from \code{\link[asbio]{pairw.kw}}.
#' The \code{pairw.kw} function from the \pkg{asbio} package performs the Dunn test with the Bonferroni correction. The \code{pairw.kw} also provides a confidence interval for the difference in mean ranks between pairs of groups. The p-value results from \code{DunnTest} match the results from \code{pairw.kw}.
#'
#' The \code{\link[PMCMR]{posthoc.kruskal.nemenyi.test}} function from the \pkg{PMCMR} package uses the \dQuote{Nemenyi} (1963) method of multiple comparisons.
#'
Expand Down
2 changes: 1 addition & 1 deletion man/dunnTest.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 0 additions & 9 deletions tests/testthat/testthat_dunnTest.R
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,3 @@ test_that("dunnTest matches dunn.test results for airquality data",{
}
} # end require()
})

test_that("dunnTest matches pairw.kw results",{
if (require(asbio)) {
## unadjusted p-values
tmp <- dunnTest(pH~fpond,data=ponds,method="bonferroni")$res$P.adj
tmp2 <- fact2num(pairw.kw(ponds$pH,ponds$fpond)$summary$'Adj. P-value')
expect_equivalent(round(tmp,6),tmp2)
} # end require()
})

0 comments on commit 59523a6

Please sign in to comment.